From owner-freebsd-java@FreeBSD.ORG Tue Oct 16 21:55:44 2007 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE85016A41A for ; Tue, 16 Oct 2007 21:55:44 +0000 (UTC) (envelope-from luis.neves@co.sapo.pt) Received: from co.sapo.pt (smtp.corp.sapo.pt [194.65.95.225]) by mx1.freebsd.org (Postfix) with ESMTP id 8725513C4BB for ; Tue, 16 Oct 2007 21:55:43 +0000 (UTC) (envelope-from luis.neves@co.sapo.pt) Received: from SMTPAUTH ([10.134.3.25]) by co.sapo.pt with Microsoft SMTPSVC(6.0.3790.1830); Tue, 16 Oct 2007 22:42:27 +0100 Received: from [192.168.1.104] ([81.84.64.77]) by SMTPAUTH over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Tue, 16 Oct 2007 22:42:27 +0100 Message-ID: <47153042.1030807@co.sapo.pt> Date: Tue, 16 Oct 2007 22:42:26 +0100 From: Luis Neves User-Agent: Thunderbird 2.0.0.6 (X11/20071017) MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 16 Oct 2007 21:42:27.0398 (UTC) FILETIME=[72229E60:01C8103D] Subject: jdk16 build error: "There was an error trying to initialize the HPI library" X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Oct 2007 21:55:45 -0000 I'm trying to build the port jdk16 in a 7-PRERELEASE machine using a jdk16 package built on 6.2-STABLE machine as bootstrap. The build fails with: [...] Linking launcher... Making signal interposition lib... gcc -m32 -march=i586 -shared -fPIC -fPIC \ -D_GNU_SOURCE -pthread -o libjsig.so /usr/ports/java/jdk16/work/hotspot/src/os/bsd/vm/jsig.c /usr/ports/java/jdk16/work/hotspot/src/os/bsd/vm/jsig.c: In function 'call_os_signal': /usr/ports/java/jdk16/work/hotspot/src/os/bsd/vm/jsig.c:71: warning: incompatible implicit declaration of built-in function 'printf' /usr/ports/java/jdk16/work/hotspot/src/os/bsd/vm/jsig.c:72: warning: incompatible implicit declaration of built-in function 'exit' /usr/ports/java/jdk16/work/hotspot/src/os/bsd/vm/jsig.c: In function 'sigset': /usr/ports/java/jdk16/work/hotspot/src/os/bsd/vm/jsig.c:128: warning: incompatible implicit declaration of built-in function 'printf' /usr/ports/java/jdk16/work/hotspot/src/os/bsd/vm/jsig.c:129: warning: incompatible implicit declaration of built-in function 'exit' /usr/ports/java/jdk16/work/hotspot/src/os/bsd/vm/jsig.c: In function 'call_os_sigaction': /usr/ports/java/jdk16/work/hotspot/src/os/bsd/vm/jsig.c:137: warning: incompatible implicit declaration of built-in function 'printf' /usr/ports/java/jdk16/work/hotspot/src/os/bsd/vm/jsig.c:138: warning: incompatible implicit declaration of built-in function 'exit' gmake[5]: Leaving directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' All done. gmake[4]: Leaving directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' cd bsd_i486_compiler2/product && ./test_gamma There was an error trying to initialize the HPI library. Could not create the Java virtual machine. gmake[3]: *** [product] Error 1 gmake[3]: Leaving directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir' gmake[2]: *** [generic_build2] Error 2 gmake[2]: Leaving directory `/usr/ports/java/jdk16/work/hotspot/make' gmake[1]: *** [product] Error 2 gmake[1]: Leaving directory `/usr/ports/java/jdk16/work/hotspot/make' gmake: *** [hotspot-build] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk16. *** Error code 1 Stop in /usr/ports/java/jdk16. Is there any thing I can try? -- Luis Neves