[pkg-boost-devel] Bug#432921: libboost-test-dev: 'main' function not found in boost_unit_test_framework

Pierre Barbier de Reuille p.barbierdereuille at free.fr
Fri Jul 13 04:01:36 UTC 2007

Package: libboost-test-dev
Version: 1.34.0-1+b1
Severity: important

While compiling unit tests using the unit_test_suite facility, the 
linker report:

/usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/crt1.o: In function 
`_start': (.text+0x18): undefined reference to `main'

The same error occurs when trying to compile examples:
 - unit_test_example_02.cpp
 - unit_test_example_03.cpp
 - unit_test_example_11.cpp

Also, the exact same program works without problem with the unit test 
framework 1.33


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (800, 'unstable'), (500, 'testing'), (50, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18ibm
Locale: LANG=fr_FR at euro, LC_CTYPE=fr_FR at euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages libboost-test-dev depends on:
ii  libboost-dev                 1.34.0-1+b1 Boost C++ Libraries development fi
ii  libboost-test1.34.0          1.34.0-1+b1 components for writing and executi

libboost-test-dev recommends no packages.

-- no debconf information

More information about the pkg-boost-devel mailing list