modemmanager compile problem
Aleksander Morgado
aleksander at lanedo.com
Thu Aug 23 23:28:37 PDT 2012
>>> Some hints (assuming modem at index 0):
>>> $> sudo mmcli -m 0 \
>>>
>>> --simple-connect="pin=1234,apn=something,ip-type=ipv6" \
>>> --verbose
>>>
>>> Cheers!
>
> make[2]: Entering directory `/home/thomas/lib-qmi/mm/ModemManager/src'
> Making all in .
> make[3]: Entering directory `/home/thomas/lib-qmi/mm/ModemManager/src'
> CC ModemManager-mm-bearer-qmi.o
> mm-bearer-qmi.c: In function 'connect_context_step':
> mm-bearer-qmi.c:227:66: error: 'ip_type' may be used uninitialized in this
> function [-Werror=uninitialized]
> mm-bearer-qmi.c:190:20: note: 'ip_type' was declared here
> cc1: all warnings being treated as errors
>
> make[3]: *** [ModemManager-mm-bearer-qmi.o] Error 1
> make[3]: Leaving directory `/home/thomas/lib-qmi/mm/ModemManager/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/thomas/lib-qmi/mm/ModemManager/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/thomas/lib-qmi/mm/ModemManager'
> make: *** [all] Error 2
> thomas at hpmini:~/lib-qmi/mm/ModemManager>
>
Oops; strange that I didn't get that. Different gcc versions I guess.
Should be fixed now.
--
Aleksander
More information about the libqmi-devel
mailing list