From owner-freebsd-current Wed Jun 19 4:42: 2 2002 Delivered-To: freebsd-current@freebsd.org Received: from smtpout.mac.com (smtpout.mac.com [204.179.120.86]) by hub.freebsd.org (Postfix) with ESMTP id 223D337B406; Wed, 19 Jun 2002 04:41:50 -0700 (PDT) Received: from smtp-relay03-en1.mac.com (smtp-relay03-en1 [10.13.10.222]) by smtpout.mac.com (8.12.1/8.10.2/1.0) with ESMTP id g5JBfnST006497; Wed, 19 Jun 2002 04:41:49 -0700 (PDT) Received: from asmtp02.mac.com (asmtp02-qfe3 [10.13.10.66]) by smtp-relay03-en1.mac.com (8.12.1/8.12.1/1.0) with ESMTP id g5JBfiC7004353; Wed, 19 Jun 2002 04:41:44 -0700 (PDT) Received: from localhost ([66.156.161.175]) by asmtp02.mac.com (Netscape Messaging Server 4.15) with ESMTP id GXYB5J00.Q3Q; Wed, 19 Jun 2002 04:41:43 -0700 Date: Wed, 19 Jun 2002 06:41:41 -0500 Subject: Re: [kde-freebsd] Re: C++ troubles continue Content-Type: text/plain; charset=ISO-8859-1; format=flowed Mime-Version: 1.0 (Apple Message framework v482) Cc: jstocker@tzi.de, kde@FreeBSD.org, current@FreeBSD.org To: Mikhail Teterin From: leimy2k@mac.com In-Reply-To: <200206190713.44776.mi+celsius@aldan.algebra.com> Message-Id: <863A231F-8379-11D6-A942-0003937E39E0@mac.com> Content-Transfer-Encoding: quoted-printable X-Mailer: Apple Mail (2.482) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wednesday, June 19, 2002, at 09:13 AM, Mikhail Teterin wrote: > =F7=A6=D7=D4=CF=D2=CF=CB 18 =FE=C5=D2=D7=C5=CE=D8 2002 11:38 pm, Jan = Stocker =F7=C9 =CE=C1=D0=C9=D3=C1=CC=C9: >> Do you have cleaned your /usr/include/g++ directory from old gcc = files? > > Not until after I sent my e-mail :-) Wouldn't this be worth mentioning=20= > in > UPDATING? That's probably not a bad idea since the compiler change is likely to=20 affect many a C++ library. > BTW, even that seems a not enough. When building koffice-kde3, > fabs() is reported unknown, because math.h is only included ifdef=20 > WINDOWS > in KDChartTable.h and I had to manually replace std::floor with floor = in > KDChartPainter.cpp What about ? if so then std::fabs() may exist. > > I imagine, Will and -kde got it compiled without this trickery -- = what's > different about my compiler? Did Will really use g++3.1? Or was he using Current DP1? Current DP1=20= is not gcc-3.1 based. > > -mi > >> Jan >> >> On Wed, 2002-06-19 at 04:12, Charlie Root wrote: >>> Trying to build kdebase3 on the >>> FreeBSD 5.0-CURRENT #7: Mon Jun 17 22:46:16 EDT 2002 >>> >>> [...] >>> gmake[4]: Nothing to be done for `all-am'. >>> gmake[4]: Leaving directory >>> `/ccd/ports/x11/kdebase3/work/kdebase-3.0.1/kappfinder/apps' = gmake[3]: >>> Leaving directory >>> `/ccd/ports/x11/kdebase3/work/kdebase-3.0.1/kappfinder/apps' = gmake[3]: >>> Entering directory >>> `/ccd/ports/x11/kdebase3/work/kdebase-3.0.1/kappfinder' /bin/sh >>> ../libtool --mode=3Dlink --tag=3DCXX c++ -DNDEBUG -DNO_DEBUG -O2 -O >>> -march=3Di686 -pipe -fno-exceptions -fno-check-new = -DQT_CLEAN_NAMESPACE >>> -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -o kappfinder -L/opt/lib = -pthread >>> -L/opt/lib -R /opt/lib -R /opt/lib -R /opt/lib -R /opt/lib main.o >>> scanner.o checker.o kappfinder_meta_unload.o -lkdeui c++ -DNDEBUG >>> -DNO_DEBUG -O2 -O -march=3Di686 -pipe -fno-exceptions -fno-check-new >>> -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -o kappfinder >>> -pthread main.o scanner.o checker.o kappfinder_meta_unload.o =20 >>> -L/opt/lib >>> /opt/lib/libkdeui.so /opt/lib/libkdecore.so -L/usr/lib >>> /opt/lib/libDCOP.so /opt/lib/libkdefx.so -lqt-mt -lpng -lz -lXext=20 >>> -lX11 >>> -lSM -lICE -lXrender -lstdc++ -lm -lgcc -Wl,--rpath -Wl,/opt/lib >>> -Wl,--rpath -Wl,/opt/lib checker.o: In function=20 >>> `checkDesktopFile(QString >>> const&, QString)': checker.o(.text+0x536): undefined reference to=20 >>> `cout' >>> checker.o(.text+0x543): undefined reference to=20 >>> `ostream::operator<<(char >>> const*)' checker.o(.text+0x575): undefined reference to >>> `ostream::operator<<(char const*)' checker.o(.text+0x585): undefined >>> reference to `ostream::operator<<(char const*)'=20 >>> checker.o(.text+0x6f1): >>> undefined reference to `cout' >>> checker.o(.text+0x6fe): undefined reference to=20 >>> `ostream::operator<<(char >>> const*)' checker.o(.text+0x706): undefined reference to=20 >>> `endl(ostream&)' >>> checker.o(.text+0x7e1): undefined reference to `cout' >>> checker.o(.text+0x7ea): undefined reference to=20 >>> `ostream::operator<<(char >>> const*)' checker.o(.text+0x7f2): undefined reference to=20 >>> `endl(ostream&)' >>> gmake[3]: *** [kappfinder] Error 1 >>> gmake[3]: Leaving directory >>> `/ccd/ports/x11/kdebase3/work/kdebase-3.0.1/kappfinder' gmake[2]: = *** >>> [all-recursive] Error 1 >>> gmake[2]: Leaving directory >>> `/ccd/ports/x11/kdebase3/work/kdebase-3.0.1/kappfinder' gmake[1]: = *** >>> [all-recursive] Error 1 >>> gmake[1]: Leaving directory=20 >>> `/ccd/ports/x11/kdebase3/work/kdebase-3.0.1' >>> gmake: *** [all] Error 2 >>> *** Error code 2 >>> >>> Any clues? The /usr/lib/libstdc++.a has, for example: >>> >>> 00000000 W std::basic_ostream >& >>> std::endl >(std::basic_ostream>> std::char_traits >&) 00000000 B std::cout >>> 00000000 B std::buf_cout >>> U std::cout >>> U std::buf_cout > > _______________________________________________ > kde-freebsd mailing list > kde-freebsd@lists.csociety.org > http://lists.csociety.org/listinfo/kde-freebsd > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message