[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] [bug] problem with "make" during compilation of otcl
[Bug Report]
-----------------------------
Category: Installation
Package: otcl otcl-1.0a7
OS: red hat linux
Environment Variables:
LD_LIBRARY_PATH=
TCL_LIBRARY=
TK_LIBRARY=
-----------------------------
Description:
Description of Problem:
not able to compile otcl package
How Easily Reproducible: everytime
(e.g. every time, intermittent, once only, etc.)
Steps to Reproduce:
(describe the minimal set of steps necessary to trigger the bug)
1. cd otcl-1.0a7
2. ./configure
3. make
Actual Results:
(describe what the application did after performing the above steps)
elnux28> make
rm -f libotcl.so otcl.o so_locations
gcc -c -g -O2 -DNDEBUG -DHAVE_STL -DUSE_SHM -fpic -I. -I/scratch/ns/tk8.3.2/generic -I/scratch/ns/tcl8.3.2/generic -I/include otcl.c
ld -shared -o libotcl.so otcl.o
rm -f libotcl.so
gcc -o otclsh -g -O2 -I. -I/scratch/ns/tk8.3.2/generic -I/scratch/ns/tcl8.3.2/generic -I/include otclAppInit.c \
-L. -lotcl -L/usr/lib -ltk -L/usr/lib -ltcl -L/usr/X11R6/lib -lXext -lX11 -lnsl -ldl -lm
./libotcl.a(otcl.o): In function `ListProcDefault':
/scratch/ns/otcl-1.0a7/otcl.c:804: undefined reference to `Tcl_GetString'
./libotcl.a(otcl.o): In function `ListProcBody':
/scratch/ns/otcl-1.0a7/otcl.c:847: undefined reference to `Tcl_GetString'
collect2: ld returned 1 exit status
make: *** [otclsh] Error 1
Expected Results:
(describe what the application should have done, were the bug not present)
Additional Information:
(e.g. URLs to your script, detailed output files, packet trace, etc. if they are big files.)