This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: undefined symbol in SOlaris 2.6
- To: Raj Kunjithapadam <rajk@home.com>
- Subject: Re: undefined symbol in SOlaris 2.6
- From: Tom Tromey <tromey@cygnus.com>
- Date: Thu, 9 Sep 1999 17:02:13 -0700
- Cc: <java-discuss@sourceware.cygnus.com>
- References: <37D83CC1.409644@home.com>
>>>>> "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