From owner-freebsd-mozilla Tue Nov 10 03:32:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA11329 for freebsd-mozilla-outgoing; Tue, 10 Nov 1998 03:32:15 -0800 (PST) (envelope-from owner-freebsd-mozilla@FreeBSD.ORG) Received: from ishtar (dialup29.wr.com.au [203.27.69.29]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id DAA11291 for ; Tue, 10 Nov 1998 03:32:01 -0800 (PST) (envelope-from davidh@wr.com.au) Received: (qmail 11405 invoked by uid 1411); 10 Nov 1998 11:33:10 -0000 Message-ID: <19981110223310.43960@wr.com.au> Date: Tue, 10 Nov 1998 22:33:10 +1100 From: David Hobley To: freebsd-mozilla@FreeBSD.ORG Subject: HELP: Compiling mozilla from cvs Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i Sender: owner-freebsd-mozilla@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 From owner-freebsd-mozilla Tue Nov 10 03:51:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA12564 for freebsd-mozilla-outgoing; Tue, 10 Nov 1998 03:51:34 -0800 (PST) (envelope-from owner-freebsd-mozilla@FreeBSD.ORG) Received: from mrelay.jrc.it (mrelay.jrc.it [139.191.1.65]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA12557 for ; Tue, 10 Nov 1998 03:51:29 -0800 (PST) (envelope-from dirkx@jrc.it) Received: from jrc.it (elect6.jrc.it [139.191.71.148]) by mrelay.jrc.it (LMC5692) with SMTP id MAA13570; Tue, 10 Nov 1998 12:51:11 +0100 (MET) Received: by jrc.it (SMI-8.6/EB-950213-L) id MAA15629; Tue, 10 Nov 1998 12:49:37 +0100 Date: Tue, 10 Nov 1998 12:49:37 +0100 (MET) From: Dirk-Willem van Gulik X-Sender: dirkx@elect6 To: David Hobley cc: freebsd-mozilla@FreeBSD.ORG Subject: Re: HELP: Compiling mozilla from cvs In-Reply-To: <19981110223310.43960@wr.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mozilla@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 10 Nov 1998, David Hobley wrote: > > 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). > Does anyone have any ideas ? Did you try chaning the order; that did it for me; (just cutting and pasting really). Dw. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mozilla" in the body of the message