This is the mail archive of the
cygwin-xfree@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Fix for XFree86
> Thanks.
>
> I don't mean to stick to this problem any more, because our primary goal
> is to obtain a free X server, not a whole XFree86 stuff.
> Let's revisit the problem when we are ready to discuss the packaging
> issue (only if source distribution is important) :-)
>
AGREED with all your suggestions. I had saved your patch yesterday and it will be applied to the source tree. Sorry I forgot to mention in my previous mail. I was doing a lot of changes to code until yesterday noon therefore I wanted to make sure what I did was OK... then add users patches.
Below is a copy of message from Marcus Sundberg to fix the unresolved IMAGE_BYT... references
in the X-server code. I am forwarding it to list because it might be helpfull to other users.
Regards
Suhaib
> gcc -c -O2 -s -mpentium -I../../mi -I../../include -I../../os -I../../../../in
> clude -I../../cfb -I../../cfb16 -I../../mfb -I../../../../include/fonts -I../
> ../../.. -I../../../../exports/include -D__i386__ -DX_LOCALE -D_MT -DNO_TCP_H -
> DSHAPE -DXKB -DXAPPGROUP -DXCSECURITY -DGCCUSESGAS -DNDEBUG -DFUNCPROTO=
> 15 -DNARROWPROTO -DDDXTIME -DFD_SETSIZE=256 graphics.c
> graphics.c: In function `InitOutput':
> graphics.c:822: `IMAGE_BYTE_ORDER' undeclared (first use in this function)
> graphics.c:822: (Each undeclared identifier is reported only once
> graphics.c:822: for each function it appears in.)
> graphics.c:825: `BITMAP_BIT_ORDER' undeclared (first use in this function)
Check the file xc/programs/Xserver/include/servermd.h and find out
why they aren't defined when compiling the ggi directory, then make
sure they are defined to LSBFirst.
Comments from Suhaib: We may have to add something like this to servermd.h, perhaps?
#if defined __CYGWIN32__
# define IMAGE_BYTE_ORDER LSBFirst /* Values for the CYGNUS Cygwin-B20.1 only */
# define BITMAP_BIT_ORDER LSBFirst
#endif
file://Marcus