ddio / gperftools

Automatically exported from code.google.com/p/gperftools
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Can't compile on debian lenny i386 #185

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Source code just updated and can't compile it on Debian Lenny i386
(./configure --enable-minimal and without):

In file included from src/symbolize.cc:37:
src/symbolize.h:45: error: ‘uintptr_t’ was not declared in this scope
src/symbolize.h:45: error: template argument 1 is invalid
src/symbolize.h:45: error: template argument 3 is invalid
src/symbolize.h:45: error: template argument 4 is invalid
src/symbolize.h:45: error: invalid type in declaration before ‘;’ token
src/symbolize.cc: In function ‘bool Symbolize(char*, int, SymbolMap*)’:
src/symbolize.cc:134: error: expected initializer before ‘iter’
src/symbolize.cc:135: error: ‘iter’ was not declared in this scope
src/symbolize.cc:135: error: request for member ‘end’ in ‘*
symbolization_table’, which is of non-class type ‘int’
src/symbolize.cc:168: error: expected initializer before ‘fill’
src/symbolize.cc:172: error: ‘fill’ was not declared in this scope
make: *** [libtcmalloc_minimal_internal_la-symbolize.lo] Error 1

Regards
Frederic

Original issue reported on code.google.com by fredericsmailbox on 5 Nov 2009 at 6:05

GoogleCodeExporter commented 9 years ago
This is taken from svn head, I take it?  You're right there's a missing header. 
 I'll
get that fixed up.

In the meantime, running from the latest released version should work ok.  You 
can
also fix this bug by just #including <stdint.h> in symbolize.h.

Original comment by csilv...@gmail.com on 5 Nov 2009 at 7:12

GoogleCodeExporter commented 9 years ago
This should be fixed in perftools 1.5, just released.

Original comment by csilv...@gmail.com on 20 Jan 2010 at 11:09