MM compile Fails: error: unknown type name 'GTestDBus'
Aleksander Morgado
aleksander at aleksander.es
Fri Apr 17 00:26:20 PDT 2015
On Fri, Apr 17, 2015 at 2:45 AM, Ali Nematollahi <alirezan1 at gmail.com> wrote:
> 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,
Oh, looks like you have GLib/GIO 2.32 (which is the minimum required
version of ModemManager) but we unconditionally try to compile the
dbus testing support which comes only with GLib/GIO 2.34; that's a bug
in the building setup of ModemManager, will get that fixed.
You could try to install the new GLib version meanwhile, if possible.
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list