[LLVMdev] build error

Reid Spencer rspencer at reidspencer.com
Mon Aug 7 19:36:01 PDT 2006


Hi Simon,

What version of llvm-gcc did you configure LLVM with?  If you don't
know, please send your configure.out file from your LLVM_OBJ_ROOT

Thanks,

Reid.

On Tue, 2006-08-08 at 12:01 +1000, Simon Burton wrote:
> >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.
> 
> 




More information about the llvm-dev mailing list