Subject: Re: JDK1.1.1 (L*NUX port), was Re: applix
To: Simon J. Gerraty <sjg@quick.com.au>
From: Hauke Fath <hf@melog.de>
List: port-i386
Date: 06/30/1997 18:00:54
At 19:12 28.06.97 +1000, Simon J. Gerraty wrote:
>Hauke Fath writes:
>>Anyone successfully playing with JDK 1.1.1 on NetBSD/i386? (Kaffe does not
>>even compile 8( )
>
>I compiled kaffe-0.9.0 with no problems. Before that I was running
>0.6 ok. 0.9.0 claims to support 1.1, but the biss-awt implentation is
>still geared to kaffe-0.8.4 (jdk 1.0.2), so I'm really waiting for
>kaffe and biss to get back in sync before worrying too much.
{ Kaffe 0.9.0 on NetBSD/i386 1.2.1 }
/../../../config -c -fpic ./java.util.zip.stubs/InflaterStub.c
true --def ./libkaffe_native.def --output-exp lib.exp --output-lib
libkaffe_native.a --dllname libkaffe_native.so
touch lib.exp
ld -Bshareable -o libkaffe_native.so.0.90 ClassLoaderStub.o ClassLoader.o
ClassStub.o Class.o CompilerStub.o Compiler.o DoubleStub.o Double.o
FloatStub.o Float.o MathStub.o Math.o ObjectStub.o Object.o
RuntimeStub.o Runtime.o SecurityManagerStub.o SecurityManager.o
SystemStub.o System.o ThreadStub.o Thread.o ThrowableStub.o
Throwable.o UNIXProcessStub.o UNIXProcess.o ArrayStub.o Array.o
ConstructorStub.o Constructor.o FieldStub.o Field.o MethodStub.o
Method.o FileDescriptorStub.o FileDescriptor.o FileInputStreamStub.o
FileInputStream.o FileOutputStreamStub.o FileOutputStream.o FileStub.o
File.o RandomAccessFileStub.o RandomAccessFile.o ResourceBundleStub.o
ResourceBundle.o Adler32Stub.o CRC32Stub.o DeflaterStub.o InflaterStub.o
-lm -lc
ld: internal error: wrong number (398) of global symbols written into
output file, should be 415
*** Error code 1
Stop.
This happens in
./kaffe/kaffevm
./packages/tjwassoc.co.uk/APIcore/lib
./packages/tjwassoc.co.uk/APIzip/lib
and can be avoided by commenting out the options for LDTAIL
LDTAIL= -lm -lc
in the local Makefiles. (Apparently the autoconfigure script gets something
wrong here.)
The sources compile, but
hf:/usr/src/local/kaffe-0.9.0/test > javac HelloWorldApp.java
/usr/libexec/ld.so: Undefined symbol "_floor" called from
kaffe:/usr/local/lib/libkaffe_vm.so.0.91 at 0x10045790
hf:/usr/src/local/kaffe-0.9.0/test >
(The two snapshots available for 0.9.1 behave identically.)
-- Any ideas?
hauke
--
Hauke Fath Melog Software GmbH
D-69115 Heidelberg
hf@Melog.DE Ruf +49-6221-1333-0, Fax -33