Openwrt modemmanager compile error

Russ Westrem lspwaterproofing at gmail.com
Tue Feb 20 17:46:20 UTC 2018


On Feb 20, 2018 5:56 AM, "Aleksander Morgado" <aleksander at aleksander.es>
wrote:

On Tue, Feb 20, 2018 at 1:29 AM, Russ Westrem
<lspwaterproofing at gmail.com> wrote:
>
> make[8]: Entering directory '/home/russ/MM/source/build_
dir/target-arm_cortex-a9+vfpv3_musl_eabi/libmbim-1.15.
0-20161123/src/libmbim-glib'
>   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
[-Werror=incompatible-pointer-types]
>      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
PKG_VERSION
And
PKG_SOURCE_VERSION

so that I can get the 1.16.0 libmbim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20180220/3c300441/attachment.html>


More information about the ModemManager-devel mailing list