* make problem
@ 2003-10-08 8:50 hoer
2003-10-08 9:39 ` Paul Whitfield
2003-10-08 21:05 ` Oleg Ostrozhansky
0 siblings, 2 replies; 4+ messages in thread
From: hoer @ 2003-10-08 8:50 UTC (permalink / raw)
To: insight
Hi!
I'm working on a Windows 2000 machine with Cygwin. I want to configure
insight5.3 for m68k. Configuring works, but the make prozess stops and I don't
know, what I should do.
I've also tried to do the toolchain first from Martin Hunt to use the Tcl/Tk
8.0.3. but no way.
Tanks for any info!
Here is my ouput:
insight-5.3
$ ./configure --target
works with no problems
.make
-----8<------------------------->8-------------
../win/tclWinPort.h:20:1: warning: "__USE_W32_SOCKETS" redefined
<command line>:14:1: warning: this is the location of the previous definition
gcc -c -DWIN32 -D_WIN32 -D_MT -D_DLL -I./../win -I./../generic -D__WIN32__
-D__USE_W32_SOCKETS -g -O2 ./../generic/tclClock.c
In file included from ../generic/tclPort.h:23,
from ../generic/tclClock.c:19:
../win/tclWinPort.h:20:1: warning: "__USE_W32_SOCKETS" redefined
<command line>:14:1: warning: this is the location of the previous definition
gcc -c -DWIN32 -D_WIN32 -D_MT -D_DLL -I./../win -I./../generic -D__WIN32__
-D__USE_W32_SOCKETS -g -O2 ./../generic/tclCmdAH.c
In file included from ../generic/tclPort.h:23,
from ../generic/tclCmdAH.c:18:
../win/tclWinPort.h:20:1: warning: "__USE_W32_SOCKETS" redefined
<command line>:14:1: warning: this is the location of the previous definition
../generic/tclCmdAH.c: In function `Tcl_FileObjCmd':
../generic/tclCmdAH.c:670: error: parse error before numeric constant
make[2]: *** [tclCmdAH.o] Error 1
make[2]: Leaving directory `/opt/insight-5.3/tcl/win'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/insight-5.3/tcl'
make: *** [all-tcl] Error 2
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: make problem
2003-10-08 8:50 make problem hoer
@ 2003-10-08 9:39 ` Paul Whitfield
2003-10-08 21:05 ` Oleg Ostrozhansky
1 sibling, 0 replies; 4+ messages in thread
From: Paul Whitfield @ 2003-10-08 9:39 UTC (permalink / raw)
To: hoer; +Cc: insight
hoer@sbox.tugraz.at wrote:
> Hi!
> I'm working on a Windows 2000 machine with Cygwin. I want to configure
> insight5.3 for m68k. Configuring works, but the make prozess stops and I don't
> know, what I should do.
> I've also tried to do the toolchain first from Martin Hunt to use the Tcl/Tk
> 8.0.3. but no way.
>
>
> Tanks for any info!
>
>
>
>
> Here is my ouput:
>
> insight-5.3
> $ ./configure --target
>
> works with no problems
>
> .make
Your best hope is to use a recent snapshot or cvs release.
I can say that the snapshot 5.3.92 builds without any problems on
cygwin. (for m68k target)
Regards
Paul
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: make problem
2003-10-08 8:50 make problem hoer
2003-10-08 9:39 ` Paul Whitfield
@ 2003-10-08 21:05 ` Oleg Ostrozhansky
2003-10-09 1:03 ` Keith Seitz
1 sibling, 1 reply; 4+ messages in thread
From: Oleg Ostrozhansky @ 2003-10-08 21:05 UTC (permalink / raw)
To: insight
On Wed, Oct 08, 2003 at 10:50:11AM +0200, hoer@sbox.tugraz.at wrote:
> Hi!
> I'm working on a Windows 2000 machine with Cygwin. I want to configure
> insight5.3 for m68k. Configuring works, but the make prozess stops and I don't
> know, what I should do.
> I've also tried to do the toolchain first from Martin Hunt to use the Tcl/Tk
> 8.0.3. but no way.
>
>
> Tanks for any info!
>
>
> Here is my ouput:
...
> ../generic/tclCmdAH.c:670: error: parse error before numeric constant
The problem is that in that file (tcl/generic/tclCmdAH.c) there is an enum
with member FILE_EXISTS. But that symbol is also used in
/usr/include/w32api/winnt.h and /usr/include/w32api/ddk/winddk.h under
cygwin. I just renamed it in the two places it's used in tclCmdAH.c,
and the build completed.
Oleg
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: make problem
2003-10-08 21:05 ` Oleg Ostrozhansky
@ 2003-10-09 1:03 ` Keith Seitz
0 siblings, 0 replies; 4+ messages in thread
From: Keith Seitz @ 2003-10-09 1:03 UTC (permalink / raw)
To: Oleg Ostrozhansky; +Cc: insight
On Wed, 2003-10-08 at 14:05, Oleg Ostrozhansky wrote:
> The problem is that in that file (tcl/generic/tclCmdAH.c) there is an enum
> with member FILE_EXISTS. But that symbol is also used in
> /usr/include/w32api/winnt.h and /usr/include/w32api/ddk/winddk.h under
> cygwin. I just renamed it in the two places it's used in tclCmdAH.c,
> and the build completed.
Wouldn't something like:
#ifdef WIN32
#undef FILE_EXISTS
#endif
or something work? (Just curious)
Does anyone know -- we are using a VERBATIM copy of the "real" tcl/tk
now -- did the tcl folk "fix" this? If not, do they at least know about
it?
Keith
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-10-09 1:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-08 8:50 make problem hoer
2003-10-08 9:39 ` Paul Whitfield
2003-10-08 21:05 ` Oleg Ostrozhansky
2003-10-09 1:03 ` Keith Seitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).