Domenico Andreoli a écrit :
Hi,

On Thu, Jul 12, 2007 at 10:01:36PM -0600, Pierre Barbier de Reuille wrote:
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

This is a known issue of 1.34.0. Google will find stuff on this topic,
for instance http://lists.boost.org/Archives/boost/2007/05/121601.php.

Indeed, thank you for the pointer ! I did look for help, but did not find this one :(
It is now almost working, or at least I know where the problem lies.

Thank you,

-- Pierre

Regards,
Domenico

-----[ Domenico Andreoli, aka cavok
 --[ http://www.dandreoli.com/gpgkey.asc
   ---[ 3A0F 2F80 F79C 678A 8936  4FEE 0677 9033 A20E BC50





Reply via email to