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 724276 - gdm_session_worker_LDFLAGS causes build failure
gdm_session_worker_LDFLAGS causes build failure
Status: RESOLVED DUPLICATE of bug 724283
Product: gdm
Classification: Core
Component: general
3.11.x
Other FreeBSD
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2014-02-13 08:58 UTC by Ting-Wei Lan
Modified: 2014-02-25 21:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ting-Wei Lan 2014-02-13 08:58:47 UTC
I get a lot of this error when trying to build gdm in a JHBuild prefix:

gdm-session.o: In function `gdm_session_class_intern_init':
/home/lantw44/gnome/source/gdm/daemon/gdm-session.c:163: undefined reference to `g_type_class_adjust_private_offset'


This is caused by the usage of LDFLAGS in daemon/Makefile.am. I have two glib installed on the system, one is from the package manager and the other is from JHBuild. The LDFLAGS causes the old version (installed using package manager, not JHBuild) to be used, so the new symbol cannot be found.

If I move all LIBS to LDADD, gdm-session-worker will be successfully built.

LDFLAGS is also used to build other things, is it still required or we can move them to LDADD?
Comment 1 Allison Karlitskaya (desrt) 2014-02-25 21:51:26 UTC

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