From owner-freebsd-current Wed Jun 19 7:20:27 2002 Delivered-To: freebsd-current@freebsd.org Received: from volatile.chemikals.org (cae88-49-048.sc.rr.com [24.88.49.48]) by hub.freebsd.org (Postfix) with ESMTP id 8B73937B407 for ; Wed, 19 Jun 2002 07:20:20 -0700 (PDT) Received: from chemikals.org (www@localhost [127.0.0.1]) by volatile.chemikals.org (8.12.3/8.12.3) with SMTP id g5JEKJ7B076697; Wed, 19 Jun 2002 10:20:19 -0400 (EDT) (envelope-from morganw@chemikals.org) From: Wesley Morgan Received: from 148.175.49.1 (SquirrelMail authenticated user morganw) by www.chemikals.org with HTTP; Wed, 19 Jun 2002 10:20:19 -0400 (EDT) Message-ID: <54234.148.175.49.1.1024496419.squirrel@www.chemikals.org> Date: Wed, 19 Jun 2002 10:20:19 -0400 (EDT) Subject: Re: C++ troubles continue To: In-Reply-To: <1024468722.1145.1.camel@twoflower> References: <200206190212.g5J2CJ6q093342@aldan.algebra.com> <1024468722.1145.1.camel@twoflower> X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Cc: X-Mailer: SquirrelMail (version 1.2.6) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 As I said in a previous message, I think we could use a blurb in UPDATING about removing the old headers prior to an installworld. Also, shouldn't the OLD C++ library be rolled into a /usr/lib/compat package for 4.x since upgrading to 5.0 will (should) remove it? > Do you have cleaned your /usr/include/g++ directory from old gcc files? > > 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=link --tag=CXX c++ -DNDEBUG -DNO_DEBUG -O2 -O >> -march=i686 -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=i686 -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 >> -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 >> -lX11 -lSM -lICE -lXrender -lstdc++ -lm -lgcc -Wl,--rpath -Wl,/opt/lib >> -Wl,--rpath -Wl,/opt/lib checker.o: In function >> `checkDesktopFile(QString const&, QString)': checker.o(.text+0x536): >> undefined reference to `cout' >> checker.o(.text+0x543): undefined reference to >> `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*)' checker.o(.text+0x6f1): undefined >> reference to `cout' >> checker.o(.text+0x6fe): undefined reference to >> `ostream::operator<<(char const*)' checker.o(.text+0x706): undefined >> reference to `endl(ostream&)' >> checker.o(.text+0x7e1): undefined reference to `cout' >> checker.o(.text+0x7ea): undefined reference to >> `ostream::operator<<(char const*)' checker.o(.text+0x7f2): undefined >> reference to `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 >> `/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 >> >> -mi >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-current" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message