From owner-freebsd-java@FreeBSD.ORG Wed Apr 9 09:38:11 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BA5337B401 for ; Wed, 9 Apr 2003 09:38:11 -0700 (PDT) Received: from alicia.nttmcl.com (alicia.nttmcl.com [216.69.69.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D228F43F85 for ; Wed, 9 Apr 2003 09:38:08 -0700 (PDT) (envelope-from jj@alicia.nttmcl.com) Received: from alicia.nttmcl.com (localhost [127.0.0.1]) by alicia.nttmcl.com (8.12.5/8.12.5) with ESMTP id h39Gc8vm026578; Wed, 9 Apr 2003 09:38:08 -0700 (PDT) (envelope-from jj@alicia.nttmcl.com) Received: (from jj@localhost) by alicia.nttmcl.com (8.12.5/8.12.5/Submit) id h39Gc8N1026577; Wed, 9 Apr 2003 09:38:08 -0700 (PDT) Date: Wed, 9 Apr 2003 09:38:08 -0700 From: Shannon -jj Behrens To: Tomas Pluskal Message-ID: <20030409163808.GB26110@alicia.nttmcl.com> References: <20030409160414.H1631@eddie.> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030409160414.H1631@eddie.> User-Agent: Mutt/1.4i cc: java@freebsd.org Subject: Re: problem building native jdk 1.4.1 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2003 16:38:11 -0000 I had a similar problem on a similar system. It turned out to be a corrupt jar file. I deleted the package and tried again, and things worked. Best Regards, -jj On Wed, Apr 09, 2003 at 04:11:33PM +0200, Tomas Pluskal wrote: > Hello, > > I am trying to build jdk 1.4.1 on 4.8-STABLE system, with linux-jdk-1.4.1 > installed, XFree86 4.3.0. > It ends up with this: > > >>> 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/ports/java/jdk14/work/control/build/bsd-i586/lib/i386/libawt.so > : /usr/ports/java/jdk14/work/control/build/bsd-i586/lib/i386/libawt.so: > Undefined symbol "_XEditResResetStream" > at java.lang.ClassLoader$NativeLibrary.load(Native Method) > at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1473) > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1389) > at java.lang.Runtime.loadLibrary0(Runtime.java:788) > at java.lang.System.loadLibrary(System.java:832) > 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.(DebugHelper.java:29) > at java.awt.Component.(Component.java:507) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:140) > 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:301) > at com.sun.tools.javadoc.Start.begin(Start.java:120) > at com.sun.tools.javadoc.Main.execute(Main.java:41) > at com.sun.tools.javadoc.Main.main(Main.java:31) > 1 error > gmake[3]: *** [.javadoc.beanlist] Error 1 > gmake[3]: Leaving directory > `/usr/ports/java/jdk14/work/j2se/make/javax/swing/beaninfo' > gmake[2]: *** [swing-1.2-beans] Error 2 > gmake[2]: Leaving directory > `/usr/ports/java/jdk14/work/j2se/make/javax/swing/beaninfo' > gmake[1]: *** [image-jdk] Error 2 > gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make' > gmake: *** [j2se-build] Error 2 > *** Error code 2 -- Hacker is to software engineer as Climbing Mt. Everest is to building a Denny's there.