On SuSE Linux 9.1 using both my own build of boost 1.31, and SuSE provided rpms, as well as both my own build of gcc 3.3.3 and the one from SuSE, I was not able to build this file found in the boost source tree boost_1_31_0/libs/test/example/exec_mon_example.cpp It can also be found here: http://www.boost.org/libs/test/example/exec_mon_example.cpp This is what happens: $ g++ -o exec exec_mon_example.cpp /tmp/ccGtnzc0.o(.text+0x107): In function `main': : undefined reference to `boost::execution_monitor::execute(bool, int)' collect2: ld returned 1 exit status I've also tried variation of the following: g++ -o exec exec_mon_example.cpp -L /org/boost/lib -l \ boost_test_exec_monitor-gcc /opt/org/boost/lib/libboost_test_exec_monitor-gcc.so: undefined reference to `test_main(int, char**)' collect2: ld returned 1 exit status Does this compile for other Linux users? Any suggestions? -- Regards, Steven
participants (1)
-
Steven T. Hatton