This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


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

RE: Error building on cygwin


On Mon, 30 Apr 2001, Sascha Andres wrote:

> > ??? How can the text verison run if there was a build error in tcl??
> before building insight i got the gdb sources without tcl.
> they build.

Oh, ok. My misunderstanding. Sorry.

Hmmm... I just checked out a clean copy of insight from cvs and did:

$ mkdir arm-elf
$ cd arm-elf
$ CC="gcc -mwin32" /home/keiths/insight/src/configure -v --target=arm-elf \
  --prefix=/home/keiths/insight/built \
  --exec-prefix=/home/keiths/insight/built/H-i686-pc-cygwin
[lots of stuff]
$ make all-tcl

It built just fine. Did you do exactly the same procedure? (Note that
doing 'make CC="gcc -mwin32"' will not work. You MUST reconfigure with
those gcc flags.)

I will also note that your error couldn't possibly happen on my system:

> In file included from /usr/include/windows.h:98,
>                  from
> /home/andres/armsrc/insight/tcl/win/tclAppInit.c:17:
> /usr/include/basetyps.h:79: redefinition of `struct _GUID'
> /usr/include/basetyps.h:84: warning: redefinition of `GUID'
> /usr/include/w32api/winnt.h:1055: warning: `GUID' previously declared here
> /usr/include/basetyps.h:85: warning: redefinition of `REFGUID'
> /usr/include/w32api/winnt.h:1055: warning: `REFGUID' previously declared here

$ ls /usr/include/windows.h
ls: /usr/include/windows.h: No such file or directory
$ ls /usr/include/bastyps.h
ls: /usr/include/basetyps.h: No such file or directory

Keith



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