1.6.0.3p4_17 (24_sep_2007) build error
Roger Marquis
marquis at roble.com
Sat Sep 4 04:44:22 UTC 2010
Having no success building jdk16 in an 8.1-REL jail. Per the build
messages it appears to be related to IPv6, though IPV6 is off in the
config and both WITHOUT_IPV6=YES and NO_INET6=YES are defined in
/etc/make.conf. Anyone else see this?
Roger Marquis
/usr/bin/gcc -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -pipe -DDONT_ENABLE_IPV6 -Damd64 -DARCH='"amd64"' -DRELEASE='"1.6.0_03-p4"' -DFULL_VERSION='"1.6.0_03-p4-root_03_sep_2010_17_39-b00"' -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_ALLBSD_SOURCE -D_LP64=1 -I. -I/usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/sun/java.net/net/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/javavm/include -I../../../src/solaris/javavm/include -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/java/net -I../../../src/solaris/native/java/net -c -o /usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/sun/java.net/net/obj64/InetAddressImplFactory.o ../../../src/solaris/native/java/net/InetAddressImplFactory.c
In file included from ../../../src/solaris/native/java/net/NetworkInterface.c:40:
/usr/include/net/if_var.h:94:26: error: altq/if_altq.h: No such file or directory
In file included from ../../../src/solaris/native/java/net/NetworkInterface.c:40:
/usr/include/net/if_var.h:180: error: field 'if_snd' has incomplete type
/usr/bin/gcc -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -pipe -DDONT_ENABLE_IPV6 -Damd64 -DARCH='"amd64"' -DRELEASE='"1.6.0_03-p4"' -DFULL_VERSION='"1.6.0_03-p4-root_03_sep_2010_17_39-b00"' -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_ALLBSD_SOURCE -D_LP64=1 -I. -I/usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/sun/java.net/net/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/javavm/include -I../../../src/solaris/javavm/include -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/java/net -I../../../src/solaris/native/java/net -c -o /usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/sun/java.net/net/obj64/Inet4AddressImpl.o ../../../src/solaris/native/java/net/Inet4AddressImpl.c
gmake[4]: *** [/usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/sun/java.net/net/obj64/NetworkInterface.o] Error 1
gmake[4]: *** Waiting for unfinished jobs....
../../../src/solaris/native/java/net/Inet4AddressImpl.c: In function 'ping4':
../../../src/solaris/native/java/net/Inet4AddressImpl.c:663: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness
gmake[4]: Leaving directory `/usr/ports/java/jdk16/work/j2se/make/java/net'
gmake[3]: *** [parallel_compile] Error 2
gmake[3]: Leaving directory `/usr/ports/java/jdk16/work/j2se/make/java/net'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/usr/ports/java/jdk16/work/j2se/make/java'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/ports/java/jdk16/work/j2se/make'
gmake: *** [j2se-build] Error 2
*** Error code 2
More information about the freebsd-java
mailing list