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 609864 - fix implicit linking
fix implicit linking
Status: RESOLVED FIXED
Product: gnote
Classification: Applications
Component: build
git master
Other Linux
: Normal normal
: ---
Assigned To: gnote-maint
gnote-maint
Depends on:
Blocks:
 
 
Reported: 2010-02-13 19:38 UTC by Rahul Sundaram
Modified: 2010-03-15 02:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed fix (619 bytes, patch)
2010-02-17 16:28 UTC, Debarshi Ray
none Details | Review

Description Rahul Sundaram 2010-02-13 19:38:12 UTC
In Fedora  a recent change in ld as described in https://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking  causes gnote to fail to build  

Build log:

http://linux.dell.com/files/fedora/FixBuildRequires/mock-results/i386/gnote-0.7.1-2.fc13.src.rpm/result/build.log

"
/usr/bin/ld: ../libtomboy/.libs/libtomboy.a(libtomboy_la-tomboykeybinder.o): undefined reference to symbol 'XGrabKey'"

You need to explicitly link to the library you are using to avoid this problem
Comment 1 Rahul Sundaram 2010-02-16 12:44:16 UTC
Downstream patch at 

https://bugzilla.redhat.com/show_bug.cgi?id=564774
Comment 2 Debarshi Ray 2010-02-17 16:28:49 UTC
Created attachment 154049 [details] [review]
Proposed fix

Does this solve the problem? I do not have a recent enough tool chain to test this.
Comment 3 Debarshi Ray 2010-03-15 02:21:03 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.