Date: Tue, 16 Oct 2007 22:42:26 +0100 From: Luis Neves <luis.neves@co.sapo.pt> To: freebsd-java@freebsd.org Subject: jdk16 build error: "There was an error trying to initialize the HPI library" Message-ID: <47153042.1030807@co.sapo.pt>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47153042.1030807>