MM compile Fails: error: unknown type name 'GTestDBus'

Ali Nematollahi alirezan1 at gmail.com
Thu Apr 16 17:45:26 PDT 2015


Hi

I am using Debian Wheezy 7.5 on an embedded target. I'm trying to install
ModemManager on it. I tried apt-get and it installed a very old version.
Version which does not have a support for Cinterion modems.
I've got the 1.4.6 source and I'm trying to build it on the actual target.
It works well all through to compiling the plugins (which is what i
actually really want!!) and it fails with the following


make[3]: Leaving directory `/root/ModemManager-1.4.6/src/tests'
make[2]: Leaving directory `/root/ModemManager-1.4.6/src'
Making all in plugins
make[2]: Entering directory `/root/ModemManager-1.4.6/plugins'
  CC     tests/libmm_test_common_la-test-fixture.lo
In file included from tests/test-fixture.c:16:0:
tests/test-fixture.h:30:5: error: unknown type name 'GTestDBus'
tests/test-fixture.c: In function 'test_fixture_setup':
tests/test-fixture.c:25:5: warning: implicit declaration of function
'g_test_dbus_new' [-Wimplicit-function-declaration]
tests/test-fixture.c:25:38: error: 'G_TEST_DBUS_NONE' undeclared (first use
in this function)
tests/test-fixture.c:25:38: note: each undeclared identifier is reported
only once for each function it appears in
tests/test-fixture.c:30:5: warning: implicit declaration of function
'g_test_dbus_add_service_dir' [-Wimplicit-function-declaration]
tests/test-fixture.c:33:5: warning: implicit declaration of function
'g_test_dbus_up' [-Wimplicit-function-declaration]
tests/test-fixture.c: In function 'test_fixture_teardown':
tests/test-fixture.c:77:5: warning: implicit declaration of function
'g_test_dbus_down' [-Wimplicit-function-declaration]
make[2]: *** [tests/libmm_test_common_la-test-fixture.lo] Error 1
make[2]: Leaving directory `/root/ModemManager-1.4.6/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/ModemManager-1.4.6'
make: *** [all] Error 2


I have googled this issue but I can't find any help on this. Am I missing
something?

I use the following ./configure:

./configure --without-mbim --without-qmi


Any help is greatly appreciated,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/modemmanager-devel/attachments/20150416/633665d3/attachment.html>


More information about the ModemManager-devel mailing list