From owner-freebsd-questions Wed Sep 26 17: 9: 4 2001 Delivered-To: freebsd-questions@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id 0F07B37B43B for ; Wed, 26 Sep 2001 17:09:00 -0700 (PDT) Received: from jonc.itouch ([192.168.2.21]) by itouch.co.nz with esmtp (Exim 3.33 #1) id 15mOja-0009V3-00; Thu, 27 Sep 2001 12:08:58 +1200 Received: (from jonc@localhost) by jonc.itouch (8.11.6/8.11.6) id f8R08wK52560; Thu, 27 Sep 2001 12:08:58 +1200 (NZST) (envelope-from jonc) Date: Thu, 27 Sep 2001 12:08:58 +1200 From: Jonathan Chen To: "Devon O'Dell" Cc: freebsd-questions@freebsd.org Subject: Re: Ports Errors Message-ID: <20010927120858.D52285@jonc.itouch> References: <20010926195007.X89204-100000@sitetronics.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010926195007.X89204-100000@sitetronics.com>; from devon@sitetronics.com on Wed, Sep 26, 2001 at 07:50:49PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Sep 26, 2001 at 07:50:49PM -0400, Devon O'Dell wrote: > And, as usual, I forgot the attachment. Here's the output anyway: > > gmake[3]: Entering directory `/usr/ports/www/mozilla/work/mozilla/xpcom/tools/re > gistry' > g++ -I/usr/X11R6/include -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall > -Wconversion -Wpointer-arith -Wbad-function-cast -Wcast-align -Woverloaded-virtu > al -Wsynth -pedantic -Wno-long-long -pipe -DDEBUG -DDEBUG_root -DTRACING -g -o > regExport regExport.o -L../../../dist/bin -L../../../dist/lib -L../../../dist/b > in -lxpcom -L../../../dist/bin -L/usr/ports/www/mozilla/work/mozilla/dist/lib -l > plds4 -lplc4 -lnspr4 -L../../../dist/bin -lxpcom -lm > ../../../dist/bin/libnspr4.so: undefined reference to `pthread_cond_signal' > ../../../dist/bin/libnspr4.so: undefined reference to `pthread_attr_destroy' > ../../../dist/bin/libnspr4.so: undefined reference to `pthread_create' > ../../../dist/bin/libnspr4.so: undefined reference to `pthread_getspecific' Looks like you're missing the pthreads flag in your mozilla/Makefile. Have you cvsup'd to the latest version for everything? From a non-buggy cvsup-server? Your Makefile should have something like: [...] CONFIGURE_ENV= BSD_PTHREAD_LIBS="${PTHREAD_LIBS}" \ CFLAGS="" CXXFLAGS="" Have you also got any flags set in your /etc/make.conf? My Mozilla compile uses: "c++" instead of "g++". -- Jonathan Chen ---------------------------------------------------------------------- char *p="char *p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);} To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message