[luabind] Luabind test suite
Brought to you by:
arvidn,
daniel_wallin
From: Andrey F. <af...@sv...> - 2004-07-25 23:28:44
|
Hello All, After I add the GNU replacement of missing "sstream" header (GCC 2.95.3, FreeBSD 4.3), library compiles and links fine, but tests won't link. What might be the case? Is it boost's bug? On Linux everything links fine. Btw, if possible, please avoid (or make optional) the use of sstream header, because it broke compatibility with FreeBSD 4.x branch, which has no sstream header in it's distribution. :-( It's not always possible to upgrade to GCC 3.x+, GCC 2.95.x is still widely used... g++ -g main.o test_attributes.o test_const.o test_construction.o test_exceptions.o test_free_functions.o test_held_type.o test_implicit_cast.o test_iterator.o test_lua_classes.o test_null_pointer.o test_object.o test_operators.o test_policies.o test_scope.o test_separate_registration.o test_separation.o test_typetraits.o test_yield.o -L/home/zmey/rmud/src/lua/lib -L../lib -lluabind -llua -llualib -o test_luabind main.o: In function `lua_state::lua_state(void)': /home/zmey/rmud/src/luabind/test/main.cpp(.gnu.linkonce.t.__Q45boost6detail17lightweight_mutex11scoped_lockRQ35boost6detail17lightweight_mutex+0x17): undefined reference to `pthread_mutex_lock' /home/zmey/rmud/src/luabind/test/main.cpp(.gnu.linkonce.t._$_Q45boost6detail17lightweight_mutex11scoped_lock+0x15): undefined reference to `pthread_mutex_unlock' /home/zmey/rmud/src/luabind/test/main.cpp(.gnu.linkonce.t.__Q35boost6detail17lightweight_mutex+0x11): undefined reference to `pthread_mutex_init' /home/zmey/rmud/src/luabind/test/main.cpp(.gnu.linkonce.t._$_Q35boost6detail17lightweight_mutex+0x13): undefined reference to `pthread_mutex_destroy' gmake[1]: *** [test_luabind] Error 1 gmake[1]: Leaving directory `/usr/home/zmey/rmud/src/luabind/test' gmake: *** [all] Error 2 -- Best regards, Andrey mailto:af...@sv... |