[uClibc] Static java programs
David Meggy
dmeggy at techsol.ca
Thu Sep 11 21:24:39 UTC 2003
Hi
I'm having problems statically linking Java programs with gcc's gcj.
Dynamically linking works perfectly.
This is the error message I get
$ arm-linux-gcj HelloWorld.java --main=HelloWorldApp -o HelloWorldJava -Os -static
/usr/lib/gcc-lib/arm-linux/3.3.1/../../../../arm-linux/lib/libdl.a(dlib.o)(.text+0x1fcc): In function `_dlopen':
: undefined reference to `_dl_fixup'
collect2: ld returned 1 exit status
I don't know which list to ask about this so I tried both.
Does anyone know what is going on?
I'm using binutils 2.14, gcc 3.3.1, uclibc 0.9.21, configured to cross
compile to an arm-linux target.
David
--
~~~~~~~~~~~~~~~~~~~~~~~~
David Meggy
Engineering
Technical Solutions Inc.
Unit #1 7157 Honeyman St
Delta BC Canada, V4G 1E2
www.techsol.ca
eMail: dmeggy at techsol.ca
Tel: 604 946 TECH (8324)
Fax: 604 946 6445
~~~~~~~~~~~~~~~~~~~~~~~~
More information about the uClibc
mailing list