Bug#260384: Package: libstdc++3-dev
Package: libstdc++3-dev
Version: 3.0.4-7
don't know if this is really a bug, while
trying to install cppunit-1.10.2
http://sourceforge.net/projects/cppunit
i got a compile error:
g++ -g -O2 -o .libs/DllPlugInTester DllPlugInTester.o
CommandLineParser.o -ldl ../../src/cppunit/.libs/libcppunit.so
-Wl,--rpath -Wl,/usr/local/lib
../../src/cppunit/.libs/libcppunit.so: undefined reference to
`__cxa_demangle'
collect2: ld returned 1 exit status
make: *** [DllPlugInTester] Error 1
so i run some grep...
flashdeb:~# dpkg -L libstdc++3-dev | xargs grep __cxa_demangle
2>/dev/null
/usr/include/g++-v3/cxxabi.h:char *__cxa_demangle (const char
*__mangled_name,
flashdeb:~#
i found the function/symbol only in a header but nowhere in a lib
unfortunately in the configure script of the cppunit they did just
check if the test program compiles but not if it links ;-)
my debian is woody 3.0rc2
kernel:
flashdeb:~# dpkg -l "*kernel*" | grep ii
ii kernel-image-2 2.4.18-5woody8 Linux kernel image for version 2.4.18
(bf va
flashdeb:~#
libc
flashdeb:~# dpkg -l "*libc*" | grep ii
ii libc6 2.2.5-11.5 GNU C Library: Shared libraries and
Timezone
ii libc6-dev 2.2.5-11.5 GNU C Library: Development Libraries
and Hea
ii libcap1 1.10-12 support for getting/setting POSIX.1e
capabil
ii libstdc++2.10- 2.95.4-11woody The GNU stdc++ library
flashdeb:~#
flashdeb:~# dpkg -l "*c++*" | grep ii
ii libstdc++2.10- 2.95.4-11woody The GNU stdc++ library (development
files)
ii libstdc++2.10- 2.95.4-11woody The GNU stdc++ library
ii libstdc++3 3.0.4-7 The GNU stdc++ library version 3
ii libstdc++3-dev 3.0.4-7 The GNU stdc++ library version 3
(developmen
flashdeb:~#
what lib must i link against ?
is this a debian package bug ?
cheers, peter
--
Supercomputing Systems AG email: fercher@scs.ch
Peter Fercher web: http://www.scs.ch/~fercher/
Technoparkstrasse 1 phone: +41 43 456 16 31
CH-8005 Zurich fax: +41 1 445 16 10
Reply to: