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

[ns] enabling TCL debug (via Makefile)



Hello,

I want to enable tcl-debug-2.0.  So I manually edited the ns Makefile
and added
-DHAVE_LIBTCLDBG in my DEFINE and the path to tcl-debug-2.0 directory
in my INCLUDE and LIB. I also deleted tclAppInit.o as suggested in 
http://www.isi.edu/nsnam/archive/ns-users/webarch/2000/msg01657.html

However, when do a  'make ns', I get errors:

tclAppInit.o: In function `Tcl_AppInit':
/home/newns/ns/ns2/tclAppInit.cc:164: undefined reference to
`Tcldbg_Init'
collect2: ld returned 1 exit status
make: *** [ns] Error 1

Do I need to make other changes in Makefile(or other files) in order to
run tcl-debug?
( I know "./configure --enable-debug" would be the easy way out, but the
version of NS
I'm working with does not have a configure file :(  )

Any help is greatly appreciated.

Thank you.
Susan