https://bugzilla.novell.com/show_bug.cgi?id=306721 Summary: IBM Java 1.5.0 on PPC: libjawt.so should be linked against libmawt.so Product: openSUSE 10.3 Version: Beta 2 Platform: PowerPC OS/Version: openSUSE 10.3 Status: NEW Severity: Major Priority: P5 - None Component: Java AssignedTo: bnc-team-java@forge.provo.novell.com ReportedBy: pmladek@novell.com QAContact: qa@suse.de Found By: Development We started to check more carefully missing symbols during the compilation of OpenOffice.org. We found missing symbols in /usr/lib/jvm/java-1_5_0-ibm-1.5.0_sr5/jre/bin/libjawt.so. You might reproduce it with the attached test.c: $> gcc -I/usr/lib/jvm/java/include -L/usr/lib/jvm/java/jre/bin -ljawt test.c /usr/lib/jvm/java/jre/bin/libjawt.so: undefined reference to `awt_Lock' /usr/lib/jvm/java/jre/bin/libjawt.so: undefined reference to `awt_GetComponent' /usr/lib/jvm/java/jre/bin/libjawt.so: undefined reference to `awt_GetDrawingSurface' /usr/lib/jvm/java/jre/bin/libjawt.so: undefined reference to `awt_FreeDrawingSurface' /usr/lib/jvm/java/jre/bin/libjawt.so: undefined reference to `awt_Unlock' collect2: ld returned 1 exit status $> It helps to link the test.c against libmawt.so: $> gcc -I/usr/lib/jvm/java/include -L/usr/lib/jvm/java/jre/bin -L/usr/lib/jvm/java/jre/bin/xawt -ljawt -lmawt test.c $> It has happen with: $> java -version java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build pxp32dev-20070511(SR5)) IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux ppc-32 j9vmxp3223-20070426 (JIT enabled) J9VM - 20070420_12448_bHdSMR JIT - 20070419_1806_r8 GC - 200704_19) JCL - 20070511 It means that libjawt.so includes unresolved symbols. IMHO, it should be linked against libmawt.so itself. I am going to add a workaround for this into OOo, It would be fine to fix it in the IBM Java in the future, though. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.