Syed Shabir Zakiullah <[EMAIL PROTECTED]> writes:

> While building gcc-3.4.3 I am getting following error during make stage. 
> 
> ../../../libiberty/cplus-dem.c:55: error: conflicting types for 'malloc'
> ../../../libiberty/cplus-dem.c:55: error: conflicting types for 'malloc'
> ../../../libiberty/cplus-dem.c: In function `code_for_qualifier':
> ../../../libiberty/cplus-dem.c:630: warning: implicit declaration of function 
> `abort'
> ../../../libiberty/cplus-dem.c: In function `squangle_mop_up':
> ../../../libiberty/cplus-dem.c:1154: warning: implicit declaration of 
> function 
> `free'
> ../../../libiberty/cplus-dem.c: In function `demangle_qualified':
> ../../../libiberty/cplus-dem.c:3310: warning: implicit declaration of 
> function 
> `atoi'
> make: *** [cplus-dem.o] Error 1
> 
> 
> Can any one help me to fix this error, I searched net but didnot find any 
> information on this. BTW: I am using Glibc-2.3.4 with NPTL+LinuxThreads.

For some reason the libiberty configure script thinks that you don't
have <stdlib.h> on your system.  There should be a file named
something like libiberty/config.log; look at that to see if you see
any errors related to <stdlib.h>.

Ian

Reply via email to