jdk14 on -current

Yamada Ken Takeshi ken at tydfam.jp
Sat Aug 23 21:40:43 PDT 2003


  I think your patch solves hotspot compile error relating to
foo##bar.
  However, I have had the following error, and cannot compile.
It is endian definition error(?).

  :              :             :            :
/usr/bin/gcc  -fno-strict-aliasing -fPIC -W -Wall  -Wno-unused -Wno-parentheses -Werror  -Di586 -DARCH='"i586"' -DRELEASE='"1.4.1-p3"' -DFULL_VERSION='"1.4.1-p3-ken_24_aug_2003_13_34"' -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_LITTLE_ENDIAN -I. -I/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.nio/nio/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/sun/nio/ch -I../../../src/share/native/java/io -I../../../src/share/native/java/net -I../../../src/solaris/native/java/net -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/java/nio -I../../../src/solaris/native/java/nio    -c -o /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.nio/nio/obj/DatagramChannelImpl.o  ../../../src/solaris/native/sun/nio/ch/DatagramChannelImpl.c
In file included from /usr/include/sys/types.h:49,
                 from /usr/include/sys/param.h:67,
                 from ../../../src/solaris/javavm/export/jvm_md.h:17,
                 from ../../../src/share/javavm/export/jvm.h:16,
                 from ../../../src/solaris/native/sun/nio/ch/DatagramChannelImpl.c:10:
/usr/include/machine/endian.h:53:1: "_LITTLE_ENDIAN" redefined
<command line>:14:1: this is the location of the previous definition
gmake[4]: *** [/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.nio/nio/obj/DatagramChannelImpl.o] Error 1
gmake[4]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/nio'
gmake[3]: *** [optimized] Error 2
gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/nio'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make'
gmake: *** [j2se-build] Error 2
*** Error code 2


More information about the freebsd-java mailing list