This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Compiling Xaw, Xmu, Xmuu, Xext, ...


Hello,

I downloaded /mirror/cygwin/xfree/xc-4-src/4.0.3 as suggested by Suhaib, 
and did bunzip2 and tar -xf.  Trying to compile Xmuu, I get
make: *** No rule to make target `../../exports/include/X11/Xlib.h', needed 
by `ClientWin.o'.  Stop.

To my belief, the path should be `../X11/Xlib.h'.  There is no directory 
called `exports' at all.  Also
../../include/X11 should be ../../include
../../include/X11/extensions should be ../../include/extensions

Trying to compile Xmu, Xaw or Xext, I get
make: *** No rule to make target 
`/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-6/include/stddef.h', needed by 
`AllCmap.o' / `Actions.o' / `globals.o'.  Stop.

Please note that cygwin installed gcc-lib in /lib not /usr/lib, then I have 
2.95.3-2 not 2.95.2-6.

Using xmkmf to generate the makefile and then make, I get
AsciiSink.c:1490: invalid type argument of `->'
AsciiSink.c: In function `GetGC':
AsciiSink.c:1630: structure has no member named `cursor_color'
AsciiSink.c: In function `XawAsciiSinkInitialize':
AsciiSink.c:1670: structure has no member named `cursor_position'
AsciiSink.c: In function `XawAsciiSinkSetValues':
AsciiSink.c:1784: structure has no member named `properties'
AsciiSink.c:1785: `XawTextProperty' undeclared (first use in this function)
AsciiSink.c:1789: `XAW_TPROP_FONT' undeclared (first use in this function)
AsciiSink.c:1790: request for member `font' in something not a structure or 
union
AsciiSink.c:1791: `XAW_TPROP_FOREGROUND' undeclared (first use in this 
function)
AsciiSink.c:1792: request for member `foreground' in something not a 
structure or union
AsciiSink.c:1793: request for member `mask' in something not a structure or 
union
AsciiSink.c:1793: `XAW_TPROP_BACKGROUND' undeclared (first use in this 
function)
AsciiSink.c:1794: request for member `background' in something not a 
structure or union
make: *** [AsciiSink.o] Error 1

I then looked into the makefile for xv and corrected things.  Still I could 
not get it to compile.  It is still looking for X11/extensions/Xv.h 
although I corrected that in the makefile.
/xc/lib/xv% make
rm -f Xv.o
gcc -c -O2  -Wall  -I../../lib/X11 -I../../include/extensions
-I../.. -I../../exports/include  -D__i386__ -DWIN32_LEAN_AND_MEAN 
-DX_LOCALE -D_X86_ -D__STDC__ -
DNO_TCP_H -D__CYGWIN__ -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=199309L 
-D_BSD_SOURCE -
D_SVID_SOURCE -D_GNU_SOURCE -DX_SOURCE  -DFUNCPROTO=15 -DNARROWPROTO 
  -DUSE_MAKEDEPEND    Xv.c
In file included from Xvlibint.h:48,
                 from Xv.c:54:
../../include/extensions/Xvlib.h:57: X11/extensions/Xv.h: No such file or 
directory
make: *** [Xv.o] Error 1

Could somebody please comment on what is happening.  Thanks for your 
feedback / suggestions.  Sorry for the long email.  I just wanted to point 
things clearly.

Kind regards,

George


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]