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 642623 - Does not build with --no-add-needed
Does not build with --no-add-needed
Status: RESOLVED DUPLICATE of bug 633948
Product: Evolution Exchange
Classification: Deprecated
Component: Connector
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Connector Maintainer
Ximian Connector QA
Depends on:
Blocks:
 
 
Reported: 2011-02-17 21:22 UTC by Josselin Mouette
Modified: 2011-06-03 13:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Josselin Mouette 2011-02-17 21:22:29 UTC
The package doesn’t build when the linker is passed --no-add-needed (which is now the default in Debian, at least).

This is because server/lib/e2k-autoconfig.c uses res_querydomain which now requires an explicit link to libresolv. Adding -lresolv to libexchange_la_LIBADD does the trick (but you might want to add it in configure.ac instead).
Comment 1 Milan Crha 2011-06-03 11:59:46 UTC
Thanks for a bug report. Does the patch from bug #633948 work for you, please?
Comment 2 Josselin Mouette 2011-06-03 12:20:55 UTC
I have not tested, but I have all reasons to believe that it would fix the bug.
Comment 3 Milan Crha 2011-06-03 13:48:21 UTC
Thanks for the update. So I'm marking this as a duplicate of it. Note that I updated the patch there and committed it to master.

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