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.