[ns] ns-allinon-2.1b8a install problem on Mandrake 8.2

Josué M. itsme_kaede@yahoo.com
Wed Apr 3 05:15:03 2002


First of all, thanks for all replys. Adding the word
"class" solved the problem. But another error
appeared:

"/home/rockman/ns-allinone-2.1b8a/lib/libtcl8.3.a(tclUnixPipe.o):
In function 'TcIpCreateTempFile':
tclUnixPipe.o(.text+0xf3): the use of 'tmpnam' is
dangerous, better use 'mkstemp'
simulator.o: In function
'Simulator::populate_hier_classfiers()':
simulator.o(.text+0x781): undefined reference to
'RouteLogic::elements_in_level(int*, int)'
collect2: Id returned 1 exit status
make: ** [ns] Erro 1
Ns make failed!"

and once again Ns stop installing. Does someone knows
how to solve this or knows what's causing all these
errors? It's strange since Ns installs on mandrake 8.1
with no errors so it might be a new package that
exists on mandrake 8.2 but I don't have any idea which
is/are...

Thanks again for your attetion,
Josué M.

--- Gautam - Chakrabarti <chakra10@msu.edu> wrote:
> 
> just a couple of days back I commented about this
> error, its not a gcc
> problem, you need to have the declarations as 
> 
> friend class blah-blah
> 
> instead of 
> 
> friend blah-blah // U need to include the keywork
> class
> 
> gautam
> 
> Soonki Lee wrote:
> > 
> > On Mon, Apr 01, 2002 at 11:05:06PM -0800, Ken
> Masters wrote:
> > >
> > > Hi
> > > I installed many times NS on Mandrake 8.1 with
> no
> > > problems but when I try to install it on
> Mandrake 8.2
> > > this gives this msg:
> > >
> > > "In file included from trace.cc:44:
> > > tfrc.h:116: friend declaration requires
> class-key,
> > > i.e. 'friend class TfrcSendTimer'
> > > tfrc.h:117: friend eclaration requires
> class-key, i.e.
> > > 'friend class TfrcNoFeedbackTimer'
> > > make: ** [trace.o] Erro 1
> > > Ns make failed!"
> > 
> > I don't know which version of gcc is installed in
> madrake 8.2, but
> > newer version of gcc, specially gcc 3.0.x, may
> cause problems.
> > 
> > --
> > # Soonki Lee
> > # Network Systems Lab., KAIST, Korea
> 
> -- 
>
***************************************************************
> Gautam Chakrabarti
> MS Student
> Computer Sc. and Engg Department
> Michigan State University
> 
> Email : chakra10@msu.edu
> Home Page : http://www.cse.msu.edu/~chakra10
> 
> Why is there so much month left at the end of the
> money?
> 		--- John Barrymore
>
***************************************************************
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/