Bug 16483 - Link error: libxcb-atom.so.0 not found
Summary: Link error: libxcb-atom.so.0 not found
Status: RESOLVED FIXED
Alias: None
Product: XCB
Classification: Unclassified
Component: Utils (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: Jamey Sharp
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-23 12:17 UTC by Maarten ter Huurne
Modified: 2008-11-21 01:27 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Add XCB_ATOM_LIBS to xcbwm_test_LDADD (768 bytes, patch)
2008-06-23 12:17 UTC, Maarten ter Huurne
Details | Splinter Review

Description Maarten ter Huurne 2008-06-23 12:17:35 UTC
Created attachment 17330 [details] [review]
Add XCB_ATOM_LIBS to xcbwm_test_LDADD

When cross-compiling xcb-util-0.2, I get the following link error:

/opt/mtwk/usr/local/gcc-3.3.2-glibc-2.3.2/arm-linux/lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld: warning: libxcb-atom.so.0, needed by ../icccm/.libs/libxcb-icccm.so, not found (try using -rpath or -rpath-link)
../icccm/.libs/libxcb-icccm.so: undefined reference to `intern_atom_fast'
../icccm/.libs/libxcb-icccm.so: undefined reference to `WM_NAME'
../icccm/.libs/libxcb-icccm.so: undefined reference to `WM_NORMAL_HINTS'
../icccm/.libs/libxcb-icccm.so: undefined reference to `WM_CLIENT_MACHINE'
../icccm/.libs/libxcb-icccm.so: undefined reference to `WM_HINTS'
../icccm/.libs/libxcb-icccm.so: undefined reference to `WM_ICON_NAME'
../icccm/.libs/libxcb-icccm.so: undefined reference to `WM_SIZE_HINTS'
../icccm/.libs/libxcb-icccm.so: undefined reference to `intern_atom_fast_reply'
../icccm/.libs/libxcb-icccm.so: undefined reference to `ATOM'
collect2: ld returned 1 exit status

The problem seems to be that XCB_ATOM_LIBS is omitted somewhere in the Makefile.am. The attached patch fixes the problem.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.