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

Re: [ns] Please help!! A new RSVP protocol installation, errormessage!!



~ns/gen/ns_tcl.cc is generated during compilation (see ~ns/Makefile).
you may try to do:
  make clean
  make

- difa

On Wed, 7 Nov 2001, Juha Villanen wrote:

> Hi all,
>
> I have tried to convert a RSVP-implementation(which was designed to work
> with release ns-2.1b6) to work with ns-2.1b8a. I succeeded to get it
> compile and it seemt to work somehow. However, when testing the function
> of the module I changed the value of a variable called "best_effort"
> (which is by default set to zero) to 1. Then I made "make" and got the
> following error-message!!..Does anybody know, what's that all about??
> The variable "best_effort" is located on ns-2.1b8a/tcl/lib/ns-rsvp.tcl
> and as I said, in the beginning of ns-rsvp.tcl it's set to zero by
> default(and the change which I made is later on the same file!). When I
> then corrected it back to the old value, the same error-message just
> keeps coming!!...How is that possible?
>
> When trying to locate the source of the error, I found a file
> ns-2.1b8a/gen/ns_tcl.cc....And in the end of that file there is like the
> copy of ns-rsvp.tcl...every word!(and of course a lot of other stuff
> too!!)!! So what's that file all about? I mean is it ok that there is
> the hole content of ns-rsvp.tcl, methods, variable default values and
> all? So if I change something from ns-rsvp.tcl, do I have to change it
> correspondly from ns-2.1b8a/gen/ns_tcl.cc too?....that didn't work:)
>
> So the same error message keeps coming whatever I do and I in a deep
> trouble!! If there is something I have forgotten to change in doing the
> ns-2.1b6->ns-2.1b8a-transformation, I would cladly hear any thougths and
> advices!!
>
> Please help...and thanks in advance,
>
> Juha Villanen
> Helsinki University Of Technology
> Network Laboratory
>
>
> ......linkstate/ls.o linkstate/rtProtoLS.o gen/version.o gen/ns_tcl.o
> gen/ptypes.o  win32.o
> -R../tclcl-1.0b11 -L/home/jvillane/ns-allinone-2.1b8a/tclcl-1.0b11
> -ltclcl
> -R../otcl-1.0a7 -L/home/jvillane/ns-allinone-2.1b8a/otcl-1.0a7 -lotcl
> -R../lib -L/home/jvillane/ns-allinone-2.1b8a/lib -ltk8.3
> -R../lib -L/home/jvillane/ns-allinone-2.1b8a/lib -ltcl8.3 -lXext -lX11
> -lsocket -lnsl -lintl -ldl -ldl -lm -ldl
> Undefined			first referenced
>  symbol  			    in file
> __eh_pc                             tclAppInit.o
> ld: fatal: Symbol referencing errors. No output written to ns
> collect2: ld returned 1 exit status
> make: *** [ns] Error 1
>