This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: NewBie: ld linker problem
- To: indio at technologist dot com
- Subject: Re: NewBie: ld linker problem
- From: Tom Tromey <tromey at cygnus dot com>
- Date: Tue, 22 Feb 2000 20:50:08 -0800 (PST)
- Cc: java-discuss at sourceware dot cygnus dot com
- References: <200002230406.BAA02911@xapacura.sc.usp.br>
>>>>> ">" == 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