Subject: | Build failure with recent xorg libs |
As reported at
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=613188>
and
<http://bugs.gentoo.org/show_bug.cgi?id=345987>
the following build failure arises with recent version of xorg's libraries:
cc -c -I.. -I/usr/include/freetype2 -I. -Ibitmaps
-I/usr/include/freetype2 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g
-DVERSION=\"804.029\" -DXS_VERSION=\"804.029\" -fPIC
"-I/usr/lib/perl/5.10/CORE" -Wall -Wno-implicit-int -Wno-comment
-Wno-unused -D__USE_FIXED_PROTOTYPES__ Xlib_f.c
In file included from Xlib_f.c:8:
Xlib.h:22: error: conflicting types for 'XKeycodeToKeysym'
/usr/include/X11/Xlib.h:1694: note: previous declaration of
'XKeycodeToKeysym' was here
make[2]: *** [Xlib_f.o] Error 1
This incompatibility appears to have been introduce with libx11 1.4.x.
There is a suggestion of a fix on the gentoo bug, but I have not
confirmed that this is correct.