Comment 146 for bug 868034

Revision history for this message
Bartosz Kosiorek (gang65) wrote : Re: Huawei E220 and E1550 can't connect on Ubuntu 11.10

I tested "ports" branch on Ubuntu 11.10 Oneiric and it seems work.
I will test it further, and attach debug logs.

By the way: I cannot build on Ubuntu 12.04 Precise. It display warnings/errors:

CC modem_manager-mm-modem.o
mm-modem.c: In function ‘value_array_add_uint’:
mm-modem.c:289:5: error: ‘g_value_array_append’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:71): Use 'g_array_append_vals' instead [-Werror=deprecated-declarations]
mm-modem.c: In function ‘get_ip4_done’:
mm-modem.c:310:9: error: ‘g_value_array_new’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:58): Use 'g_array_new' instead [-Werror=deprecated-declarations]
mm-modem.c: In function ‘info_call_done’:
mm-modem.c:395:9: error: ‘g_value_array_new’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:58): Use 'g_array_new' instead [-Werror=deprecated-declarations]
mm-modem.c:400:9: error: ‘g_value_array_append’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:71): Use 'g_array_append_vals' instead [-Werror=deprecated-declarations]
mm-modem.c:406:9: error: ‘g_value_array_append’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:71): Use 'g_array_append_vals' instead [-Werror=deprecated-declarations]
mm-modem.c:412:9: error: ‘g_value_array_append’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:71): Use 'g_array_append_vals' instead [-Werror=deprecated-declarations]
cc1: all warnings being treated as errors

Is it possible to fix this warnings/errors?