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

Aryeh M. Friedman aryeh.friedman at gmail.com
Tue Oct 16 18:00:02 PDT 2007


First of all I ask for forgiveness from any purists out there to top
posting, but my comments have no direct baring on the specific error.  
That being said what JDK are you boot strapping jdk16 from?   Reason for
asking is I have had issues bootstrapping from jdk15, linux-sun-jdk* the
only one that seemed to work well (8.0-CURRENT AMD64) was diablo-jdk15

Luis Neves wrote:
>
> 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
>
>
> _______________________________________________
> freebsd-java at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"
>



More information about the freebsd-java mailing list