Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 486912 - www-client/surf-0.6-r1 build failure: ld: surf.o: undefined reference to symbol 'XInternAtom'
Summary: www-client/surf-0.6-r1 build failure: ld: surf.o: undefined reference to symb...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: underlinking
  Show dependency tree
 
Reported: 2013-10-03 21:34 UTC by Ulrich Müller
Modified: 2013-10-04 14:52 UTC (History)
0 users

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


Attachments
build.log (build.log,3.75 KB, text/plain)
2013-10-03 21:34 UTC, Ulrich Müller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2013-10-03 21:34:50 UTC
Created attachment 360086 [details]
build.log

Looks like -lX11 is missing in LIBS:

x86_64-pc-linux-gnu-gcc -o surf surf.o -Wl,-O1 -Wl,--as-needed `pkg-config --libs gtk+-2.0 webkit-1.0` -lgthread-2.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: surf.o: undefined reference to symbol 'XInternAtom'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../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
make: *** [surf] Error 1
 * ERROR: www-client/surf-0.6-r1::gentoo failed (compile phase):
 *   emake failed
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-10-04 14:35:25 UTC
Fixed in 0.6-r1. I'm working on the 9999 ebuild.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-10-04 14:52:14 UTC
9999 should be good too now. Thanks for the report!