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

[ns] [URGENT HELP REQUESTED]Installation problems in NS-2 version 1b3



Hi all

I am trying to compile ns-2 version 1b3 on a Linux Machine, and i am
getting this error:

creating ./config.status
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 -DHAVE_LIBTCL8_0 -DHAVE_TCL_H  -I. -I../TclCL
-I../otcl -I../tkbox/include -I../tclbox/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_toplevel'
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_ancestors'
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_toplevel'
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_formal'
make: *** [cbq.o] Error 1
Ns make failed! Exiting ...
mcbain:7 ns-allinone-2.1b3> 

Does any one is having an idea why it is giving this error.....i am under
impression that it has something to do with gcc library. Could you help me
in identifying this problem.
I will appreciate your input in this regard.
thanks
nitin

------------------------------------------------------------------------------
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     
                                                          
------------------------------------------------------------------------------