Openwrt modemmanager compile error
aleksander at aleksander.es
Tue Feb 20 17:53:02 UTC 2018
>> make: Entering directory
>> CC libmbim_glib_core_la-mbim-device.lo
>> mbim-device.c: In function 'initable_init_async':
>> mbim-device.c:2168:15: error: assignment from incompatible pointer type
>> ctx->self = g_object_ref (initable);
> Oh, I think this is a recent change in GLib, which makes
> g_object_ref() keep the type info in its return value.
> This specific issue is anyway obsolete in MBIM 1.16.0 as that code was
> changed during the switch to GTask. I'd suggest you upgrade to 1.16.0
> and retry.
> Still a little new to this.
> I'm in the libmbim makefile. Where do I find the exact info to put into
> so that I can get the 1.16.0 libmbim
If you want the exact stable version release, you can just refer to
the tag in PKG_SOURCE_VERSION, e.g. this would probably work:
You could probably just get rid of the second one, but as we're
building from git you may want in the future to use a newer commit id
while keeping the PKG_VERSION, or using something like
If you prefer to refer to the commit id instead:
More information about the ModemManager-devel