Tan Yuan Sin
Sat, 14 Aug 1999 11:11:40 +0800
When I checked my ns-2/gen/ (not ns-2/tcl/gen), I found out that both
my ns_tcl.cpp and ns_tcl.o are only 2kB in size. Any solution?
From: Haobo Yu
To: Tan Yuan Sin
Sent: 8/14/99 4:23 AM
Subject: Re: instprocs problem
If you look your ns-2/tcl/gen/, you should find something like (these
files generated under win98 and vc5.0)
-rwxrwxr-x 1 root wheel 1344436 Aug 9 14:06 ns_tcl.cc*
-rwxrwxr-x 1 root wheel 365187 Aug 9 14:06 ns_tcl.o*
-rwxrwxr-x 1 root wheel 8198 Aug 9 14:07 ptypes.cc*
-rwxrwxr-x 1 root wheel 3038 Aug 9 14:07 ptypes.o*
-rwxrwxr-x 1 root wheel 34 Aug 9 14:04 version.c*
-rwxrwxr-x 1 root wheel 292 Aug 9 14:04 version.o*
I suspect that there might be problem in generating ns_tcl.cc (which
embeds all tcl scripts into c++). Can you see if it's done correctly?
BTW, You should not have ns-autoconf.tcl because it's generated by
configure which is not available under win*.
On Sat, 14 Aug 1999, Tan Yuan Sin wrote:
> I checked my otcl installation and the output is as follows:
> PASSED objectdispatch
> PASSED paperexamples
> PASSED classcreate
> PASSED inheritance
> PASSED classdestroy
> PASSED objectinits
> PASSED objectvariables
> PASSED autoload
> I am trying to compile NS2.1b6 using VC++6. One problem I noticed is
> were no ns.lib and ns.exp after compilation. Could this be due to the
> that I don't have the file ns-autoconf.tcl in my ~ns2/tcl/lib/ ? I
> ns-autoconf.tcl.in in that directory.
> Thank you for your kind attention.