From owner-freebsd-current Mon Aug 19 5:23: 4 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 883E437B400 for ; Mon, 19 Aug 2002 05:23:00 -0700 (PDT) Received: from genius.tao.org.uk (genius.tao.org.uk [212.135.162.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id C184043E3B for ; Mon, 19 Aug 2002 05:22:59 -0700 (PDT) (envelope-from joe@genius.tao.org.uk) Received: by genius.tao.org.uk (Postfix, from userid 100) id 82ED54474; Mon, 19 Aug 2002 13:22:52 +0100 (BST) Date: Mon, 19 Aug 2002 13:22:52 +0100 From: Josef Karthauser To: current@freebsd.org Subject: broken c++? Message-ID: <20020819122252.GA3107@genius.tao.org.uk> Mail-Followup-To: Josef Karthauser , current@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ew6BAiZeqk4r7MaW" Content-Disposition: inline User-Agent: Mutt/1.5.1i 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 --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Is it just me or is libstdc++ linking broken on -current right now? Kde3 complains: c++ -DNDEBUG -DNO_DEBUG -O2 -O -pipe -march=3Dpentiumpro -fmemoize-look= ups -fsave-memoized -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 -Wl,-export-dynamic -L/usr/X11R6/lib -L/usr/local/lib /usr/local/lib/libkdeui.so /usr/local/lib/libkdecore.so -L/usr/lib /usr/local/lib/libDCOP.so /usr/local/lib/libkdefx.so -lqt-mt -lpng -lz -lXext -lX11 -lSM -lICE -lXrender -lstdc++ -lm -lgcc -ljpeg -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/X11R6/lib checker.o: In function `checkDesktopFile(QString const&, QString)': checker.o(.text+0x53e): undefined reference to `cout' checker.o(.text+0x54b): undefined reference to `ostream::operator<<(cha= r const*)' checker.o(.text+0x57d): undefined reference to `ostream::operator<<(cha= r const*)' checker.o(.text+0x58d): undefined reference to `ostream::operator<<(cha= r const*)' checker.o(.text+0x6f9): undefined reference to `cout' checker.o(.text+0x706): undefined reference to `ostream::operator<<(cha= r const*)' checker.o(.text+0x70e): undefined reference to `endl(ostream&)' checker.o(.text+0x7e9): undefined reference to `cout' checker.o(.text+0x7f2): undefined reference to `ostream::operator<<(cha= r const*)' checker.o(.text+0x7fa): undefined reference to `endl(ostream&)' My own app complains: g++ -g -gstabs+ -D__WXGTK__ -I/usr/X11R6/include -Wall -o Ostberger GeoCube.o GeoCurve.o GeoMCircle.o GeoWorld.o GeometricCanvas.o MyFrame.o Ostberger.o graphics_prims.o time_routines.o curve.o description.o law.o lawworld.o vector.o -L/usr/X11R6/lib -lwx_gtk -lwx_gtk_gl -lGL -lGLU -lglut /usr/X11R6/lib/libwx_gtk.so: warning: mktemp() possibly used unsafely; consider using mkstemp() GeoWorld.o: In function `law::type_string()': /home/joe/Ostberger/src/Ostberger-mk2/law.h:108: undefined reference to= `cout' /home/joe/Ostberger/src/Ostberger-mk2/law.h:109: undefined reference to `ostream::operator<<(char const*)' /home/joe/Ostberger/src/Ostberger-mk2/law.h:109: undefined reference to `ostream::operator<<(int)' etc. Joe --=20 "As far as the laws of mathematics refer to reality, they are not certain; and as far as they are certain, they do not refer to reality." - Albert Einstein, 1921 --ew6BAiZeqk4r7MaW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iEYEARECAAYFAj1g4xsACgkQXVIcjOaxUBbNZwCg1y31ekRbVxU4B1bwIcfsZJym pw4AoNc01m+hLDLW7S+8+OJAvJVs7icg =RaP/ -----END PGP SIGNATURE----- --ew6BAiZeqk4r7MaW-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message