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]

undefined symbol in SOlaris 2.6


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
begin:vcard 
n:Kunjithapadam;Raj
tel;cell:408-504-3254
tel;work:650-569-5733
x-mozilla-html:TRUE
org:@Home Network;Set Top Engineering
adr:;;4023 Budwing Terrace;Fremont;CA;94538;US
version:2.1
email;internet:rajk@home.com
title:Software Engineer
x-mozilla-cpt:;27456
fn:Raj Kunjithapadam
end:vcard

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