Static java programs

Anthony Green green@redhat.com
Thu Sep 11 23:00:00 GMT 2003


On Thu, 2003-09-11 at 14:24, David Meggy wrote:
> $ 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

If you really want to create a static image, you won't need libdl.a.  Is
this in one of your spec files?

AG

-- 
Anthony Green <green@redhat.com>
Red Hat, Inc.



More information about the Java mailing list