Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] j2sdk error

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Chris Dombroski <cdombroski AT gambit.gotdns.org>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] j2sdk error
  • Date: Sun, 02 May 2004 03:27:39 -0500

I compared the stuff installed on David Kowis's system and my own and noticed that he did not have lesstif installed. As best as I can tell, turning off lesstif for j2sdk works; however, I can't be sure because db was recompiled and tried to install j2sdk-bin again. So 99% certain that lesstif is the problem somehow.

Chris Dombroski wrote:

I have a similar problem but get a different undefined symbol:
>>> Generating beaninfo for javax.swing.AbstractButton...
javadoc: In doclet class GenDocletBeanInfo, method start has thrown an exception java.lang.reflect.Invocation
TargetException
java.lang.UnsatisfiedLinkError: /usr/src/j2sdk-1_4_2/control/build/linux-i586/lib/i386/libawt.so: /usr/src/j2s
dk-1_4_2/control/build/linux-i586/lib/i386/libawt.so: undefined symbol: FcPatternDestroy
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1477)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
at java.awt.Component.<clinit>(Component.java:506)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at GenSwingBeanInfo.getClass(GenSwingBeanInfo.java:472)
at GenSwingBeanInfo.genBeanInfo(GenSwingBeanInfo.java:355)
at GenDocletBeanInfo.start(GenDocletBeanInfo.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:193)
at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:92)
at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:311)
at com.sun.tools.javadoc.Start.begin(Start.java:121)
at com.sun.tools.javadoc.Main.execute(Main.java:41)
at com.sun.tools.javadoc.Main.main(Main.java:31)
1 error
make[4]: *** [.javadoc.beanlist] Error 1
make[4]: Leaving directory `/usr/src/j2sdk-1_4_2/j2se/make/javax/swing/beaninfo'
make[3]: *** [swing-1.2-beans] Error 2
make[3]: Leaving directory `/usr/src/j2sdk-1_4_2/j2se/make/javax/swing/beaninfo'
make[2]: *** [image-jdk] Error 2
make[2]: Leaving directory `/usr/src/j2sdk-1_4_2/j2se/make'
make[1]: *** [j2se-build] Error 2
make[1]: Leaving directory `/usr/src/j2sdk-1_4_2/control/make'

A search in /usr/include/X11 revealed the following if it helps any:
cdombroski@Perrin:/usr/include/X11$ grep -R * -e "FcPatternDestroy"
Xft/XftCompat.h:#define XftPatternDestroy FcPatternDestroy


Jens Laas wrote:

Anyone successfully built j2sdk recently ?

I get this non-inspiring error...

(Btw I had to manually create the link:
/var/lib/sorcery/codex/z-rejected/z-java/java-functions ->
/var/lib/sorcery/codex/test/java/java-functions )

Cheers,
Jens Låås

Constructing Javadoc information...


Generating beaninfo for javax.swing.AbstractButton...

javadoc: In doclet class GenDocletBeanInfo, method start has thrown an
exception java.lang.reflect.InvocationTargetException
java.lang.UnsatisfiedLinkError:
/usr/src/j2sdk-1_4_2/control/build/linux-i586/lib/i386/libawt.so:
/usr/src/j2sdk-1_4_2/control/build/linux-i586/lib/i386/libawt.so:
undefined symbol: XftFontClose
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1477)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at
sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
at java.awt.Component.<clinit>(Component.java:506)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at GenSwingBeanInfo.getClass(GenSwingBeanInfo.java:472)
at GenSwingBeanInfo.genBeanInfo(GenSwingBeanInfo.java:355)
at GenDocletBeanInfo.start(GenDocletBeanInfo.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:193)
at
com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:92)
at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:311)
at com.sun.tools.javadoc.Start.begin(Start.java:121)
at com.sun.tools.javadoc.Main.execute(Main.java:41)
at com.sun.tools.javadoc.Main.main(Main.java:31)
1 error
make[4]: *** [.javadoc.beanlist] Error 1
make[4]: Leaving directory
`/usr/src/j2sdk-1_4_2/j2se/make/javax/swing/beaninfo'make[3]: ***
[swing-1.2-beans] Error 2
make[3]: Leaving directory
`/usr/src/j2sdk-1_4_2/j2se/make/javax/swing/beaninfo'make[2]: ***
[image-jdk] Error 2
make[2]: Leaving directory `/usr/src/j2sdk-1_4_2/j2se/make'
make[1]: *** [j2se-build] Error 2
make[1]: Leaving directory `/usr/src/j2sdk-1_4_2/control/make'

-----------------------------------------------------------------------
'This mail automatically becomes portable when carried.'
-----------------------------------------------------------------------
Jens Låås Email: jens.laas AT data.slu.se
Department of Computer Services, SLU Phone: +46 18 67 35 15
Vindbrovägen 1
P.O. Box 7079
S-750 07 Uppsala
SWEDEN
-----------------------------------------------------------------------
_______________________________________________
SM-Discuss mailing list
SM-Discuss AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/sm-discuss


_______________________________________________
SM-Discuss mailing list
SM-Discuss AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/sm-discuss






Archive powered by MHonArc 2.6.24.

Top of Page