This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: I can't compile libjava on solaris
- To: Maik.Scholz@fr.bosch.de
- Subject: Re: I can't compile libjava on solaris
- From: Tom Tromey <tromey@cygnus.com>
- Date: 26 May 1999 11:48:01 -0600
- Cc: java-discuss@sourceware.cygnus.com
- References: <374C3EF2.88AE4DA3@fr.bosch.de>
- Reply-To: tromey@cygnus.com
>>>>> "Maik" == Maik Scholz <Maik.Scholz@fr.bosch.de> writes:
Maik> gcc -shared adler32.lo compress.lo crc32.lo deflate.lo gzio.lo
Maik> infblock.lo infcodes.lo inffast.lo inflate.lo inftrees.lo infutil.lo
Maik> trees.lo uncompr.lo zutil.lo -lc -Wl,-soname -Wl,libzgcj-1.1.3.so -o
Maik> .libs/libzgcj-1.1.3.so
Maik> ld: warning: option -o appears more than once, first setting taken
Maik> ld: fatal: file libzgcj-1.1.3.so: cannot open file: No such file or
Maik> directory
Maik> ld: fatal: File processing errors. No output written to
Maik> .libs/libzgcj-1.1.3.so
Offhand I don't know what the problem is.
I haven't seen this one before.
Try going to the zlib build directory and running:
make CFLAGS=-v
Then maybe you can see how `ld' is actually being invoked. Maybe we
can trace backwards from that to the bug.
Tom