undefined symbol in SOlaris 2.6

Raj Kunjithapadam rajk@home.com
Thu Sep 9 16:05:00 GMT 1999


Greetings,
Downloaded and installed gcj on solaris 2.6, but when I tried to complie

HelloWorld.java this is what I got.

> gcj --main=Hello -o Hello
Hello.java
Undefined                       first referenced
 symbol                             in file
sched_yield                         /home/kraj/gcc/lib/libgcj.so
ld: fatal: Symbol referencing errors. No output written to Hello
collect2: ld returned 1 exit status

Can someone point out where I can find this symbol.
On Linux it works just fine, so I must be missing some shared object on
Solaris.

Thanks in advance.
-Raj


More information about the Java mailing list