Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 487934 - =sci-electronics/gwave-20090213-r1 - ld: undefined reference to symbol 'XInternAtom'
Summary: =sci-electronics/gwave-20090213-r1 - ld: undefined reference to symbol 'XInte...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: The Soldering-Iron Brotherhood
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-13 22:04 UTC by Michael Rowell
Modified: 2013-10-17 18:26 UTC (History)
0 users

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


Attachments
build.log (build.log,43.04 KB, text/plain)
2013-10-13 22:06 UTC, Michael Rowell
Details
sci-electronics/gwave emerge --info (emerge_info.log,5.56 KB, text/plain)
2013-10-16 01:49 UTC, Michael Rowell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rowell 2013-10-13 22:04:49 UTC
Attempting to emerge gwave results in a linker error and failure to build. 

Relevant section of build.log:
[...]
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/bin/ld: xgserver.o: undefined reference to symbol 'XInternAtom'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'XInternAtom' is defined in DSO /usr/lib64/libX11.so.6 so try adding it to the linker command line
/usr/lib64/libX11.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
[...]

This issue (or a similar one) was encountered by Arch Linux users at https://aur.archlinux.org/packages/gwave2/

And a similar issue (with possibly relevant info) was encountered by users of the program "gogglesmm" at https://code.google.com/p/gogglesmm/issues/detail?id=212

Suffice to say it looks like X11 must be explicitly linked somewhere.
Comment 1 Michael Rowell 2013-10-13 22:06:12 UTC
Created attachment 360828 [details]
build.log
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-10-13 23:39:16 UTC
Please comment with the output of `emerge --info` too if maintainers need it.
Comment 3 Michael Rowell 2013-10-16 01:49:37 UTC
Created attachment 360980 [details]
sci-electronics/gwave emerge --info
Comment 4 Michael Rowell 2013-10-16 01:50:13 UTC
(In reply to Tom Wijsman (TomWij) from comment #2)
> Please comment with the output of `emerge --info` too if maintainers need it.

Sorry, meant to post it, slipped my mind. Attached.

Do please note that even though it shows LTO enabled, this is a result of my make.conf, and I did try explicitly disabling LTO using package.env, to no avail.
Comment 5 Thomas Beierlein gentoo-dev 2013-10-17 18:26:20 UTC
Fixed. Thanks.

+  17 Oct 2013; Thomas Beierlein <tomjbe@gentoo.org> gwave-20090213-r1.ebuild:
+  Fix missing -lX11 (bug #487934). Thanks M. Rowell for reporting
+