Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2003 11:31:52 +0100
From:      <brynjar-age.viken@telenor.com>
To:        <freebsd-java@freebsd.org>
Subject:   jdk13 + freebsd 4.5 - make fails
Message-ID:  <C4545F348A61F344B9C8E25F8A7817835A5672@TNS-FBU-2E-001.corp.telenor.no>

next in thread | raw e-mail | index | archive | help

Hi!

I have some problems installing jdk13 for FreeBSD 4.5. Being new to freebsd there might be a very simple answer to my question..:) (I'm sorry if i bother you with stupid questions..)

I would appreciate if anyone could help!! 

First I installed linux-sun-jdk13:
/usr/ports/java/linux-sun-jdk13 

Then I tried to make jdk13:
/usr/ports/java/jdk13

(Linux emulation should be ok + I have downloaded and placed the appropriate files in /usr/port/distfiles/ - as instructed)

However, make fails with the following output (There seems to be a problem with libjvm.so??):

===>  Extracting for jdk-1.3.1p7_2
>> Checksum OK for j2sdk-1_3_1-src.tar.gz.
>> Checksum OK for bsd-jdk131-patches-7.tar.gz.
===>   jdk-1.3.1p7_2 depends on executable: gm4 - found
===>   jdk-1.3.1p7_2 depends on executable: zip - found
===>   jdk-1.3.1p7_2 depends on file: /usr/X11R6/lib/libXm.so - found
===>   jdk-1.3.1p7_2 depends on file: /usr/local/linux-sun-jdk1.3.1/bin/javac - found
===>   jdk-1.3.1p7_2 depends on executable: msgfmt - found
===>   jdk-1.3.1p7_2 depends on executable: gtar - found
===>   jdk-1.3.1p7_2 depends on executable: gmake - found
===>   jdk-1.3.1p7_2 depends on shared library: glib12.3 - found
===>   jdk-1.3.1p7_2 depends on shared library: gtk12.2 - found
===>   jdk-1.3.1p7_2 depends on shared library: nspr4.1 - found
===>  Patching for jdk-1.3.1p7_2
..
..
done
===>  Applying FreeBSD patches for jdk-1.3.1p7_2
===>  Configuring for jdk-1.3.1p7_2
===>  Building for jdk-1.3.1p7_2
i386 Build started:   1.3.1-p7-gensyn-030213-11:11
Sanity check passed
>>>Recursively making java all @ Thu Feb 13 11:11:13 CET 2003 ...
gmake[1]: Entering directory `/export/ports/java/jdk13/work/j2sdk1.3.1/make/java'
..
..
gmake[4]: Entering directory `/export/ports/java/jdk13/work/j2sdk1.3.1/make/sun/javac/javac'
gmake  ../../../../build/bsd-i386/bin/i386/green_threads/javac ../../../../build/bsd-i386/bin/javac ../../../../build/bsd-i386/classes/com/sun/tools/javac/v8/resources/compiler.properties ../../../../build/bsd-i386/classes/com/sun/tools/javac/v8/resources/javac.properties ../../../../build/bsd-i386/classes/com/sun/tools/javac/v8/resources/compiler_ja.properties ../../../../build/bsd-i386/classes/com/sun/tools/javac/v8/resources/javac_ja.properties  VARIANT=OPT
gmake[5]: Entering directory `/export/ports/java/jdk13/work/j2sdk1.3.1/make/sun/javac/javac'
/bin/mkdir -p ../../../../build/bsd-i386/tmp/sun/com.sun.tools.javac/javac/obj
rm -f ../../../../build/bsd-i386/tmp/sun/com.sun.tools.javac/javac/.classes.list
if [ -s ../../../../build/bsd-i386/tmp/sun/com.sun.tools.javac/javac/.classes.list ] ; \
then /usr/local/linux-sun-jdk1.3.1/bin/javac -J-Xmx64m  -classpath ../../../../build/bsd-i386/classes -bootclasspath "" -sourcepath "../../../../build/bsd-i386/gensrc:../../../../src/solaris/classes:../../../../src/share/classes" -d ../../../../build/bsd-i386/classes  \
    ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/Main.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/CommandLine.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/JavaCompiler.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/Main.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/util/Abort.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/util/Base.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/util/Bits.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/util/ByteBuffer.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/util/Convert.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/util/Enumeration.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/util/FatalError.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/util/FileEntry.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/util/Hashtable.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/util/LayoutCharacters.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/util/List.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/util/ListBuffer.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/util/Log.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/util/Name.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/util/Names.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/util/Pair.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/util/Position.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/util/Set.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/util/Util.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/code/ByteCodes.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/code/ClassFile.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/code/ClassReader.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/code/ClassWriter.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/code/Code.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/code/CompleteClassReader.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/code/Flags.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/code/Kinds.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/code/Pool.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/code/Scope.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/code/Symbol.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/code/Type.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/code/TypeTags.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/tree/Pretty.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/tree/Tree.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/tree/TreeInfo.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/tree/TreeMaker.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/tree/TreeTranslator.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/parser/Parser.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/parser/Scanner.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/parser/Tokens.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/comp/Attr.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/comp/AttrContext.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/comp/Check.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/comp/ConstFold.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/comp/Enter.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/comp/Env.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/comp/Flow.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/comp/Gen.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/comp/Infer.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/comp/Items.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/comp/Resolve.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/comp/Symtab.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/comp/TransInner.java ../../../../build/bsd-i386/gensrc/com/sun/tools/javac/v8/comp/TransTypes.java ; \
fi
/usr/bin/gcc -c -o ../../../../build/bsd-i386/tmp/sun/com.sun.tools.javac/javac/obj/javac.o  -Di386 -DARCH='"i386"' -DSOLARIS2 -DRELEASE='"1.3.1-p7"' -DFULL_VERSION='"1.3.1-p7-gensyn-030213-11:11"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -DLOGGING -D_LITTLE_ENDIAN -I. -I../../../../build/bsd-i386/tmp/sun/com.sun.tools.javac/javac/CClassHeaders -I../../../../src/solaris/javavm/export -I../../../../src/share/javavm/export -I../../../../src/share/bin -I../../../../src/solaris/bin -DJAVA_ARGS="{ \"-J-ms8m\", \"com.sun.tools.javac.Main\" }" -DUSE_APPHOME -DPROGNAME='"javac"'    -O -pipe  -W -Wall  -Wno-unused -Wno-parentheses  -DRELEASE='"1.3.1-p7"' -DFULL_VERSION='"1.3.1-p7-gensyn-030213-11:11"' ../../../../src/share/bin/java.c
../../../../src/share/bin/java.c: In function `TranslateDashJArgs':
../../../../src/share/bin/java.c:695: warning: comparison between signed and unsigned
../../../../src/share/bin/java.c:708: warning: comparison between signed and unsigned
../../../../src/share/bin/java.c: In function `AddApplicationOptions':
../../../../src/share/bin/java.c:766: warning: comparison between signed and unsigned
../../../../src/share/bin/java.c:771: warning: comparison between signed and unsigned
/usr/bin/gcc -c -o ../../../../build/bsd-i386/tmp/sun/com.sun.tools.javac/javac/obj/javac_md.o  -Di386 -DARCH='"i386"' -DSOLARIS2 -DRELEASE='"1.3.1-p7"' -DFULL_VERSION='"1.3.1-p7-gensyn-030213-11:11"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -DLOGGING -D_LITTLE_ENDIAN -I. -I../../../../build/bsd-i386/tmp/sun/com.sun.tools.javac/javac/CClassHeaders -I../../../../src/solaris/javavm/export -I../../../../src/share/javavm/export -I../../../../src/share/bin -I../../../../src/solaris/bin -DJAVA_ARGS="{ \"-J-ms8m\", \"com.sun.tools.javac.Main\" }" -DUSE_APPHOME -DPROGNAME='"javac"'    -O -pipe  -W -Wall  -Wno-unused -Wno-parentheses  ../../../../src/solaris/bin/java_md.c
Rebuilding ../../../../build/bsd-i386/bin/i386/green_threads/javac because of ../../../../build/bsd-i386/tmp/sun/com.sun.tools.javac/javac/obj/javac.o ../../../../build/bsd-i386/tmp/sun/com.sun.tools.javac/javac/obj/javac_md.o
/usr/bin/gcc  -L../../../../build/bsd-i386/lib/i386 -Wl,-E  ../../../../build/bsd-i386/tmp/sun/com.sun.tools.javac/javac/obj/javac.o ../../../../build/bsd-i386/tmp/sun/com.sun.tools.javac/javac/obj/javac_md.o -L../../../../build/bsd-i386/lib/i386/green_threads -lhpi   -ljava -L../../../../build/bsd-i386/lib/i386 -lverify -L../../../../build/bsd-i386/lib/i386/classic -ljvm  -o ../../../../build/bsd-i386/bin/i386/green_threads/javac
../../../../build/bsd-i386/lib/i386/classic/libjvm.so: undefined reference to `__idiv_inst6'
../../../../build/bsd-i386/lib/i386/classic/libjvm.so: undefined reference to `__idiv_trap6'
../../../../build/bsd-i386/lib/i386/classic/libjvm.so: undefined reference to `__irem_inst5'
../../../../build/bsd-i386/lib/i386/classic/libjvm.so: undefined reference to `__irem_trap5'
../../../../build/bsd-i386/lib/i386/classic/libjvm.so: undefined reference to `__idiv_inst5'
../../../../build/bsd-i386/lib/i386/classic/libjvm.so: undefined reference to `ExecuteJava'
../../../../build/bsd-i386/lib/i386/classic/libjvm.so: undefined reference to `__idiv_trap5'
../../../../build/bsd-i386/lib/i386/classic/libjvm.so: undefined reference to `__irem_inst6'
../../../../build/bsd-i386/lib/i386/classic/libjvm.so: undefined reference to `__irem_trap6'
gmake[5]: *** [../../../../build/bsd-i386/bin/i386/green_threads/javac] Error 1
gmake[5]: Leaving directory `/export/ports/java/jdk13/work/j2sdk1.3.1/make/sun/javac/javac'
gmake[4]: *** [optimized] Error 2
gmake[4]: Leaving directory `/export/ports/java/jdk13/work/j2sdk1.3.1/make/sun/javac/javac'
gmake[3]: *** [all] Error 1
gmake[3]: Leaving directory `/export/ports/java/jdk13/work/j2sdk1.3.1/make/sun/javac'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/export/ports/java/jdk13/work/j2sdk1.3.1/make/java/javac'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/export/ports/java/jdk13/work/j2sdk1.3.1/make/java'
gmake: *** [all] Error 1
*** Error code 2

Stop in /export/ports/java/jdk13.

--
Thanks,
Brynjar


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C4545F348A61F344B9C8E25F8A7817835A5672>