Jag försökte följa guiden på http://developer.telldus.se/wiki/TellSt ... hesoftware för att testa senaste versionen programvaran.
Så här ser byggloggen ut (eller, så här återskapar ni problemet )
:
Code: Select all
/var/tmp> svn co http://svn.telldus.se/telldus/trunk/telldus-core
A telldus-core/cruise_config.rb
...
A telldus-core/README
Checkade ut revision 335.
/var/tmp> cd telldus-core
/var/tmp/telldus-core> cmake -DBUILD_LIBTELLDUS-CORE=0 -DBUILD_RFCMD_WITH_LIBFTDI=0 .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/telldus-core
/var/tmp/telldus-core> make
Scanning dependencies of target tdtool
[ 50%] Building CXX object tdtool/CMakeFiles/tdtool.dir/main.cpp.o
Linking CXX executable tdtool
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ltelldus-core
collect2: ld returnerade avslutningsstatus 1
make[2]: *** [tdtool/tdtool] Fel 1
make[1]: *** [tdtool/CMakeFiles/tdtool.dir/all] Fel 2
make: *** [all] Fel 2
Resultatet blir detsamma oavsett om man väljer att bygga mot libftdi eller inte.
Verkar som om tdtool länkar mot telldus-core lib men Makefilen saknar beroendet då telldus-core inte verkar byggas.
Är det mig, wiki:n eller koden det är fel på ?