[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[q]installing problems
hi I am sunhyung park, SookMyung Univ's student in Korea
to use ns , nam simulator , I install some file
BUT err..
now My conditions:
1.install tcl7.6 tk4.2
2.install otcl (otcl-0.96.tar.gz)
but error
----------------------------------------------------
creating Makefile
tiger:/usr/otcl-0.96 27 > make
rm -f libotcl.a otcl.o
gcc -c -g -O -I. -I../tcl/tcl7.6/generic -I../tcl/tk4.2/generic -I/usr/openwin/include otcl.c
ar cq libotcl.a otcl.o
ranlib libotcl.a
rm -f libotcl.so
gcc -o owish -g -O -I. -I../tcl/tcl7.6/generic -I../tcl/tk4.2/generic -I/usr/openwin/include otkAppInit.c \
-L. -lotcl -L../tcl/tk4.2/unix -ltk -L../tcl/tcl7.6/unix -ltcl -L/usr/openwin/lib -lX11 -ldl \
-lsocket -lnsl -lm
Undefined first referenced
symbol in file
Tcl_UpVar ./libotcl.a(otcl.o)
Tk_Main /var/tmp/cca002Y71.o
Tcl_GetCommandName ./libotcl.a(otcl.o)
ld: fatal: Symbol referencing errors. No output written to owish
*** Error code 1
make: Fatal error: Command failed for target `owish'
tiger:/usr/otcl-0.96 28 >
- I don't know reasons..
does anyone know how it is corrected?
thanks in advance
sunhyung park
_______________________
[email protected] or
[email protected]
SookMyung UNIV Computer Network LAB.