Summary: | libXext is not compiled when cross-compiling | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Sergey <kulya.xtp> | ||||
Component: | Lib/Xext | Assignee: | Xorg Project Team <xorg-team> | ||||
Status: | RESOLVED WORKSFORME | QA Contact: | Xorg Project Team <xorg-team> | ||||
Severity: | normal | ||||||
Priority: | medium | ||||||
Version: | git | ||||||
Hardware: | x86 (IA32) | ||||||
OS: | Linux (All) | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
Sergey
2013-09-25 09:00:12 UTC
Created attachment 86540 [details]
config.log of libXext
Well I have a similar problem. That's it I got the same error message but in a different situation: In file included from XEVI.c:34:0: eat.h:32:20: error: static declaration of '_XEatDataWords' follows non-static declaration In file included from XEVI.c:27:0: /someplace/sandbox/build/include/X11/Xlibint.h:840:13: note: previous declaration of '_XEatDataWords' was here My case is I'm building static libraries only to link with a redistributable standalone executable. So all my X11/Xcb/Xlib dependencies are "--enable-static" and "--disable-shared" in this sandbox. I don't know since when this problem occurs, I just upgraded all libraries to last versions, last time it was "years" ago (2011... :) ). Thanks. You get this error message when you configure the libXext build to use headers from a different version of libX11 than you link with. It indicates that this test in configure.ac failed to find the _XEatDataWords function in libX11: # Obtain compiler/linker options for depedencies PKG_CHECK_MODULES(XEXT, [xproto >= 7.0.13] [x11 >= 1.1.99.1] [xextproto >= 7.1.99]) # Check for _XEatDataWords function that may be patched into older Xlib releases SAVE_LIBS="$LIBS" LIBS="$XEXT_LIBS" AC_CHECK_FUNCS([_XEatDataWords]) LIBS="$SAVE_LIBS" but when you build it's defined in libX11. Don't do that. Use matching library & headers. It'll get resolved in the future as we drop support for patching this into Xlib and change the above to simply require Xlib 1.6 or newer. Not enough caffiene yet this morning, change "but when you build it's defined in libX11." to "but when you build it's defined in <X11/Xlibint.h>" (a header from the libX11 package). |
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.