From owner-freebsd-questions Wed Nov 6 12:31:21 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 29B6637B401 for ; Wed, 6 Nov 2002 12:31:19 -0800 (PST) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8468343E75 for ; Wed, 6 Nov 2002 12:31:17 -0800 (PST) (envelope-from rehsack@liwing.de) Received: (qmail 98340 invoked from network); 6 Nov 2002 20:31:15 -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 20:31:15 -0000 Message-ID: <3DC97BD5.7020205@liwing.de> Date: Wed, 06 Nov 2002 21:30:13 +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: linker error 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 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::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? 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