[kaffe] Help required!!!!!!!!!!!!!!!!!!
Saifuddin Rangwala
saifuddingroups@yahoo.co.in
Wed Nov 12 02:58:02 2003
Hello,
I am trying to port kaffe-1.0.7 to linux-2.4.6 the
architecture being arm-cs89712.
I am using gcc-2.95.3 and uclibc-0.9.12 as the cross
development tools.
I have successfully compiled and installed kaffe as
dynamically linked vm.
But I think I need static vm,bin and lib on cs89712
When I tried only --with-staticvm, it worked,
but when I treid --with-static-bin --with-staticvm, it
gave following error while
installing : -
/home/saif_rangwala/toolchains/arm/arm-linux/bin/ld:
cannot find -ldl
Also I have specified which ld to use while
configuring, still it using ld generated by binutils
and not uclibc.
Scroll down to view the trace of the make install.
I would appreciate suggestions from anyone working on
this board or anyone working on some other embedded
stuff.
I have refered to FAQ.Embedded and followed similar
steps.
Also can I remove some of source code directly to
reduce the size of my port???
Also, I want my final port of the size not more than
500K-700K. I want a very simple
JVM without any advanced features, what path should I
do follow???
Ok,
Thanks in advance for the effort,
Regards,
Saifuddin.
***********************************************************************
(cd .libs && arm-uclibc-gcc -c -fno-builtin
"kaffe-binS.c")
rm -f .libs/kaffe-binS.c .libs/kaffe-bin.nm
.libs/kaffe-bin.nmS .libs/kaffe-bin.nmT
arm-uclibc-gcc -g -O2 -Wall -Wstrict-prototypes
-fsigned-char -o kaffe-bin -static main.o version.o
.libs/kaffe-binS.o -Wl,--export-dynamic
../../libraries/clib/native/.libs/libnative.a
-L/usr/local/lib
../../libraries/clib/net/.libs/libnet.a
../../libraries/clib/io/.libs/libio.a
../../libraries/clib/zip/.libs/libzip.a
../../libraries/clib/math/.libs/libmath.a
../../libraries/clib/management/.libs/libmanagement.a
../../libraries/clib/security/.libs/libsecurity.a
../../libraries/extensions/microsoft/clib/.libs/libmicrosoft.a
../kaffevm/.libs/libkaffevm.a -ldl -lm -Wl,--rpath
-Wl,/usr/local/lib
/home/saif_rangwala/toolchains/arm/arm-linux/bin/ld:
cannot find -ldl
collect2: ld returned 1 exit status
rm -f .libs/kaffe-binS.o
make[2]: *** [kaffe-bin] Error 1
make[2]: Leaving directory
`/home/saif_rangwala/workspace/java/kaffe-arm/kaffe/kaffe'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/home/saif_rangwala/workspace/java/kaffe-arm/kaffe'
make: *** [install-recursive] Error 1
________________________________________________________________________
Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk