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

Re: [ns] Installation problems in NS version -2.1b3 [I will appreciateanyuseful help in this regard] Thanks nitin



Why don't you try to install the latest version of ns which has the CMU package
included?
I think you will have less problems with a newer version.

Check out:
http://www.isi.edu/nsnam/ns/ns-build.html

to download the latest version.

- John Mehringer

Nitin Nagar wrote:

> Hi Haobo Yu
>
> I am trying to install ns-allinone-2.1b3 along with CMU package as one of
> the guys told me that this is best version of ns-2 to work with CMU
> Package. However i actually got stuck in the following bug:
> creating Makefile
> c++ -c -g -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG -DUSE_SHM
> -DHAVE_LIBTCLCL1_0B5
> -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A2 -DHAVE_OTCL_H -DHAVE_LIBTK8_0
> -DHAVE_TK_H -DH
> AVE_LIBTCL8_0 -DHAVE_TCL_H  -I. -I../TclCL -I../otcl -I../tkbox/include
> -I../tcl
> box/include  -o cbq.o cbq.cc
> cbq.cc: In method `int CBQueue::toplevel()':
> cbq.cc:149: taking the address of a non-static member function
> cbq.cc:149:   to form a pointer to member function, say
> `&CBQueue::eligible_topl
> evel'
> cbq.cc: In method `int CBQueue::algorithm(const char *)':
> cbq.cc:246: taking the address of a non-static member function
> cbq.cc:246:   to form a pointer to member function, say
> `&CBQueue::eligible_ance
> stors'
> cbq.cc:249: taking the address of a non-static member function
> cbq.cc:249:   to form a pointer to member function, say
> `&CBQueue::eligible_topl
> evel'
> cbq.cc:252: taking the address of a non-static member function
> cbq.cc:252:   to form a pointer to member function, say
> `&CBQueue::eligible_form
> al'
> make: *** [cbq.o] Error 1
> Ns make failed! Exiting ...
> mcbain:34 ns-allinone-2.1b3>
>
> Then as I have also compiled ns-allinone-2.1b4a version of ns-2
> successfully on my linux machaine, I saw that you had made some changes in
> cbq.cc and hence what i did is to replace the cbq.cc of ns-version -2.1b3
> with -2.1b4a and then again tried to install the package. Now it has come
> up with these errors: Whats is your openion regarding this. Where is hould
> make a chnage to fix this problem or do i need to replace all srm-files
> from version -2.1b3 with -2.1b4a.
>
> Please help!!
> thanks
> nitin
>
>  creating Makefile
> c++ -c -g -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG -DUSE_SHM
> -DHAVE_LIBTCLCL1_0B5
> -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A2 -DHAVE_OTCL_H -DHAVE_LIBTK8_0
> -DHAVE_TK_H -DH
> AVE_LIBTCL8_0 -DHAVE_TCL_H  -I. -I../TclCL -I../otcl -I../tkbox/include
> -I../tcl
> box/include  -o srm-topo.o srm-topo.cc
> srm-topo.cc:54: ANSI C++ forbids declaration `command' with no type
> make: *** [srm-topo.o] Error 1
> Ns make failed! Exiting ...
> mcbain:28 ns-allinone-2.1b3>
>
> ------------------------------------------------------------------------------
> Nitin Nagar
> Graduate Teaching Assistant                   (R) (775) 348-7176
> Dept. of Computer Science                     [email protected]
> University of Nevada,Reno
> http://www.cs.unr.edu/~nagar
> Reno NV-89557
>
> Address:46 West 10th Street Reno NV-89503
>
> ------------------------------------------------------------------------------