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 601651 - devhelp needs to link against libgthread
devhelp needs to link against libgthread
Status: RESOLVED FIXED
Product: devhelp
Classification: Applications
Component: General
git master
Other Linux
: Normal normal
: ---
Assigned To: devhelp-maint
devhelp-maint
Depends on:
Blocks:
 
 
Reported: 2009-11-12 08:10 UTC by Emilio Pozuelo Monfort
Modified: 2009-11-15 22:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Let devhelp link against libgthread as it uses one of its symbols (636 bytes, patch)
2009-11-12 08:10 UTC, Emilio Pozuelo Monfort
none Details | Review
No need for libdevhelp to link against libgthread (605 bytes, patch)
2009-11-12 08:11 UTC, Emilio Pozuelo Monfort
none Details | Review

Description Emilio Pozuelo Monfort 2009-11-12 08:10:04 UTC
Hi,

devhelp uses g_thread_init(), so it needs to specifically link against libgthread.

Also libdevhelp doesn't need to link against it as it uses none of its symbols (or so it seems to me).
Comment 1 Emilio Pozuelo Monfort 2009-11-12 08:10:41 UTC
Created attachment 147544 [details] [review]
Let devhelp link against libgthread as it uses one of its symbols
Comment 2 Emilio Pozuelo Monfort 2009-11-12 08:11:19 UTC
Created attachment 147545 [details] [review]
No need for libdevhelp to link against libgthread

Patch 2/2. Patches against git master.
Comment 3 Frederic Peters 2009-11-15 22:08:53 UTC
Thanks, they were pushed as

commit 471623a4ee6879af25ab3363778b1a56196a9e35
Author: Emilio Pozuelo Monfort <pochu27@gmail.com>
Date:   Thu Nov 12 09:08:45 2009 +0100

    No need for libdevhelp to link against libgthread

commit 9c0dbb8c413da2b975e42680c819ca0681b2aa21
Author: Emilio Pozuelo Monfort <pochu27@gmail.com>
Date:   Thu Nov 12 09:06:05 2009 +0100

    Let devhelp link against libgthread as it uses one of its symbols