From owner-freebsd-questions Wed Nov 6 15:56:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13D7237B401 for ; Wed, 6 Nov 2002 15:56:25 -0800 (PST) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D41D43E42 for ; Wed, 6 Nov 2002 15:56:24 -0800 (PST) (envelope-from rehsack@liwing.de) Received: (qmail 48173 invoked from network); 6 Nov 2002 23:56:23 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 6 Nov 2002 23:56:23 -0000 Message-ID: <3DC9ABFA.4010906@liwing.de> Date: Thu, 07 Nov 2002 00:55:38 +0100 From: Jens Rehsack Organization: LiWing IT-Services User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@freebsd.org Subject: Re: linker error References: <3DC97BD5.7020205@liwing.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jens Rehsack wrote: > Hi, > > I'm trying to get the current release of id3lib running, because there > is an open PR 44449 which could be closed with this update. I fixed the > autoconf files (Makefile.am, aclocal.m4) which bugs a little bit and > tried to build. > It build fine til examples where comes following message: > gmake[2]: Entering directory > `/usr/ports/audio/id3lib38/work/id3lib-3.8.1/examples' > source='demo_info.cpp' object='demo_info.o' libtool=no \ > depfile='.deps/demo_info.Po' tmpdepfile='.deps/demo_info.TPo' \ > depmode=gcc3 /bin/sh ../depcomp \ > c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/local/include -O2 > -pipe -DNO_WERROR -march=pentium2 -Wall -Wno-unused -Wno-inline > -Woverloaded-virtual -Wmissing-declarations -c -o demo_info.o `test -f > 'demo_info.cpp' || echo './'`demo_info.cpp > /bin/sh ../libtool --mode=link c++ -O2 -pipe -DNO_WERROR > -march=pentium2 -Wall -Wno-unused -Wno-inline -Woverloaded-virtual > -Wmissing-declarations -L/usr/local/lib -o id3info demo_info_options.o > demo_info.o ../src/libid3.la -lz -liconv > c++ -O2 -pipe -DNO_WERROR -march=pentium2 -Wall -Wno-unused -Wno-inline > -Woverloaded-virtual -Wmissing-declarations -o .libs/id3info > demo_info_options.o demo_info.o -L/usr/local/lib ../src/.libs/libid3.so > -lz -liconv -Wl,--rpath -Wl,/usr/local/lib > ../src/.libs/libid3.so: undefined reference to > `std::char_traits::compare(wchar_t const*, wchar_t const*, > unsigned)' > ../src/.libs/libid3.so: undefined reference to > `std::basic_string, > std::allocator >::basic_string(std::basic_string std::char_traits, std::allocator > const&)' > ../src/.libs/libid3.so: undefined reference to > `std::basic_string, > std::allocator >::_Rep::_M_destroy(std::allocator > const&)' > ../src/.libs/libid3.so: undefined reference to > `std::basic_string, > std::allocator >::_S_empty_rep_storage' > ../src/.libs/libid3.so: undefined reference to > `std::basic_string, > std::allocator >::append(unsigned, wchar_t)' > ../src/.libs/libid3.so: undefined reference to > `std::basic_string, > std::allocator >::reserve(unsigned)' > gmake[2]: *** [id3info] Error 1 > gmake[2]: Leaving directory > `/usr/ports/audio/id3lib38/work/id3lib-3.8.1/examples' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/usr/ports/audio/id3lib38/work/id3lib-3.8.1' > gmake: *** [all] Error 2 > *** Error code 2 > > What can I do to get it running? Found it out - eg. like decribed in http://gcc.gnu.org/ml/gcc-help/2002-10/msg00030.html - now I need to know how to di it in FreeBSD-Current (and maybe in gcc32 port) Jens -- L i W W W i Jens Rehsack L W W W L i W W W W i nnn gggg LiWing IT-Services L i W W W W i n n g g LLLL i W W i n n g g Friesenstraße 2 gggg 06112 Halle g g g Tel.: +49 - 3 45 - 5 17 05 91 ggg e-Mail: Fax: +49 - 3 45 - 5 17 05 92 http://www.liwing.de/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message