compiling telepathy-qt 0.9.0 fails with error (cmake without any errors): ... [ 89%] Building CXX object tests/dbus/CMakeFiles/test-conn-addressing.dir/conn-addressing.cpp.o Linking CXX executable test-conn-addressing ../lib/glib/future/conn-addressing/libfuture-example-conn-addressing.a(conn.c.o): In function `tp_tests_addressing_connection_get_type': /home/robby/Download/Prgs/telepathy/telepathy-qt4/tests/lib/glib/future/conn-addressing/conn.c:31: undefined reference to `tp_tests_contacts_connection_get_type' collect2: ld returned 1 exit status make[2]: *** [tests/dbus/test-conn-addressing] Error 1 make[1]: *** [tests/dbus/CMakeFiles/test-conn-addressing.dir/all] Error 2 make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: 1. download sources from "http://cgit.freedesktop.org/telepathy/telepathy-qt4/snapshot/telepathy-qt-0.9.0.tar.gz" or download via git clone git://anongit.freedesktop.org/telepathy/telepathy-qt4 2. mkdir build 3. cd build 4. cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` 5. make -j 2 Actual Results: error message Expected Results: sources compile i am running kubuntu oneiric with kde 4.7.4.
Not nice at all. Sorry! Andre, could this have something to do with the conditionally compiled in tests? Robby, which Qt version do you have?
I am using Qt version 4.7.4 under ubuntu oneiric. Can I disable to comile these tests?
You can try commenting out (prefix with the '#' character) the line > tpqt_add_dbus_unit_test(ConnectionAddressing conn-addressing tp-glib-tests tp-qt-tests-glib-helpers) in telepathy-qt/tests/dbus/CMakeLists.txt But there is something weird here: the tp-glib-tests static utility library which is mentioned as a dependency in that line should contain that symbol in all cases. Excerpt from nm(1) dump for me: > <more:~/work/telepathy-qt/build> nm tests/lib/glib/libtp-glib-tests.so | > grep contacts_connection_get_type > 000000000000daf0 T tp_tests_contacts_connection_get_type Thus, you'll possibly hit a different compilation issue later on.
I just tried compilation after commenting out the mentioned line. All went without any errors.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.