#3369: NetworkManager fails to build
-----------------------------+----------------------------------------------
Reporter: pierre.labastie | Owner: blfs-book@…
Type: defect | Status: new
Priority: normal | Milestone: current
Component: BOOK | Version: SVN
Severity: normal | Keywords:
-----------------------------+----------------------------------------------
I do not know exactly whether it comes from the new GnuTLS version or
gcc-4.7, but NetworkManager does not build and ends up with the error:
{{{
crypto_gnutls.c: In function 'crypto_verify_cert':
crypto_gnutls.c:354:2: error: 'gnutls_datum' is deprecated (declared at
/usr/include/gnutls/gnutls.h:716) [-Werror=deprecated-declarations]
crypto_gnutls.c: In function 'crypto_verify_pkcs12':
crypto_gnutls.c:394:2: error: 'gnutls_datum' is deprecated (declared at
/usr/include/gnutls/gnutls.h:716) [-Werror=deprecated-declarations]
crypto_gnutls.c: In function 'crypto_verify_pkcs8':
crypto_gnutls.c:448:2: error: 'gnutls_datum' is deprecated (declared at
/usr/include/gnutls/gnutls.h:716) [-Werror=deprecated-declarations]
cc1: all warnings being treated as errors
make[5]: *** [libnm_util_la-crypto_gnutls.lo] Error 1
make[5]: Leaving directory `/sources/NetworkManager/NetworkManager-0.9.4.0
/libnm-util'
[...]
}}}
The following sed allows to build:
{{{
sed -i 's/gnutls_datum /gnutls_datum_t /' libnm-util/crypto_gnutls.c
}}}
Be sure to include the spaces before the 2nd and 3rd /
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/3369>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page