Date: Tue, 26 Aug 2003 14:54:34 -0400 (EDT) From: Daniel Eischen <eischen@vigrid.com> To: Greg Lewis <glewis@misty.eyesbeyond.com> Cc: java@freebsd.org Subject: Re: jdk14 on -current Message-ID: <Pine.GSO.4.10.10308261451040.22163-100000@pcnet5.pcnet.com> In-Reply-To: <20030824054627.GB50911@misty.eyesbeyond.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 23 Aug 2003, Greg Lewis wrote: > On Sun, Aug 24, 2003 at 01:51:39PM +0900, Yamada Ken Takeshi wrote: > > One more! > > I needed the below, too. > > > > j2se/src/solaris/native/java/net/Inet6AddressImpl.c > > : : : : > > #ifndef __GLIBC__ > > /* gethostname() is in libc.so but I can't find a header file for it */ > > /***** /usr/include/unistd.h : 407 *******/ > > extern int gethostname(char *buf, size_t buf_len); > > ^^^^^^ > > #endif > > This is also fixed in CVS. However that fix requires a bit more work. Try > the attached patch for a quick fix. Note that your two patches allowed me to (finally!) build jdk14, with one exception. There was one additional error that caused the following: /usr/bin/gcc -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -Di586 -DARCH='"i586"' -DRELEASE='"1.4.1-p3"' -DFULL_VERSION='"1.4.1-p3-root_25_aug_2003_10_52"' -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_LITTLE_ENDIAN -I. -I/opt/FreeBSD/src/ports/java/jdk14/work/control/build/bsd-i586/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 /opt/FreeBSD/src/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/java.net/net/obj/Inet4AddressImpl.o ../../../src/solaris/native/java/net/Inet4AddressImpl.c ../../../src/solaris/native/java/net/Inet4AddressImpl.c:296:29: missing terminating " character ../../../src/solaris/native/java/net/Inet4AddressImpl.c:297:8: missing terminating " character gmake[4]: *** [/opt/FreeBSD/src/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/java.net/net/obj/Inet4AddressImpl.o] Error 1 gmake[4]: Leaving directory `/opt/FreeBSD/src/ports/java/jdk14/work/j2se/make/java/net' gmake[3]: *** [optimized] Error 2 gmake[3]: Leaving directory `/opt/FreeBSD/src/ports/java/jdk14/work/j2se/make/java/net' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/opt/FreeBSD/src/ports/java/jdk14/work/j2se/make/java' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/opt/FreeBSD/src/ports/java/jdk14/work/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2 For some reason, lines 296 and 297 were split in the middle of a string. Joing them together fixed the problem. -- Dan Eischen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10308261451040.22163-100000>