GNOME Bugzilla – Bug 670956
glib-networking: Undefined references to glib symbols in pkcs11 TLS backend
Last modified: 2012-02-28 13:21:39 UTC
In glib-networking pkcs11 TLS backend, the libgiopkcs11.la convenience library isn't linked with glib. This makes linking fail on platforms that don't allow undefined symbols, like win32: CCLD pkcs11-util.exe ../../tls/pkcs11/.libs/libgiopkcs11.a(gpkcs11util.o): In function `g_pkcs11_get_error_domain': glib-networking/tls/pkcs11/gpkcs11util.c:38: undefined reference to `g_once_init_enter' glib-networking/tls/pkcs11/gpkcs11util.c:40: undefined reference to `g_quark_from_static_string' glib-networking/tls/pkcs11/gpkcs11util.c:41: undefined reference to `g_once_init_leave' ../../tls/pkcs11/.libs/libgiopkcs11.a(gpkcs11util.o): In function `g_pkcs11_propagate_error': glib-networking/tls/pkcs11/gpkcs11util.c:56: undefined reference to `g_set_error_literal' collect2: error: ld returned 1 exit status
Created attachment 208562 [details] [review] pkcs11: Link libgiopkcs11.la against glib
Comment on attachment 208562 [details] [review] pkcs11: Link libgiopkcs11.la against glib looks right
Review of attachment 208562 [details] [review]: Thanks, pushed to master as 28f8b68