Eoror on compile jdk16 on FreeBSD 7.0 amd64

David DURIEUX d.durieux at siprossii.com
Thu Jun 12 13:24:28 UTC 2008


>> 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=/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=/java
>> ARCH_DATA_MODEL=64
>> ALT_OUTPUTDIR=/usr/ports/java/jdk16/work/control/build/bsd-amd64/hotspot/outputdir
>> ALT_EXPORT_PATH=/usr/ports/java/jdk16/work/control/build/bsd-amd64/hotspot/import
>> PREVIOUS_JDK_VERSION=1.5.0 ALT_BOOTDIR=/usr/local/diablo-jdk1.5.0
>> FULL_VERSION="1.6.0_03-p4-ddurieux_12_jun_2008_01_18-b00"
>> JDK_VERSION=1.6.0_03 COOKED_JDK_UPDATE_VERSION=30
>> COOKED_BUILD_NUMBER=0 JDK_MKTG_VERSION=6u3 JDK_MAJOR_VERSION=1
>> JDK_MINOR_VERSION=6 JDK_MICRO_VERSION=0 all_product gmake[1]:
>> Entering directory `/usr/ports/java/jdk16/work/hotspot/make' gmake
>> VM_TARGET=product 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=1
>> HOTSPOT_BUILD_VERSION=1.6.0_03-p4-ddurieux_12_jun_2008_01_18-b00
>> JAVA_HOME=/usr/local/diablo-jdk1.5.0
>> GAMMADIR=/usr/ports/java/jdk16/work/hotspot MAKE_VERBOSE=y 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öhlich
>

I have install "java/diablo-jdk15", it have just an error ignored but
it install :  

/libexec/ld-elf.so.1: /usr/local/lib/compat/libpthread.so.2: Undefined
symbol "__malloc_lock" *** Error code 1 (ignored)




More information about the freebsd-java mailing list