[Buildroot] libqmi and modem-manager

Matthew Weber matthew.weber at rockwellcollins.com
Thu May 11 13:03:53 UTC 2017


Vicente,

On Thu, May 11, 2017 at 8:01 AM, Vicente Olivert Riera
<Vincent.Riera at imgtec.com> wrote:
> Hello Thomas and Matthew,
>
> this commit from Matthew broke libqmi compilation:
>
> https://git.busybox.net/buildroot/commit/?id=c78b65c4f161ec101ff02880788ef22eb7c87d76
>
> Then this commit from Thomas fixed the former bogus commit and libqmi
> started to compile file again:
>
> https://git.busybox.net/buildroot/commit/?id=4d11848a21d4424a04e8428c4cd3bd5e972aacdf
>
> The problem is that now modem-manager with qmi support fails to compile
> with an error like this one:
>
>   CC       mm-modem-helpers-qmi.lo
> In file included from
> /br/output/host/usr/mips64el-buildroot-linux-gnu/sysroot/usr/include/libqmi-glib/qmi-message.h:39:0,
>                  from
> /br/output/host/usr/mips64el-buildroot-linux-gnu/sysroot/usr/include/libqmi-glib/qmi-device.h:34,
>                  from
> /br/output/host/usr/mips64el-buildroot-linux-gnu/sysroot/usr/include/libqmi-glib/libqmi-glib.h:32,
>                  from mm-modem-helpers-qmi.h:22,
>                  from mm-modem-helpers-qmi.c:16:
> /br/output/host/usr/mips64el-buildroot-linux-gnu/sysroot/usr/include/libqmi-glib/qmi-utils.h:37:15:
> error: static declaration of ‘canonicalize_file_name’ follows non-static
> declaration
>  static char * canonicalize_file_name(const char *path)
>
> If I revert both commits modem-manager with qmi support compiles just fine.
>
> Could you please have a look to that issue?
>
> This is the defconfig I'm using:
>
> BR2_mipsel=y
> BR2_mips_32r2=y
> # BR2_MIPS_SOFT_FLOAT is not set
> BR2_TOOLCHAIN_EXTERNAL=y
> BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
> BR2_PACKAGE_MODEM_MANAGER=y
> BR2_PACKAGE_MODEM_MANAGER_LIBQMI=y
> # BR2_TARGET_ROOTFS_TAR is not set
>

I'll take a look, sorry about the indirect build failure.



More information about the buildroot mailing list