[LLVMdev] linux build problem

John Regehr regehr at cs.utah.edu
Mon Jan 19 17:34:13 PST 2009


Since yesterday I've been getting the error below when building llvm-gcc 
on Ubuntu Hardy on x86.   For some reason, several instances of autoconf 
are getting confused and failing to detect a stdlib.h.

John


/home/regehr/z/tmp/llvm-gcc-r62547-src/build/./prev-gcc/xgcc 
-B/home/regehr/z/tmp/llvm-gcc-r62547-src/build/./prev-gcc/ 
-B/home/regehr/z/tmp/llvm-gcc-r62547-install/i686-pc-linux-gnu/bin/ -c 
-DHAVE_CONFIG_H -O2 -g -fomit-frame-pointer -I. 
-I../../libiberty/../include  -W -Wall -pedantic -Wwrite-strings 
-Wstrict-prototypes -Wc++-compat ../../libiberty/cplus-dem.c -o cplus-dem.o
no
checking for ldfcn.h... ../../libiberty/cplus-dem.c:55: warning: 
function declaration isn’t a prototype
../../libiberty/cplus-dem.c:55: error: conflicting types for ‘malloc’



More information about the llvm-dev mailing list