This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: I can't compile libjava on solaris


>>>>> "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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]