[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Otcl compilation problem (with error)



isArg is only defined in tcl 8.0p2 and lower versions, it's not available
in tcl 8.0.3 and above. So gcc must have found a tclInt.h (which
defines isArg, etc.) which is incompatible with your tcl.h (which defined
tcl versions).

- Haobo

On Wed, 22 Sep 1999, Charles Fultz wrote:

> Sorry, I forgot to put the erro in the previous message. It is:
> gcc -c -g -O2 -DNDEBUG -DUSE_SHM -I. -I/p/tcl/include -I/p/tcl/include -I/usr/openwin/include -I/include  otcl.c
> otcl.c: In function `ListProcArgs':
> otcl.c:769: structure has no member named `isArg'
> make: *** [libotcl.a] Error 1
> otcl-1.0a4 make failed! Exiting ...
> 
> Thanks,
> Charles D. Fultz
> [email protected]
> 
> >(Note: I'm building ns from ns-allinone-2.1b5a.tar.gz)
> >While compiling Otcl-1.0a4 I get the following error message:
> >
> >I already have Tcl-8.0 and Tk-8.0 installed on my system from previous
> >installations, so I commented out their installation sections in the
> >install script.  Also, all throughout the install script I've changed
> >all instances of '--with-tcl=../tclbox' and '--with-tk=../tkbox' to
> >the appropriate directories for my installation.  Also, I've changed
> >the '--with-tcl-ver=8.0.4' to '--with-tcl-ver=8.0' and
> >'--with-tk-ver=8.0.4' to '--with-tk-ver=8.0'.  And, I've copied
> >ns-allinone-2.1b5/tcl8.0.4/generic/tclInt.h to the appropriate include
> >directory on my system. 
> >Can you give an explanation as to why the compilation is failing?
> >
> >Thanks in advance,
> >Charles D. Fultz
> >[email protected]
>