Mail Archives: cygwin/2003/07/24/11:17:37
Hi list
I would like to compile xterm with debugging symbols to get a better idea of
how ptys can be used under Cygwin
(http://cygwin.com/ml/cygwin/2003-07/msg01270.html).
I got the source from CVS as described on http://xfree86.cygwin.com/cvs.html
The configure script, as described in the xc/programs/xterm/INSTALL file,
runs without any errors. However, running make on the Makefile it
generates, I get the following:
gcc -I. -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -D__i386__
-DWIN32_LEAN_AND_MEAN -DX_LOCALE -D_X86_ -DNO_TCP_H -D__CYGWIN__
-D_XOPEN_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE
-D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -I. -DPROJECTROOT=/usr/X11R6
-DUTMP -DOSMAJORVERSION=1 -DOSMINORVERSION=3 -I/usr/X11R6/include -g -O2
-c ./button.c
In file included from /usr/include/errno.h:6,
from xterm.h:206,
from button.c:62:
/usr/include/sys/errno.h:23: conflicting types for `sys_errlist'
/usr/X11R6/include/X11/Xos.h:126: previous declaration of `sys_errlist'
In file included from /usr/X11R6/include/X11/Intrinsic.h:56,
from /usr/X11R6/include/X11/IntrinsicP.h:53,
from ptyx.h:69,
from xterm.h:232,
from button.c:62:
/usr/X11R6/include/X11/Xlib.h:78: conflicting types for `wchar_t'
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/include/stddef.h:296: previous
declaration of `wchar_t'
make: *** [button.o] Error 1
I have the most recent "Curr" release from setup of all X11 and Base
packages.
Is there some incompatibility between X11 and standard headers in Cygwin?
That doesn't seem very plausible. What is the correct way to go about this?
Thanks in advance for any suggestions you can offer.
Matt Hirsch
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -