[pkg-boost-devel] Bug#425264: libboost-test-dev: Linking problem with the basic unit-test library
Brian Sipos
bjs5075 at rit.edu
Sun May 20 14:35:56 UTC 2007
Package: libboost-test-dev
Version: 1.34.0-1
Severity: important
A test program I am using in an M4 script to look for the boost test
library is as follows:
#include <boost/test/auto_unit_test.hpp>
int main() {
return 0;
}
This program fails to link in the latest boost-test development package
with the error:
/tmp/ccIn5vvz.o: In function
`boost::unit_test::unit_test_log_t::unit_test_log_t()':
foo.c:(.text._ZN5boost9unit_test15unit_test_log_tC1Ev[boost::unit_test::unit_test_log_t::unit_test_log_t()]+0x1f):
undefined reference to `vtable for boost::unit_test::unit_test_log_t'
/tmp/ccIn5vvz.o: In function
`boost::unit_test::unit_test_log_t::~unit_test_log_t()':
foo.c:(.text._ZN5boost9unit_test15unit_test_log_tD1Ev[boost::unit_test::unit_test_log_t::~unit_test_log_t()]+0xd):
undefined reference to `vtable for boost::unit_test::unit_test_log_t'
This problem occurs on locally-built boost-test packages as well.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.18-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libboost-test-dev depends on:
ii libboost-dev 1.34.0-1 Boost C++ Libraries development fi
ii libboost-test1.34.0 1.34.0-1 components for writing and executi
libboost-test-dev recommends no packages.
-- no debconf information
More information about the pkg-boost-devel
mailing list