[PULL to discuss] Remove kdrive, Xnest, and Xvfb

Yaakov Selkowitz yselkowitz at gmail.com
Tue Apr 3 14:08:27 PDT 2012


On 2012-04-03 13:58, Jamey Sharp wrote:
> I'd be really interested to know how much of the Xorg DDX relies on
> POSIX and how much is straight C. The module loader is an obvious
> candidate for pain, but once you turn off stuff like the PCI layer
> that doesn't matter on Windows, how much non-portable stuff is left?

Hard to say; I got as far as building libX11 for mingw32 when:

   CC     ClDisplay.lo
In file included from 
/usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:48:0,
                  from 
/usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:22,
                  from 
/usr/i686-pc-mingw32/sys-root/mingw/include/xcb/xcb_windefs.h:34,
                  from 
/usr/i686-pc-mingw32/sys-root/mingw/include/xcb/xcb.h:41,
                  from 
/usr/src/ports/mingw-libX11/mingw-libX11-1.4.4-1/src/libX11-1.4.4/include/X11/Xlib-xcb.h:7,
                  from 
/usr/src/ports/mingw-libX11/mingw-libX11-1.4.4-1/src/libX11-1.4.4/src/Xxcbint.h:10,
                  from 
/usr/src/ports/mingw-libX11/mingw-libX11-1.4.4-1/src/libX11-1.4.4/src/ClDisplay.c:33:
/usr/i686-pc-mingw32/sys-root/mingw/include/windef.h:234:17: error: 
conflicting types for ‘BOOL’
/usr/i686-pc-mingw32/sys-root/mingw/include/X11/Xmd.h:143:16: note: 
previous declaration of ‘BOOL’ was here
In file included from 
/usr/i686-pc-mingw32/sys-root/mingw/include/winnt.h:192:0,
                  from 
/usr/i686-pc-mingw32/sys-root/mingw/include/windef.h:253,
                  from 
/usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:48,
                  from 
/usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:22,
                  from 
/usr/i686-pc-mingw32/sys-root/mingw/include/xcb/xcb_windefs.h:34,
                  from 
/usr/i686-pc-mingw32/sys-root/mingw/include/xcb/xcb.h:41,
                  from 
/usr/src/ports/mingw-libX11/mingw-libX11-1.4.4-1/src/libX11-1.4.4/include/X11/Xlib-xcb.h:7,
                  from 
/usr/src/ports/mingw-libX11/mingw-libX11-1.4.4-1/src/libX11-1.4.4/src/Xxcbint.h:10,
                  from 
/usr/src/ports/mingw-libX11/mingw-libX11-1.4.4-1/src/libX11-1.4.4/src/ClDisplay.c:33:
/usr/i686-pc-mingw32/sys-root/mingw/include/basetsd.h:54:13: error: 
conflicting types for ‘INT32’
/usr/i686-pc-mingw32/sys-root/mingw/include/X11/Xmd.h:120:14: note: 
previous declaration of ‘INT32’ was here
In file included from 
/usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:87:0,
                  from 
/usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:22,
                  from 
/usr/i686-pc-mingw32/sys-root/mingw/include/xcb/xcb_windefs.h:34,
                  from 
/usr/i686-pc-mingw32/sys-root/mingw/include/xcb/xcb.h:41,
                  from 
/usr/src/ports/mingw-libX11/mingw-libX11-1.4.4-1/src/libX11-1.4.4/include/X11/Xlib-xcb.h:7,
                  from 
/usr/src/ports/mingw-libX11/mingw-libX11-1.4.4-1/src/libX11-1.4.4/src/Xxcbint.h:10,
                  from 
/usr/src/ports/mingw-libX11/mingw-libX11-1.4.4-1/src/libX11-1.4.4/src/ClDisplay.c:33:
/usr/i686-pc-mingw32/sys-root/mingw/include/winspool.h:255:8: error: two 
or more data types in declaration specifiers
/usr/i686-pc-mingw32/sys-root/mingw/include/winspool.h:270:8: error: two 
or more data types in declaration specifiers
/usr/i686-pc-mingw32/sys-root/mingw/include/winspool.h:291:8: error: two 
or more data types in declaration specifiers
/usr/i686-pc-mingw32/sys-root/mingw/include/winspool.h:316:8: error: two 
or more data types in declaration specifiers
/usr/i686-pc-mingw32/sys-root/mingw/include/winspool.h:571:8: error: two 
or more data types in declaration specifiers
/usr/i686-pc-mingw32/sys-root/mingw/include/winspool.h:594:8: error: two 
or more data types in declaration specifiers
Makefile:965: recipe for target `ClDisplay.lo' failed
make[3]: *** [ClDisplay.lo] Error 1


Yaakov
Cygwin/X


More information about the xorg-devel mailing list