[LLVMdev] build error

Simon Burton simon at arrowtheory.com
Mon Aug 7 19:01:00 PDT 2006


>From CVS:

llvm[3]: Compiling SJLJ-Exception.cpp for Debug build (bytecode)
SJLJ-Exception.cpp:16:19: cstdlib: No such file or directory
SJLJ-Exception.cpp:17:19: cassert: No such file or directory
SJLJ-Exception.cpp: In function `void SJLJDestructor(llvm_exception*)':
SJLJ-Exception.cpp:43: error: `free' undeclared (first use this function)
SJLJ-Exception.cpp:43: error: (Each undeclared identifier is reported only once for each function it appears in.)
SJLJ-Exception.cpp: In function `void __llvm_sjljeh_throw_longjmp(void*, int)':
SJLJ-Exception.cpp:53: error: `malloc' undeclared (first use this function)
SJLJ-Exception.cpp: In function `void __llvm_sjljeh_destroy_setjmpmap(void**)':
SJLJ-Exception.cpp:78: error: `free' undeclared (first use this function)
SJLJ-Exception.cpp: In function `void __llvm_sjljeh_add_setjmp_to_map(void**, void*, unsigned int)':
SJLJ-Exception.cpp:96: error: `malloc' undeclared (first use this function)
SJLJ-Exception.cpp: In function `unsigned int __llvm_sjljeh_try_catching_longjmp_exception(void**)':
SJLJ-Exception.cpp:138: error: `free' undeclared (first use this function)

$ gcc --version
gcc (GCC) 3.3.5 (Debian 1:3.3.5-12)

Simon.


-- 
Simon Burton, B.Sc.
Licensed PO Box 8066
ANU Canberra 2601
Australia
Ph. 61 2 6249 6940
http://arrowtheory.com 




More information about the llvm-dev mailing list