Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Sep 2001 12:08:58 +1200
From:      Jonathan Chen <jonathan.chen@itouch.co.nz>
To:        "Devon O'Dell" <devon@sitetronics.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Ports Errors
Message-ID:  <20010927120858.D52285@jonc.itouch>
In-Reply-To: <20010926195007.X89204-100000@sitetronics.com>; from devon@sitetronics.com on Wed, Sep 26, 2001 at 07:50:49PM -0400
References:  <20010926195007.X89204-100000@sitetronics.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jonathan.chen@itouch.co.nz>
----------------------------------------------------------------------
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




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