Date: Thu, 31 Jan 2002 11:37:57 +0200 From: Maxim Sobolev <sobomax@FreeBSD.org> To: xavier renaut <xavier@hansonpublications.com> Cc: gnome@FreeBSD.org Subject: Re: Mozilla port Message-ID: <3C591075.6D30F088@FreeBSD.org> References: <20020130145908.O37310-100000@nomad.lan.edmarketing.com>
next in thread | previous in thread | raw e-mail | index | archive | help
That's because you are using C compiler (gcc) to compile and link C++ sources. You should use C++ compiler (c++ or g++ for that). I suspect that you have somehow altered default CC and CXX settings in either your environment or /etc/make.conf. Try to do `make -V CC -V CXX' in /usr/ports/www/mozilla' directory and send its output as a followup. -Maxim xavier renaut wrote: > > Hello, > > I'm having trouble building the mozilla port > (cvsuped today) > (on FreeBSD 4.5 RC, > PORTNAME= mozilla > PORTVERSION= 0.9.7 > PORTREVISION= 2 > PORTEPOCH= 1) > > the compile stops at : > > gmake[4]: Entering directory > `/usr/tmp/usr/ports/www/mozilla/work/mozilla/intl/unicharutil/tests' > > UnicharSelfTest.cpp > Building deps for UnicharSelfTest.cpp > > gcc -o UnicharSelfTest.o -c -DOSTYPE=\"FreeBSD4\" -DOSARCH=\"FreeBSD\" -DOJI > -I../ ../../dist/include/xpcom -I../../../dist/include/string > -I../../../dist/include/uni charutil -I../../../dist/include/necko > -I../../../dist/include/uconv -I../../../dis t/include -I../../../dist/include > -I/usr/tmp/usr/ports/www/mozilla/work/mozilla/dis t/include/nspr > -I/usr/local/include -I/usr/local/include -I/usr/local/include -I. /../public > -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -I/usr/X11R6/include > -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith > -Wbad-function-cast - Wcast-align -Woverloaded-virtual -Wsynth > -Wno-ctor-dtor-privacy -Wno-long-long -pip e -DNDEBUG -DTRIMMED -O -pipe > -march=pentiumpro -I/usr/X11R6/include -I/usr/X11R 6/include -DMOZILLA_CLIENT > -include ../../../config-defs.h UnicharSelfTest.cpp > > gcc -o UnicharSelfTest -I/usr/X11R6/include -I/usr/X11R6/include -fno-rtti > -fno-ex ceptions -Wall -Wconversion -Wpointer-arith -Wbad-function-cast > -Wcast-align -Wover loaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long > -pipe -DNDEBUG -DTRIM MED -O -pipe -march=pentiumpro UnicharSelfTest.o > -L../../../dist/bin -L../../.. /dist/lib -L../../../dist/bin -lxpcom > -L/usr/tmp/usr/ports/www/mozilla/work/mozilla /dist/lib -lplds4 -lplc4 -lnspr4 > -pthread -lm > > UnicharSelfTest.o: In function `TestCaseConversion(void)': > UnicharSelfTest.o(.text+0x27): undefined reference to `cout' > > UnicharSelfTest.o(.text+0x2d): undefined reference to `ostream::operator<<(char > const *)' > > UnicharSelfTest.o(.text+0x3d): undefined reference to `ostream::operator<<(char > const *)' > > UnicharSelfTest.o(.text+0x4a): undefined reference to `ostream::operator<<(char > const *)' > > UnicharSelfTest.o(.text+0x85): undefined reference to `ostream::operator<<(char > const *)' > > UnicharSelfTest.o(.text+0xa5): undefined reference to `cout' > > UnicharSelfTest.o(.text+0xab): undefined reference to `ostream::operator<<(char > const *)' > > [... many times the same error....] > > gmake[4]: *** [UnicharSelfTest] Error 1 > > gmake[4]: Leaving directory > `/usr/tmp/usr/ports/www/mozilla/work/mozilla/intl/unicharutil/tests' > > gmake[3]: *** [libs] Error 2 > > gmake[3]: Leaving directory > `/usr/tmp/usr/ports/www/mozilla/work/mozilla/intl/unicharutil' > > gmake[2]: *** [libs] Error 2 > gmake[2]: Leaving directory `/usr/tmp/usr/ports/www/mozilla/work/mozilla/intl' > gmake[1]: *** [tier_9] Error 2 > gmake[1]: Leaving directory `/usr/tmp/usr/ports/www/mozilla/work/mozilla' > gmake: *** [default] Error 2 > *** Error code 2 > > Stop in /usr/ports/www/mozilla. > *** Error code 1 > > Stop in /usr/ports/www/mozilla. > *** Error code 1 > > Stop in /usr/ports/www/mozilla. > > -------------------------------- > > Have i done any thing wrong ? > > thanks > > bye > > xavier > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-gnome" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C591075.6D30F088>