On 04/01/2012 08:38, Timothy Pearson wrote:
CMakeFiles/tdecore-shared.dir/ktimezones.cpp.o -Wl,-whole-archive network/libtdecorenetwork.a -Wl,-no-whole-archive ../libltdl/libltdlc.a ../dcop/libDCOP.so.4.2.0 ../tdefx/libtdefx.so.4.2.0 -lz -lXcomposite -lICE -lSM -ldl -ltqt -lqt-mt -lXrender -lX11 -Wl,-rpath,/tmp/tdelibs/dcop:/tmp/tdelibs/tdefx:
CMakeFiles/tdecore-shared.dir/kpty.cpp.o: In function `KPty::login(char const*, char const*)': kpty.cpp:(.text+0xbd5): undefined reference to `login' CMakeFiles/tdecore-shared.dir/kpty.cpp.o: In function `KPty::logout()': kpty.cpp:(.text+0xc52): undefined reference to `logout' collect2: ld returned 1 exit status make[2]: *** [tdecore/libtdecore.so.4.2.0] Error 1 make[2]: Leaving directory `/tmp/tdelibs' make[1]: *** [tdecore/CMakeFiles/tdecore-shared.dir/all] Error 2 make[1]: Leaving directory `/tmp/tdelibs' make: *** [all] Error 2
I'm not a developer and having trawled the web without success I'm pretty much stumped at this point. Anybody got any ideas? If more info is needed just let me know.
Cheers, Mike.
I have noticed that Wheezy has issues with its CMake packages in general (as far as I can tell these problems are not restricted to TDE).
Here is something similar: http://comments.gmane.org/gmane.linux.uclinux.microblaze/11253
If lutil needs to be explicitly linked against, it would indicate that this system library is not being automatically detected/used by CMake on Wheezy.
Tim
Thanks. cmake's failure to link against util was indeed the problem.
Mike.