This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Error while building gcc-3.4.3 !
- From: Ian Lance Taylor <ian at airs dot com>
- To: syed dot shabir at gmail dot com
- Cc: gcc at gcc dot gnu dot org
- Date: 18 Feb 2005 11:16:14 -0500
- Subject: Re: Error while building gcc-3.4.3 !
- References: <200502181246.12389.syed.shabir@gmail.com>
Syed Shabir Zakiullah <syed.shabir@gmail.com> 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