[LLVMdev] GCC 3.4.1 and conflicting types for 'malloc'

Chris Lattner sabre at nondot.org
Sat Mar 12 12:18:43 PST 2005


On Sat, 12 Mar 2005, xavier wrote:
> llvm[2]: Compiling zalloc.c for Release build
> /homes/myuser/LLVM/llvmobj/../llvmsrc/utils/Burg/zalloc.c:9: error: conflictin
> g types for 'malloc'
> /homes/myuser/LLVM/llvmobj/../llvmsrc/utils/Burg/zalloc.c:9: error: conflictin
> g types for 'malloc'
> gmake[2]: *** [/homes/myuser/LLVM/llvmobj/utils/Burg/Release/zalloc.o] Error 1
> gmake[2]: Leaving directory `/homes/myuser/LLVM/llvmobj/utils/Burg'
> gmake[1]: *** [all] Error 1
> gmake[1]: Leaving directory `/homes/myuser/LLVM/llvmobj/utils'
> ========================
>
> Any help on this will be greatly appreciated

Ok, that is very wierd: line 9 is: fatal(const char *name, int line)

Are you using an up-to-date check out from CVS or LLVM 1.4?  Can you send 
the output of "make VERBOSE=1" in that directory?

-Chris

-- 
http://nondot.org/sabre/
http://llvm.cs.uiuc.edu/




More information about the llvm-dev mailing list