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]
Other format: [Raw text]

Fw: build problem under cygwin more info


Found problem.

line 806 in tclCmdah.c has an enum that conflicts w/ ?.

Changed enum name thruout file and now builds.

Don
----- Original Message ----- 
From: "Donald Russell" <drussell@mvcde.inse.lucent.com>
To: <insight@sources.redhat.com>
Sent: Tuesday, March 16, 2004 9:26 AM
Subject: Fw: build problem under cygwin


> More Info.
>
> This morning I tried to build insight-6.0 with i686 as the
> target and got exactly the same result.
>
> Thanks
> Don Russell
>
> ----- Original Message ----- 
> From: "Donald Russell" <drussell@mvcde.inse.lucent.com>
> To: <insight@sources.redhat.com>
> Sent: Monday, March 15, 2004 5:02 PM
> Subject: build problem under cygwin
>
>
> > I downloaded gdb-6.0 and insight-6.0  and tried to build
under
> > cygwin using  ./configure  --target=powerpc--eabi
> > for use w/ a debugger probe.
> >
> > The gdb-6.0 went flawlessly.
> >
> > The insight-6.0 build encountered a problem w/tcl generic
file
> > tclCmdAH.c.
> >
> > Has this been reported?  Is there a workaround?
> >
> > Thanks
> > Don Russell
> >
> >
>
gcc -c -g -O2 -Wall -Wconversion  -I"./../generic" -I"." -mwin32
> >    -DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int   -DBUILD_tcl
> > "./../generic/tclCmdAH.c" -o tclCmdAH.o
> > In file included from ../win/tclWinPort.h:72,
> >                  from ../generic/tclPort.h:22,
> >                  from ../generic/tclCmdAH.c:18:
> > /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"
> > ../generic/tclCmdAH.c: In function `Tcl_FileObjCmd':
> > ../generic/tclCmdAH.c:806: error: syntax error before
numeric
> > constant
> > ../generic/tclCmdAH.c:901: error: duplicate case value
> > ../generic/tclCmdAH.c:878: error: previously used here
> > ../generic/tclCmdAH.c:1374: warning: case value `0' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `1' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `2' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `3' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `4' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `5' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `6' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `7' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `8' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `9' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `10' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `11' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `12' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `13' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `14' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `15' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `16' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `17' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `18' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `19' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `20' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `21' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `22' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `23' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `24' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `25' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `26' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `27' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `28' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `29' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `30' not in
> > enumerated type `options'
> > ../generic/tclCmdAH.c:1374: warning: case value `31' not in
> > enumerated type `options'
> > make[2]: *** [tclCmdAH.o] Error 1
> > make[2]: Leaving directory
> > `/usr/local/src/gnu/insight-6.0/tcl/win'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory
> `/usr/local/src/gnu/insight-6.0/tcl'
> > make: *** [all-tcl] Error 2
> >
> >
>


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