This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: undefined symbol in SOlaris 2.6


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]