This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Trying to compile XWin, error in winwindow.c
- From: Oyvind Harboe <oyvind dot harboe at zylin dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Sun, 25 Jan 2004 13:38:15 +0100
- Subject: Trying to compile XWin, error in winwindow.c
- Reply-to: cygwin-xfree at cygwin dot com
I'm trying to compile XWin, which I've successfully done before, but
I get compilation errors(below).
To fetch source I did:
$ cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xorg co xc
Then I followed these instructions to create a debug build:
http://xfree86.cygwin.com/docs/cg/prog-build-native.html
In World.log I find the error message below.
$ make
rm -f winwindow.o
gcc -c -O2 -fno-strength-reduce -Wall -Wpointer-arith -I.
-I../../../../expo
rts/include/X11 -I../../../../include/fonts
-I../../../../programs/Xserve
r/fb -I../../../../programs/Xserver/mi
-I../../../../programs/Xserver/miext/
shadow -I../../../../programs/Xserver/miext/layer
-I../../../../program
s/Xserver/include -I../../../../programs/Xserver/os
-I../../../../in
clude/extensions -I../../../../exports/include/X11
-I../../../../program
s/Xserver/render -I../../../../programs/Xserver/randr -I../../../..
-I../../../
../exports/include -D__i386__ -DWIN32_LEAN_AND_MEAN -DX_LOCALE
-D_X86_
-D__CYGWIN__ -D_XOPEN_SOURCE
-D_POSIX_C_SOURCE=199309
L -D_BSD_SOURCE -D_SVID_SOURCE
-D_GNU_SOURCE -DS
HAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP
-DXF86BIGFONT
-DPIXPRIV -DRENDER -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV
-DSINGLEDEPTH
-DXvExtension
-DXFree
86Server
-DXvMCEx
tension
-DXResE
xtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN
-DINCLUD
E_ALLOCA_H -DNDEBUG -DFUNCPROTO=15 -DNARROWPROTO -DAVOID_GLYPHBLT
-DPIXPRIV
-DSINGLEDEPTH -DXvExtension
-DXFree
86Server
-DXvMCEx
tension
-DXResE
xtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN
-DDDXTIM
E -DFD_SETSIZE=256 -DDDXOSINIT -DDDXOSVERRORF
-DDDXOSFA
TALERROR -DHAS_SHM -DHAS_MMAP -UXFree86LOADER -UXF86DRI
-DPROJECTROOT=
"\"/usr/X11R6\"" winwindow.c
winwindow.c: In function `winCopyWindowNativeGDI':
winwindow.c:101: warning: unused variable `pBoxSrc'
winwindow.c: In function `winReshapePRootless':
winwindow.c:499: error: `pScreen' undeclared (first use in this
function)
winwindow.c:499: error: (Each undeclared identifier is reported only
once
winwindow.c:499: error: for each function it appears in.)
winwindow.c:500: warning: left-hand operand of comma expression has no
effect
winwindow.c:502: warning: left-hand operand of comma expression has no
effect
make: *** [winwindow.o] Error 1