[ECOS] Problem Building Insight-5.2

Jonathan Larmour jifl@eCosCentric.com
Mon Jan 20 18:29:00 GMT 2003

Rycerz Roman-G11565 wrote:
>         I am trying to build Insight-5.2 and I have a few problems..... Does
> anyone have any ideas on what's wrong ????
> gcc -mwin32 -c -g -O2 -Wall -Wconversio
> -I"/src/gdb/insight-5.2/tcl/win/../generic" -I"/src/gdb/insight-5.2/tcl/win"
> -m
> -DBUILD_tcl "/src/gdb/insight-5.2/tcl/win/tclWin32Dl
> l.c" -o tclWin32Dll.o
> In file included from /src/gdb/insight-5.2/tcl/win/tclWinPort.h:68,
>                  from /src/gdb/insight-5.2/tcl/generic/tclPort.h:22,
>                  from /src/gdb/insight-5.2/tcl/win/tclWinInt.h:21,
>                  from /src/gdb/insight-5.2/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"
> /src/gdb/insight-5.2/tcl/win/tclWin32Dll.c: In function `DllMain':
> /src/gdb/insight-5.2/tcl/win/tclWin32Dll.c:193: warning: unused variable
> `os'
> /src/gdb/insight-5.2/tcl/win/tclWin32Dll.c: In function
> `TclWinSetInterfaces':
> /src/gdb/insight-5.2/tcl/win/tclWin32Dll.c:121: static symbol
> `tclWinTCharEncoding' is marked dllexport
> make[2]: *** [tclWin32Dll.o] Error 1

I would guess this is a mismatch of tcl versions, with the system tcl 
header being used (possibly wrongly) but that defining things in a 
different way to the tcl in insight 5.2.

What tcl version is installed in cygwin? Try running:


and tell us whether any/all of those work.

eCosCentric       http://www.eCosCentric.com/       <info@eCosCentric.com>
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine

Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

More information about the Ecos-discuss mailing list