Date: Thu, 12 Jun 2008 15:24:26 +0000 From: David DURIEUX <d.durieux@siprossii.com> To: freebsd-java@freebsd.org Subject: Re: Eoror on compile jdk16 on FreeBSD 7.0 amd64 Message-ID: <20080612152426.4d551dac@portable> In-Reply-To: <52835.83.64.253.201.1213276515.squirrel@webmail.itac.at> References: <20080612145134.5d09082e@portable> <52835.83.64.253.201.1213276515.squirrel@webmail.itac.at>
next in thread | previous in thread | raw e-mail | index | archive | help
>> Hello, I have problem when I want to compile java/jdk16 >> >> This is the last lines of my compilation >> >> >> WARNING: The directory HOTSPOT_DOCS_IMPORT_PATH=3D/NO_DOCS_DIR \n >> does not exist, check your value of ALT_HOTSPOT_DOCS_IMPORT_PATH. \n >> WARNING: The bsd compiler must be version 3.3 \n Specifically >> the GCC compiler. \n You appear to be using compiler version: >> 4.2 \n The compiler was obtained from the following location: >> \n /usr/bin/ \n Please change your compiler. \n >> WARNING: Importing CUPS from a system location \n Sanity check >> passed. mkdir >> -p /usr/ports/java/jdk16/work/control/build/bsd-amd64/hotspot/outputdir >> mkdir >> -p /usr/ports/java/jdk16/work/control/build/bsd-amd64/hotspot/import >> cd ../../hotspot/make ; \ gmake ALT_SLASH_JAVA=3D/java >> ARCH_DATA_MODEL=3D64 >> ALT_OUTPUTDIR=3D/usr/ports/java/jdk16/work/control/build/bsd-amd64/hotsp= ot/outputdir >> ALT_EXPORT_PATH=3D/usr/ports/java/jdk16/work/control/build/bsd-amd64/hot= spot/import >> PREVIOUS_JDK_VERSION=3D1.5.0 ALT_BOOTDIR=3D/usr/local/diablo-jdk1.5.0 >> FULL_VERSION=3D"1.6.0_03-p4-ddurieux_12_jun_2008_01_18-b00" >> JDK_VERSION=3D1.6.0_03 COOKED_JDK_UPDATE_VERSION=3D30 >> COOKED_BUILD_NUMBER=3D0 JDK_MKTG_VERSION=3D6u3 JDK_MAJOR_VERSION=3D1 >> JDK_MINOR_VERSION=3D6 JDK_MICRO_VERSION=3D0 all_product gmake[1]: >> Entering directory `/usr/ports/java/jdk16/work/hotspot/make' gmake >> VM_TARGET=3Dproduct generic_build2 gmake[2]: Entering directory >> `/usr/ports/java/jdk16/work/hotspot/make' mkdir >> -p /usr/ports/java/jdk16/work/control/build/bsd-amd64/hotspot/outputdir >> cd /usr/ports/java/jdk16/work/control/build/bsd-amd64/hotspot/outputdir; >> \ gmake -f /usr/ports/java/jdk16/work/hotspot/build/bsd/Makefile \ >> LP64=3D1 >> HOTSPOT_BUILD_VERSION=3D1.6.0_03-p4-ddurieux_12_jun_2008_01_18-b00 >> JAVA_HOME=3D/usr/local/diablo-jdk1.5.0 >> GAMMADIR=3D/usr/ports/java/jdk16/work/hotspot MAKE_VERBOSE=3Dy product >> gmake[3]: Entering directory >> `/usr/ports/java/jdk16/work/control/build/bsd-amd64/hotspot/outputdir' >> gmake -f /usr/ports/java/jdk16/work/hotspot/build/bsd/Makefile >> checks gmake[4]: Entering directory >> `/usr/ports/java/jdk16/work/control/build/bsd-amd64/hotspot/outputdir' /= usr/local/diablo-jdk1.5.0/bin/javap >> javax.xml.transform.TransformerFactory > /dev/null 2>&1; \ if [ $? >> -ne 0 ]; then \ /usr/local/diablo-jdk1.5.0/bin/java -version; \ echo >> "*** An XSLT processor (J2SE 1.4.x or newer) is required" \ "to >> bootstrap this build" 1>&2; \ exit 1; \ >> fi /libexec/ld-elf.so.1: /usr/local/lib/compat/libpthread.so.2: >> Undefined symbol "__malloc_lock" *** An XSLT processor (J2SE 1.4.x or >> newer) is required to bootstrap this build gmake[4]: *** >> [check_j2se_version] Error 1 gmake[4]: Leaving directory >> `/usr/ports/java/jdk16/work/control/build/bsd-amd64/hotspot/outputdir' >> gmake[3]: *** [bsd_amd64_compiler2/debug] Error 2 gmake[3]: Leaving >> directory >> `/usr/ports/java/jdk16/work/control/build/bsd-amd64/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. >> >> >> >> >> >> I have the compat6x installed >> I think the problem is in '/usr/local/lib/compat/libpthread.so.2: >> Undefined symbol "__malloc_lock"' >> >> Can you hel me, I search since 2 week :/ >> >> Thanks > >You need an JDK 1.5 to successfully compile java/jdk16. The easiest >way to get one is to use "java/diablo-jdk15". If you already use an >JDK 1.5 to bootstrap jdk16 then you likely hit an real problem and you >can ignore everything i've said. > >Good Luck. > >Bernhard Fr=F6hlich > I have install "java/diablo-jdk15", it have just an error ignored but it install : =20 /libexec/ld-elf.so.1: /usr/local/lib/compat/libpthread.so.2: Undefined symbol "__malloc_lock" *** Error code 1 (ignored)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080612152426.4d551dac>