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

Re: otcl installation!



Sorry to bother you so much
but after i made some fix in otcl.c
the problem of isArg disappeared
but new problem arises
In fact, i still can't realize what you mean in renaming tclInt.h
the following is the error message showed..
i use otcl-1.0a4 & Tcl/Tk 8.2.2

###################################################################
otcl.c:807: warning: passing arg 3 of `Tcl_SetVar' makes pointer from 
integer wi
thout a cast
ld -shared -o libotcl.so otcl.o
rm -f libotcl.so
gcc -o otclsh  -g -O2 -I. -I/usr/local/include -I../tcl8.2/generic 
-I/include  o
tclAppInit.c \
-L. -lotcl -L/usr/local/lib -ltk8.2 -L../tcl8.2/unix -ltcl8.2 
-L/usr/X11R6/lib -
lXext -lX11  -lnsl -ldl -lm
./libotcl.a(otcl.o): In function `ListProcDefault':
/otcl-1.0a4/otcl.c:803: undefined reference to `TclGetStringFromObj'
./libotcl.a(otcl.o): In function `ListProcBody':
/otcl-1.0a4/otcl.c:842: undefined reference to `TclGetStringFromObj'
collect2: ld returned 1 exit status
make: *** [otclsh] Error 1

###############################
hope i can't fix it up, or i can't go on any more
regards

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com