Hi,

I get:
----------
make[4]: Entering directory '/sources/libqmi/libqmi-1.22.4/src/libqmi-glib'
  CC       libqmi_glib_la-qmi-device.lo
qmi-device.c: In function ‘qmi_device_init’:
qmi-device.c:3139:13: error: G_ADD_PRIVATE [-Werror]
 3139 |                                               QmiDevicePrivate);
      |             ^
cc1: all warnings being treated as errors
----------

Note that the message is cryptic, but it means that some macro is deprecated.
That sends a warning, and since -Werror is enabled, an error is generated. The
solution is to add "--enable-more-warnings" to the configure invocation.
Reason: --enable-more-warnings can take 3 values: no/yes/error, where error
means yes+error, and is the default...

Now, there is a new version of libqmi, and I see that they will "Explicitly
define max allowed GLib version", which might cure the problem. Will try,
since it's just been added to the book.

Pierre

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to