After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 755928 - Connection test doesn't build when --without-pkcs11 is set
Connection test doesn't build when --without-pkcs11 is set
Status: RESOLVED DUPLICATE of bug 728977
Product: glib
Classification: Platform
Component: network
unspecified
Other Mac OS
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2015-10-01 09:54 UTC by fakey
Modified: 2017-08-23 09:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix build if configured with --without-pkcs11 (801 bytes, patch)
2015-10-01 09:58 UTC, fakey
accepted-commit_now Details | Review

Description fakey 2015-10-01 09:54:13 UTC
On Mac OS if glib-networking is configured with '--without-pkcs11', the connection test fails to build with:

  CCLD     connection
Undefined symbols for architecture x86_64:
  "_main", referenced from:
     implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

It's because connection_SOURCES is accidentally inside the 'if HAVE_PKCS11'.
Comment 1 fakey 2015-10-01 09:58:44 UTC
Created attachment 312471 [details] [review]
Fix build if configured with --without-pkcs11
Comment 2 Emmanuele Bassi (:ebassi) 2015-10-01 10:48:30 UTC
Review of attachment 312471 [details] [review]:

Sure.
Comment 3 Sébastien Wilmet 2016-12-27 20:02:42 UTC
Review of attachment 312471 [details] [review]:

This patch doesn't apply on master.
Comment 4 Philip Withnall 2017-08-23 09:38:13 UTC
This was fixed by bug #728977.

*** This bug has been marked as a duplicate of bug 728977 ***