Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 431882 - x11-misc/nitrogen - ld: SetBG.o: undefined reference to symbol 'XFreeStringList'
Summary: x11-misc/nitrogen - ld: SetBG.o: undefined reference to symbol 'XFreeStringList'
Status: RESOLVED DUPLICATE of bug 369637
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Desktop Misc. Team
URL: https://github.com/l3ib/nitrogen/issu...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-18 17:14 UTC by skydrome
Modified: 2014-01-22 16:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description skydrome 2012-08-18 17:14:26 UTC
g++  -march=native -Os -fomit-frame-pointer -pipe -mfpmath=sse   -o nitrogen main.o SetBG.o Thumbview.o Config.o NWindow.o md5.o ArgParser.o ImageCombo.o Inotify.o Util.o NPrefsWindow.o  -lglib-2.0   -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0   -lgtkmm-2.4 -latkmm-1.6 -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 -lgtk-x11-2.0 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0   -pthread -lgthread-2.0 -lrt -lglib-2.0  
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../i686-pc-linux-gnu/bin/ld: SetBG.o: undefined reference to symbol 'XFreeStringList'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../i686-pc-linux-gnu/bin/ld: note: 'XFreeStringList' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line
/usr/lib/libX11.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [nitrogen] Error 1

LDFLAGS needs -lX11 added to successfully build.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-18 18:02:08 UTC
Shouldn't this dependency be returned by the pkg-config files for gtk+/gtkmm?

Anyway, the configure script now checks for X11 too.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-19 12:29:50 UTC
This was already fixed upstream.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-09-12 01:17:46 UTC

*** This bug has been marked as a duplicate of bug 369637 ***
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-01-22 16:03:06 UTC
*** Bug 498938 has been marked as a duplicate of this bug. ***