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

NS installation problem



Dear Sir,

When I install otcl (Version 0.96, September 95), I do "./configure" ok. But 
when I run "make", I got following error msgs:


big{jlai}80:make
rm -f libotcl.a otcl.o
gcc -c -g -O -I. -I/common/madras/ns/tcl8.0/generic 
-I/common/madras/ns/tk8.0/local/include -I/usr/openwin/include otcl.c
otcl.c: In function `ListProcArgs':
otcl.c:654: `Arg' undeclared (first use this function)
otcl.c:654: (Each undeclared identifier is reported only once
otcl.c:654: for each function it appears in.)
otcl.c:654: `args' undeclared (first use this function)
otcl.c:654: structure has no member named `argPtr'
otcl.c:655: parse error before `int'
otcl.c:661: `i' undeclared (first use this function)
otcl.c: In function `ListProcDefault':
otcl.c:684: `Arg' undeclared (first use this function)
otcl.c:684: `ap' undeclared (first use this function)
otcl.c:685: structure has no member named `argPtr'
otcl.c: In function `ListProcBody':
otcl.c:719: structure has no member named `command'
otcl.c: In function `PrimitiveOInit':
otcl.c:744: structure has no member named `varTable'
otcl.c:746: structure has no member named `argc'
otcl.c:747: structure has no member named `argv'
otcl.c: In function `PrimitiveODestroy':
otcl.c:793: structure has no member named `varTable'
otcl.c:801: structure has no member named `varTable'
otcl.c:804: structure has no member named `varTable'
otcl.c:806: structure has no member named `varTable'
otcl.c: In function `OTclODestroyMethod':
otcl.c:1022: structure has no member named `varTable'
otcl.c:1030: structure has no member named `varTable'
otcl.c:1034: structure has no member named `varTable'
otcl.c: In function `OTclOInfoMethod':
otcl.c:1113: structure has no member named `varTable'
*** Error code 1
make: Fatal error: Command failed for target `libotcl.a'


Could someone tell me what's the problem and how to fix it? Your help 
is greatly appreciated.

Thanks.

Jie