Date: Wed, 26 Sep 2001 20:32:18 -0400 (EDT) From: "Devon O'Dell" <devon@sitetronics.com> To: Jonathan Chen <jonathan.chen@itouch.co.nz> Cc: <freebsd-questions@freebsd.org> Subject: Re: Ports Errors Message-ID: <20010926202857.F96186-100000@sitetronics.com> In-Reply-To: <20010927120858.D52285@jonc.itouch>
next in thread | previous in thread | raw e-mail | index | archive | help
I'm sorry let me clarify here:
I changed the compiler in the makefile from c++ to g++ to attempt to get
around the netinet/in.h error (which I was actually got by with the
compiler change, don't ask me why). Which is why I'm weirded out about
the errors in the kdebase2 build which uses g++ and still gives me that
ANSI C++ error.
I'm sure the Makefile has those lines in it (in fact, I just checked it
and it does). I got the cvsup from cvsup11.freebsd.org so I'm not
guessing that it was a buggy cvsup :/
The only flags in my make.conf are:
BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align
\
-Wcast-qual -Wchar-subscripts -Winline \
-Wmissing-prototypes -Wnested-externs -Wpointer-arith \
-Wredundant-decls -Wshadow -Wstrict-prototypes
-Wwrite-strings
XFREE86_VERSION= 4
that's it.
Thanks,
Devon
On Thu, 27 Sep 2001, Jonathan Chen wrote:
> 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?20010926202857.F96186-100000>
