error: conflicting types for ‘malloc’
Posted: Wed Dec 14, 2011 6:59 pm
The subject basically says it all, I'm compiling binutils 2.9.1 and when I configure it I get the following error and I have googled it and have found nothing
thoughts?
Code: Select all
../../binutils-2.8.1/binutils/../libiberty/cplus-dem.c: At top level:
../../binutils-2.8.1/binutils/../libiberty/cplus-dem.c:3039:8: error: conflicting types for ‘malloc’
../../binutils-2.8.1/binutils/../libiberty/cplus-dem.c:3040:8: warning: conflicting types for built-in function ‘realloc’ [enabled by default]
make[1]: *** [cplus-dem.o] Error 1
make[1]: Leaving directory `/usr/src/build-binutils/binutils'
make: *** [all-binutils] Error 2