QMICLI

Aleksander Morgado aleksander at aleksander.es
Wed Oct 7 10:38:40 UTC 2020


Hey,

>
> In file included from /usr/include/libmbim-glib/libmbim-glib.h:40,
>                  from qmi-endpoint-mbim.c:27:
> /usr/include/libmbim-glib/mbim-enum-types.h:978:14: error: redundant redeclaration of ‘mbim_context_type_get_string’ [-Werror=redundant-decls]
>  const gchar *mbim_context_type_get_string (MbimContextType val);
>               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/libmbim-glib/libmbim-glib.h:32,
>                  from qmi-endpoint-mbim.c:27:
> /usr/include/libmbim-glib/mbim-uuid.h:281:14: note: previous declaration of ‘mbim_context_type_get_string’ was here
>  const gchar *mbim_context_type_get_string (MbimContextType val);
>               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> this variable: mbim_context_type_get_string is declered two time? true? how can i skip this error?
>

This was an issue in libmbim if I'm not mistaken. You should build and
install libmbim from git master
(https://gitlab.freedesktop.org/mobile-broadband/libmbim.git) or
otherwise build libqmi without MBIM support, e.g. running configure
with the additional --disable-mbim-qmux option.

-- 
Aleksander
https://aleksander.es


More information about the libqmi-devel mailing list