undefined symbol in SOlaris 2.6
Tom Tromey
tromey@cygnus.com
Thu Sep 9 17:03:00 GMT 1999
>>>>> "Raj" == Raj Kunjithapadam <rajk@home.com> writes:
Raj> Undefined first referenced
Raj> symbol in file
Raj> sched_yield /home/kraj/gcc/lib/libgcj.so
Raj> ld: fatal: Symbol referencing errors. No output written to Hello
Raj> collect2: ld returned 1 exit status
It turns out there is a typo in configure.in. You can fix this by
changing THREADSPECS to THREADSPEC in libjava/configure and
rebuilding. Or, you can fix it by adding -lposix4 (or -lrt if you
have it) to libgcj.spec
Thanks for the report. I'll check in a fix shortly. Hopefully we'll
do better testing before the next release; that depends heavily on
having enough time to do the release properly though (for 2.95.1, we
really didn't).
Tom
More information about the Java
mailing list