I can't compile libjava on solaris
Tom Tromey
tromey@cygnus.com
Wed May 26 10:49:00 GMT 1999
>>>>> "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
More information about the Java
mailing list