From owner-freebsd-gnome Thu Jan 31 1:39: 8 2002 Delivered-To: freebsd-gnome@freebsd.org Received: from alcatraz.iptelecom.net.ua (alcatraz.iptelecom.net.ua [212.9.224.15]) by hub.freebsd.org (Postfix) with ESMTP id 4AD0137B404 for ; Thu, 31 Jan 2002 01:39:01 -0800 (PST) Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by alcatraz.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id LAA55084; Thu, 31 Jan 2002 11:38:44 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from vega.vega.com (h11.229.dialup.iptcom.net [212.9.229.11]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id LAA24086; Thu, 31 Jan 2002 11:38:40 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.11.6/8.11.3) with ESMTP id g0V9btV06295; Thu, 31 Jan 2002 11:37:55 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Message-ID: <3C591075.6D30F088@FreeBSD.org> Date: Thu, 31 Jan 2002 11:37:57 +0200 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en,uk,ru MIME-Version: 1.0 To: xavier renaut Cc: gnome@FreeBSD.org Subject: Re: Mozilla port References: <20020130145908.O37310-100000@nomad.lan.edmarketing.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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