Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Nov 2002 21:30:13 +0100
From:      Jens Rehsack <rehsack@liwing.de>
To:        questions@freebsd.org
Subject:   linker error
Message-ID:  <3DC97BD5.7020205@liwing.de>

next in thread | raw e-mail | index | archive | help
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<wchar_t>::compare(wchar_t const*, wchar_t const*, 
unsigned)'
../src/.libs/libid3.so: undefined reference to 
`std::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> >::basic_string(std::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)'
../src/.libs/libid3.so: undefined reference to 
`std::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> >::_Rep::_M_destroy(std::allocator<wchar_t> const&)'
../src/.libs/libid3.so: undefined reference to 
`std::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> >::_S_empty_rep_storage'
../src/.libs/libid3.so: undefined reference to 
`std::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> >::append(unsigned, wchar_t)'
../src/.libs/libid3.so: undefined reference to 
`std::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> >::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: <rehsack@liwing.de>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DC97BD5.7020205>