Re: [blfs-dev] libqmi fails to build with glib-2.62
On 10/09/2019 22:24, Bruce Dubbs via blfs-dev wrote: > On 9/10/19 3:18 PM, Pierre Labastie via blfs-dev wrote: >> 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. > > I just updated to libqmi-1.22.6. Does that help? > Just tried. Yes, they've fixed it. Pierre -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] libqmi fails to build with glib-2.62
On 9/10/19 3:18 PM, Pierre Labastie via blfs-dev wrote: 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. I just updated to libqmi-1.22.6. Does that help? -- Bruce -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
[blfs-dev] libqmi fails to build with glib-2.62
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