NewBie: ld linker problem
Tom Tromey
tromey@cygnus.com
Sat Apr 1 00:00:00 GMT 2000
>>>>> ">" == indio <indio@technologist.com> writes:
>> The program (little) works fine. I am trying link it now with libgcj:
>> ld -o little.o -lgcj little
>> But something is wrong. What?
Don't do that. Use gcj to link. gcj links in all the libraries you
need, behind your back.
For instance:
>> /usr/local/lib/libgcj.so: undefined reference to `deflate'
You need zlib.
>> /usr/local/lib/libgcj.so: undefined reference to `GC_obj_kinds'
You need the GC.
Tom
More information about the Java
mailing list