From mboxrd@z Thu Jan 1 00:00:00 1970 From: bobwirka@yahoo.com To: insight-gnats@sourceware.cygnus.com Subject: insight/86: Make fails at tclEnv.c; CCHAR unrecognized Date: Sun, 01 Apr 2001 11:43:00 -0000 Message-id: <20010401183639.2344.qmail@sourceware.cygnus.com> X-SW-Source: 2001-q2/msg00000.html List-Id: >Number: 86 >Category: insight >Synopsis: Make fails at tclEnv.c; CCHAR unrecognized >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: support >Submitter-Id: net >Arrival-Date: Sun Apr 01 11:43:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Bob Wirka >Release: Insight 5.0 >Organization: >Environment: Windows 2000 Pro and Win98, installing for eCos system in Cygwin for i386-elf target. >Description: Make fails while compiling 'tclEnv.c' in tcl part of build: (From make.out) In file included from /usr/include/w32api/windef.h:143, from /usr/include/w32api/windows.h:96, from /src/gdb/insight-5.0/tcl/cygwin/../generic/tclEnv.c:750: /usr/include/w32api/winnt.h:48: parse error before `CCHAR' The offending line in 'winnt.h' is: typedef CHAR CCHAR; More errors occur, but seem basically caused by CHAR, USHORT, and some other items not being defined. I've followed the install instructions per the Red Hat website. Both /tmp and /src are mounted in 'binary' mode. Both 'binutils' and 'gcc' have built ok. Have built 'gdb' for i386-elf target; it works. Has anyone else seen this? Any suggestions? Thank you. >How-To-Repeat: Just configure and make. Fails every time on both Win98 and Windows 2000 Pro. >Fix: None yet? >Release-Note: >Audit-Trail: >Unformatted: