Hi, A colleague and I are experiencing a recurring error when building/rebuilding Wt on Ubuntu 10.04:
../src/Wt/Dbo/backend/libwtdbosqlite3.a(sqlite3.o): In function `unixDlError': /home/danny/lib/wt/stage/wt-3.2.3/src/Wt/Dbo/backend/amalgamation/sqlite3.c:29359: undefined reference to `dlerror' ../src/Wt/Dbo/backend/libwtdbosqlite3.a(sqlite3.o): In function `unixDlClose': /home/danny/lib/wt/stage/wt-3.2.3/src/Wt/Dbo/backend/amalgamation/sqlite3.c:29390: undefined reference to `dlclose' ../src/Wt/Dbo/backend/libwtdbosqlite3.a(sqlite3.o): In function `unixDlSym': /home/danny/lib/wt/stage/wt-3.2.3/src/Wt/Dbo/backend/amalgamation/sqlite3.c:29386: undefined reference to `dlsym' ../src/Wt/Dbo/backend/libwtdbosqlite3.a(sqlite3.o): In function `unixDlOpen': /home/danny/lib/wt/stage/wt-3.2.3/src/Wt/Dbo/backend/amalgamation/sqlite3.c:29345: undefined reference to `dlopen' /home/danny/lib/boost/boost-trunk/stage/lib/libboost_thread.a(thread.o): In function `boost::this_thread::hiden::sleep_for(timespec const&)': thread.cpp:(.text+0xf50): undefined reference to `clock_gettime' /home/danny/lib/boost/boost-trunk/stage/lib/libboost_thread.a(thread.o): In function `boost::this_thread::hiden::sleep_until(timespec const&)': thread.cpp:(.text+0x157d): undefined reference to `clock_gettime' thread.cpp:(.text+0x15eb): undefined reference to `clock_gettime' thread.cpp:(.text+0x1659): undefined reference to `clock_gettime' thread.cpp:(.text+0x16c7): undefined reference to `clock_gettime' /home/danny/lib/boost/boost-trunk/stage/lib/libboost_thread.a(thread.o):thread.cpp:(.text+0x1735): more undefined references to `clock_gettime' follow The problem can be fixed by adding the flags "-lrt" (for clock_gettime) and "-ldl" (for dlerror/dlclose/dlsym/dlopen) to the linker invocation that causes these errors. We worked around the problem by adding these flags manually to the linker invocation, but a proper solution would involve getting CMake to add them. Should I file a bug for this? Thanks, Nate ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest