Build problem
Kresten Krab Thorup
krab@yl.is.s.u-tokyo.ac.jp
Thu Jul 8 00:31:00 GMT 1999
When I try to build libgcj, I get an error
Undefined first referenced
symbol in file
__builtin_new .libs/libgcj.so
terminate(void) .libs/libgcj.so
ld: fatal: Symbol referencing errors. No output written to .libs/jv-convert
collect2: ld returned 1 exit status
So __builtin_new and terminate(void) are undefined. I see in the
changelog that __builtin_new was removed a while ago.
I'm compiling this with the latest egcs.
The problem only appears one place, in posix-threads.cc. The
__builtin_new is generated for the code
void
_Jv_ThreadInitData (_Jv_Thread_t **data, java::lang::Thread *)
{
_Jv_Thread_t *info = new _Jv_Thread_t;
info->flags = 0;
info->exception = NULL;
...
So, what am I doing wrong?
Thanx!
--Kresten
More information about the Java
mailing list