Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Nov 1998 22:33:10 +1100
From:      David Hobley <davidh@wr.com.au>
To:        freebsd-mozilla@FreeBSD.ORG
Subject:   HELP: Compiling mozilla from cvs
Message-ID:  <19981110223310.43960@wr.com.au>

next in thread | raw e-mail | index | archive | help
Hello,

I have compiled mozilla from the CVS sources a couple of times now.
I haven't compiled for a couple of weeks/months (I forget).

When I try to compile the latest sources I get the following error
all over the place:

[114 ishtar: xpcom/tests] % gmake
cd dynamic; gmake export
gmake[1]: Entering directory `/usr/local/src/mozilla/obj-i386-unknown-freebsd3.0/xpcom/tests/dynamic'
gmake[1]: Nothing to be done for `export'.
gmake[1]: Leaving directory `/usr/local/src/mozilla/obj-i386-unknown-freebsd3.0/xpcom/tests/dynamic'
cd dynamic; gmake libs
gmake[1]: Entering directory `/usr/local/src/mozilla/obj-i386-unknown-freebsd3.0/xpcom/tests/dynamic'
../../../config/./nsinstall -R -m 444 ./libtestdynamic.a ../../../dist/./lib
../../../config/./nsinstall -R -m 555 ./libtestdynamic.so.1.0 ../../../dist/./bin
gmake[1]: Leaving directory `/usr/local/src/mozilla/obj-i386-unknown-freebsd3.0/xpcom/tests/dynamic'
cd dynamic; gmake install
gmake[1]: Entering directory `/usr/local/src/mozilla/obj-i386-unknown-freebsd3.0/xpcom/tests/dynamic'
../../../config/./nsinstall -R -m 444 ./libtestdynamic.a ../../../dist/./lib
../../../config/./nsinstall -R -m 555 ./libtestdynamic.so.1.0 ../../../dist/./bin
gmake[1]: Leaving directory `/usr/local/src/mozilla/obj-i386-unknown-freebsd3.0/xpcom/tests/dynamic'
c++ -o RegFactory RegFactory.o  ../../dist/./lib/libxpcom.a ../../dist/./lib/libreg.a  -L/usr/local/lib -lplds21 -lplc21 -lnspr21  -ll -lutil -lm -lc
/usr/lib/aout/libgcc.a(_new_handler.o): Undefined symbol `__exit' referenced (use -lc ?)
/usr/lib/aout/libgcc.a(_new_handler.o): Undefined symbol `_write' referenced (use -lc ?)
ld: Spurious undefined symbols: # undefined symbols 2, reported 0
gmake: *** [RegFactory] Error 1


For some reason the c++ compiler is picking up -lc -lgcc -lc -lgcc, but I 
still get the 2 symbols undefined. I didn't think I had mucked around too 
much with FreeBSD for a while (too afraid of stuffing things if I compile
the sources at the moment with ELD etc).

uname -a displays:

FreeBSD ishtar 3.0-CURRENT FreeBSD 3.0-CURRENT #2: Thu Aug 20 18:24:10 EST 1998     davidh@ishtar:/usr/src/sys/compile/ISHTAR  i386

I am running a.out.

Does anyone have any ideas ?

-- 
Cheers,
david		-- http://www.angelfire.com/wa/hobley

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mozilla" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981110223310.43960>