jdk16 build error: "There was an error trying to initialize the HPI library"

Luis Neves luis.neves at co.sapo.pt
Tue Oct 16 14:55:45 PDT 2007


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




More information about the freebsd-java mailing list