On Nov 9, 2010, at 12:03 AM, David M. Lee wrote:

On Nov 8, 2010, at 2:19 PM, David M. Lee wrote:

I'm consistently getting segfaults trying to use boost test on my Mac.  The test works fine on Linux.


Even stranger: I only get the segfault if I link against unit_test_framework.

dave
<><


If I #include <boost/test/unit_test.hpp>, I get a linker error:

g++ -o simple-test simple-test.cpp -lboost_unit_test_framework
Undefined symbols:
  "_main", referenced from:
      start in crt1.10.6.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

dave
<><