This is the mail archive of the rhug-rhats@sources.redhat.com mailing list for the RHUG project.


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

rhug libtool problem


I'm confused how people are able to compile rhug without getting these
kinds of errors:

make[2]: Entering directory `/home/bothner/Java/rhug/pgsql-jdbc'
source='upstream/org/postgresql/Field.java' object='upstream/org/postgresql/Field.lo' libtool=yes \
depfile='.deps/upstream/org/postgresql/Field.Plo' tmpdepfile='.deps/upstream/org/postgresql/Field.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcj  --encoding=UTF-8 -fassume-compiled -fCLASSPATH=upstream -O2 -c -o upstream/org/postgresql/Field.lo `test -f upstream/org/postgresql/Field.java || echo './'`upstream/org/postgresql/Field.java
rm -f upstream/org/postgresql/.libs/Field.lo
gcj --encoding=UTF-8 -fassume-compiled -fCLASSPATH=upstream -O2 -c upstream/org/postgresql/Field.java -MT upstream/org/postgresql/Field.lo -MD -MP -MF .deps/upstream/org/postgresql/Field.TPlo  -fPIC -DPIC  -o upstream/org/postgresql/Field.ogcj: can't specify `-D' without `--main'

The fix presumably is to require the "multi-language" libtool,
and add --tag=GCJ to LTGCJCOMPILE in the various Makefiles.
My confusion is that people seem to be managing without it.  Are
they just building statically?

	--Per Bothner
per@bothner.com   http://www.bothner.com/per/


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