This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

zlib/libzgcj being built all the time?



Given a top-level call of

    $srcdir/configure --enable-languages=c++

should zlib and libzgcj be built?  (If so, could somebody please
explain why?)  I'm getting weird errors like

/bin/sh ./libtool --mode=link /tec/build/2test/gcc/xgcc -B/tec/build/2test/gcc/ -B/usr/local/sparc-sun-solaris2.8/bin/ -B/usr/local/sparc-sun-solaris2.8/lib/ -isystem /usr/local/sparc-sun-solaris2.8/include  -g -O2  -o libzgcj.la  -version-info 0:0:0 -rpath /usr/local/lib adler32.lo compress.lo crc32.lo deflate.lo gzio.lo infblock.lo infcodes.lo inffast.lo inflate.lo inftrees.lo infutil.lo trees.lo uncompr.lo zutil.lo  
/tec/build/2test/gcc/xgcc -B/tec/build/2test/gcc/ -B/usr/local/sparc-sun-solaris2.8/bin/ -B/usr/local/sparc-sun-solaris2.8/lib/ -isystem /usr/local/sparc-sun-solaris2.8/include -shared  .libs/adler32.o .libs/compress.o .libs/crc32.o .libs/deflate.o .libs/gzio.o .libs/infblock.o .libs/infcodes.o .libs/inffast.o .libs/inflate.o .libs/inftrees.o .libs/infutil.o .libs/trees.o .libs/uncompr.o .libs/zutil.o   -Wl,-soname -Wl,libzgcj.so.0 -o .libs/libzgcj.so.0.0.0
ld: warning: option -o appears more than once, first setting taken
ld: fatal: file libzgcj.so.0: cannot open file: No such file or directory
ld: fatal: File processing errors. No output written to .libs/libzgcj.so.0.0.0
collect2: ld returned 1 exit status
gmake[1]: *** [libzgcj.la] Error 1
gmake[1]: Leaving directory `/tec/build/2test/sparc-sun-solaris2.8/zlib'
gmake: *** [all-target-zlib] Error 2


I would have thought that the Java libraries would only be built if Java
were one of the enabled languages...


-- 
pedwards at disaster dot jaj dot com  |  pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools.  Fools are protected by more capable fools.

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