This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Cygwin Insight 6.1 tclWin32Dll.c Compile Error
- From: "Tim Van De Walle" <vandewallet at embeddedplanet dot com>
- To: <insight at sources dot redhat dot com>
- Date: Thu, 21 Oct 2004 17:45:54 -0400
- Subject: Cygwin Insight 6.1 tclWin32Dll.c Compile Error
I've been trying to compile Insight 6.1 on a cygwin host and I am
getting the following error.
gcc -c -g -O2 -Wall -Wconversion
-I"../../../insight-6.1/tcl/win/../generic"
-I"../../../insight-6.1/tcl/win" -mwin32 -DHAVE_NO_SEH=1
-DEXCEPTION_DISPOSITION=int -DBUILD_tcl
"../../../insight-6.1/tcl/win/tclWin32Dll.c" -o tclWin32Dll.o
In file included from ../../../insight-6.1/tcl/win/tclWinPort.h:72,
from ../../../insight-6.1/tcl/generic/tclPort.h:22,
from ../../../insight-6.1/tcl/win/tclWinInt.h:21,
from ../../../insight-6.1/tcl/win/tclWin32Dll.c:15:
/usr/include/w32api/winsock2.h:95:2: warning: #warning "fd_set and
associated macros have been defined in sys/types. This may cause
runtime problems with W32 sockets"
../../../insight-6.1/tcl/win/tclWin32Dll.c:54: error: initializer
element is not constant
../../../insight-6.1/tcl/win/tclWin32Dll.c:54: error: (near
initialization for `asciiProcs.buildCommDCBProc')
.
.
.
I've searched around the source for a solution and can't see anything
obvious. I haven't seen any other reports of this either so I'm
guessing I have a configuration problem.
Thanks for any help.
I am building insight in a separate build directory and gave the
configuration command.
../insight-6.1/configure --prefix=/opt/insight.
In the tcl config section of the build I get the following:
Configuring in tcl
creating cache ./config.cache
checking host system type... i686-pc-cygwin
checking whether make sets ${MAKE}... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
configuring in win
running /bin/sh ../../../insight-6.1/tcl/win/configure
--build=i686-pc-cygwin --host=i686-pc-cygwin --target=i686-pc-cygwin
--prefix=/opt/insight --program-transform-name=s,y,y,
--cache-file=.././config.cache --srcdir=../../../insight-6.1/tcl/win
loading cache .././config.cache
checking for gcc... gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ar... ar
checking for ranlib... ranlib
checking for windres... windres
checking whether make sets ${MAKE}... (cached) yes
checking for Cygwin environment... yes
checking for SEH support in compiler... no
checking for EXCEPTION_DISPOSITION support in include files... no
checking for object suffix... o
checking for mingw32 environment... no
checking for executable suffix... .exe
checking for building with threads... no (default)
checking how to build libraries... shared
checking if 64bit support is requested... no
checking for cygpath... cygpath -w
checking for Windows native path bug in windres... yes
checking compiler flags... using shared flags
checking for build with symbols... no
checking how to run the C preprocessor... gcc -E
checking for errno.h... yes
updating cache .././config.cache
creating ./config.status
creating Makefile
creating tclConfig.sh
creating tcl.hpj
configuring in cygwin
running /bin/sh ../../../insight-6.1/tcl/cygwin/configure
--build=i686-pc-cygwin --host=i686-pc-cygwin --target=i686-pc-cygwin
--prefix=/opt/insight --program-transform-name=s,y,y,
--cache-file=.././config.cache --srcdir=../../../insight-6.1/tcl/cygwin
loading cache .././config.cache
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-cygwin
checking build system type... i686-pc-cygwin
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles...
no
checking for Cygwin environment... (cached) yes
checking for mingw32 environment... (cached) no
checking for executable suffix... (cached) .exe
checking for gcc... (cached) gcc
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking for a BSD compatible install... /usr/bin/install -c
updating cache .././config.cache
creating ./config.status
creating Makefile
creating tclConfig.sh
I am using the 6.1 release version of insight source and gcc 3.3.3-3 on
cygwin. My cygwin configuration is given below.
Cygwin Package Information
Package Version Status
_update-info-dir 00230-1 OK
ash 20040127-1 OK
autoconf 2.59-1 OK
autoconf-devel 2.59-1 OK
autoconf-stable 2.13-5 OK
automake 1.7.9-1 OK
automake-devel 1.9.2-1 OK
automake-stable 1.4p6-2 OK
base-files 3.0-3 OK
base-passwd 2.1-1 OK
bash 2.05b-16 OK
binutils 20040725-2 OK
bison 20030307-1 OK
byacc 1.9-1 OK
bzip2 1.0.2-6 OK
clear 1.0-1 OK
crypt 1.1-1 OK
cvs 1.11.17-1 OK
cygipc 2.03-2 OK
cygrunsrv 1.0-1 OK
cygutils 1.2.5-1 OK
cygwin 1.5.11-1 OK
cygwin-doc 1.3-7 OK
ddd 3.3.9-1 OK
diffutils 2.8.7-1 OK
dpkg 1.10.4-2 OK
ed 0.2-1 OK
editrights 1.01-1 OK
expat 1.95.7-1 OK
fileutils 4.1-2 OK
findutils 4.1.7-4 OK
flex 2.5.4a-3 OK
fontconfig 2.2.2-1 OK
freetype2 2.1.5-1 OK
gawk 3.1.4-3 OK
gcc-core 3.3.3-3 OK
gcc-g++ 3.3.3-3 OK
gcc-mingw 20040810-1 OK
gcc-mingw-core 20040810-1 OK
gcc-mingw-g++ 20040810-1 OK
gdb 20030919-1 OK
gdbm 1.8.3-7 OK
gettext 0.14.1-1 OK
gettext-devel 0.14.1-1 OK
ghostscript 7.05-2 OK
ghostscript-base 7.05-2 OK
gnome-common 2.8.0-1 OK
grep 2.5-1 OK
groff 1.18.1-2 OK
gzip 1.3.5-1 OK
jpeg 6b-11 OK
less 381-1 OK
lesstif 0.93.94-2 OK
libbz2_1 1.0.2-6 OK
libcharset1 1.9.2-1 OK
libdb4.1 4.1.25-1 OK
libdb4.2 4.2.52-1 OK
libfontconfig-devel 2.2.2-1 OK
libfontconfig1 2.2.2-1 OK
libfreetype2-devel 2.1.5-1 OK
libfreetype26 2.1.5-1 OK
libgdbm 1.8.0-5 OK
libgdbm-devel 1.8.3-7 OK
libgdbm3 1.8.3-3 OK
libgdbm4 1.8.3-7 OK
libgettextpo0 0.14.1-1 OK
libiconv 1.9.2-1 OK
libiconv2 1.9.2-1 OK
libintl 0.10.38-3 OK
libintl1 0.10.40-1 OK
libintl2 0.12.1-3 OK
libintl3 0.14.1-1 OK
libjpeg62 6b-11 OK
libjpeg6b 6b-8 OK
libkpathsea3 2.0.2-15 OK
libncurses-devel 5.4-1 OK
libncurses5 5.2-1 OK
libncurses6 5.2-8 OK
libncurses7 5.3-4 OK
libncurses8 5.4-1 OK
libopenldap2 2.1.25-1 OK
libpcre 4.1-1 OK
libpcre0 4.5-1 OK
libpng12 1.2.5-4 OK
libpng12-devel 1.2.5-4 OK
libpopt0 1.6.4-4 OK
libreadline4 4.1-2 OK
libreadline5 4.3-5 OK
libreadline6 5.0-1 OK
libtiff4 3.6.0-5 OK
libXft 2.1.6-1 OK
libXft-devel 2.1.6-1 OK
libXft1 1.0.0-1 OK
libXft2 2.1.6-1 OK
libxml2 2.6.13-1 OK
login 1.9-7 OK
m4 1.4-1 OK
make 3.80-1 OK
man 1.5o-1 OK
mingw-runtime 3.5-1 OK
minires 0.97-1 OK
mktemp 1.5-3 OK
ncftp 3.1.7-1 OK
ncurses 5.4-1 OK
openssh 3.9p1-2 OK
openssl 0.9.7d-2 OK
patch 2.5.8-8 OK
patchutils 0.2.30pre1-1 OK
pcre 4.5-1 OK
pcre-doc 4.5-1 OK
perl 5.8.5-3 OK
postgresql 7.4.5-1 OK
readline 5.0-1 OK
sed 4.1.2-1 OK
sh-utils 2.0.15-4 OK
tar 1.13.25-5 OK
tcltk 20030901-1 OK
termcap 20021106-2 OK
terminfo 5.4_20041009-1 OK
tetex 2.0.2-15 OK
tetex-base 2.0.2-15 OK
tetex-bin 2.0.2-15 OK
tetex-extra 2.0.2-15 OK
tetex-tiny 2.0.2-15 OK
texinfo 4.2-4 OK
textutils 2.0.21-1 OK
vim 6.3-1 OK
w32api 3.1-1 OK
wget 1.9.1-1 OK
which 1.5-2 OK
X-start-menu-icons 1.0.3-2 OK
X-startup-scripts 1.0.9-1 OK
xemacs 21.4.15-1 OK
xorg-x11-base 6.8.1.0-1 OK
xorg-x11-bin 6.8.1.0-2 OK
xorg-x11-bin-dlls 6.8.1.0-1 OK
xorg-x11-bin-lndir 6.8.1.0-1 OK
xorg-x11-devel 6.8.1.0-1 OK
xorg-x11-etc 6.8.1.0-1 OK
xorg-x11-f100 6.8.1.0-3 OK
xorg-x11-fenc 6.8.1.0-2 OK
xorg-x11-fnts 6.8.1.0-3 OK
xorg-x11-fscl 6.8.1.0-2 OK
xorg-x11-libs-data 6.8.1.0-1 OK
xorg-x11-man-pages 6.8.1.0-1 OK
xorg-x11-xwin 6.8.1.0-3 OK
xterm 196-1 OK
zlib 1.2.2-1 OK
Tim