Just fetched a fresh trunk, trying to compile on FreeBSD 8.2. Unfortunately it seems to have some problems. After 'cmake .&& make' it gets stuck on linking tdtool:
So.. Trying to link, with the telldus-core library, but no library path set pointing to the just built library? Or rather, there isn't even a .so file built, no .so-files whatsoever! The static lib is there though (driver/libtelldus-core/libtelldus-core-lib.a).back-1 ~/telldus/telldus-core$ make VERBOSE=1
/usr/local/bin/cmake -H/home/johan/telldus/telldus-core -B/home/johan/telldus/telldus-core --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/bin/cmake -E cmake_progress_start /home/johan/telldus/telldus-core/CMakeFiles /home/johan/telldus/telldus-core/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make -f driver/libtelldus-core/CMakeFiles/telldus-core-lib.dir/build.make driver/libtelldus-core/CMakeFiles/telldus-core-lib.dir/depend
cd /home/johan/telldus/telldus-core && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /home/johan/telldus/telldus-core /home/johan/telldus/telldus-core/driver/libtelldus-core /home/johan/telldus/telldus-core /home/johan/telldus/telldus-core/driver/libtelldus-core /home/johan/telldus/telldus-core/driver/libtelldus-core/CMakeFiles/telldus-core-lib.dir/DependInfo.cmake --color=
make -f driver/libtelldus-core/CMakeFiles/telldus-core-lib.dir/build.make driver/libtelldus-core/CMakeFiles/telldus-core-lib.dir/build
/usr/local/bin/cmake -E cmake_progress_report /home/johan/telldus/telldus-core/CMakeFiles 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
[ 57%] Built target telldus-core-lib
make -f telldus-service/service/CMakeFiles/telldusd.dir/build.make telldus-service/service/CMakeFiles/telldusd.dir/depend
cd /home/johan/telldus/telldus-core && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /home/johan/telldus/telldus-core /home/johan/telldus/telldus-core/telldus-service/service /home/johan/telldus/telldus-core /home/johan/telldus/telldus-core/telldus-service/service /home/johan/telldus/telldus-core/telldus-service/service/CMakeFiles/telldusd.dir/DependInfo.cmake --color=
make -f telldus-service/service/CMakeFiles/telldusd.dir/build.make telldus-service/service/CMakeFiles/telldusd.dir/build
/usr/local/bin/cmake -E cmake_progress_report /home/johan/telldus/telldus-core/CMakeFiles 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
[ 97%] Built target telldusd
make -f tdtool/CMakeFiles/tdtool.dir/build.make tdtool/CMakeFiles/tdtool.dir/depend
cd /home/johan/telldus/telldus-core && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /home/johan/telldus/telldus-core /home/johan/telldus/telldus-core/tdtool /home/johan/telldus/telldus-core /home/johan/telldus/telldus-core/tdtool /home/johan/telldus/telldus-core/tdtool/CMakeFiles/tdtool.dir/DependInfo.cmake --color=
make -f tdtool/CMakeFiles/tdtool.dir/build.make tdtool/CMakeFiles/tdtool.dir/build
Linking CXX executable tdtool
cd /home/johan/telldus/telldus-core/tdtool && /usr/local/bin/cmake -E cmake_link_script CMakeFiles/tdtool.dir/link.txt --verbose=1
/usr/bin/c++ CMakeFiles/tdtool.dir/main.cpp.o -o tdtool -L/usr/local/lib -ltelldus-core -Wl,-rpath,/usr/local/lib:
/usr/bin/ld: cannot find -ltelldus-core
*** Error code 1
Looking closer at driver for a shared lib:
Don't know if a shared lib is supposed to be built though.back-1 ~/telldus/telldus-core/driver$ make clean
back-1 ~/telldus/telldus-core/driver$ make
[ 4%] Building CXX object driver/libtelldus-core/CMakeFiles/telldus-core-lib.dir/Device.cpp.o
[ 9%] Building CXX object driver/libtelldus-core/CMakeFiles/telldus-core-lib.dir/DeviceBrateck.cpp.o
[ 13%] Building CXX object driver/libtelldus-core/CMakeFiles/telldus-core-lib.dir/DeviceEverflourish.cpp.o
...
[100%] Building CXX object driver/libtelldus-core/CMakeFiles/telldus-core-lib.dir/linux/Device.cpp.o
Linking CXX static library libtelldus-core-lib.a
[100%] Built target telldus-core-lib
So, should it use a shared or a static library, and what modifications is required to make it build?
Thanks!