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

[ns] problem with compiling ns-2.1b7-micromobility




I'm still struggling with ns-2.1b6 and 2.1b7-micromobility extension
I feel sorry for these stupid question but I couldn't get exact answer
even in the past mailing-list archive.

well, i need to install micro mocility extenstion .. so I'm trying to build
2.1b6 under Linux 7.1 system. 

I got two groups of error while .. make ns-2.1b7-micromobility like bewlow
( these errors were almost same with ns-2.1b6 in my system :( ..   )

Would you please give me some advice ?
( any comments would be welcomed :)   )
 



> make
                            ..........................

mac-802_3.cc:19:8: warning: extra tokens at end of #endif directive
mac-802_3.cc: In method `void Mac8023HandlerSend::handle (Event *)':
mac-802_3.cc:72: warning: passing `double' for argument 1 of
`Phy::txtime (int)'
mac-802_3.cc: In method `bool MacHandlerRetx::schedule (double)':
mac-802_3.cc:109: warning: passing `double' for argument 1 of
`Phy::txtime (int)'
mac-802_3.cc: In method `void Mac802_3::collision (Packet *)':
mac-802_3.cc:241: warning: passing `double' for argument 1 of
`Phy::txtime (int)'
mac-802_3.cc: In method `void Mac802_3::recv_complete (Packet *)':
mac-802_3.cc:293: warning: passing `double' for argument 1 of
`Phy::txtime (int)'

                            ........................

/usr/local/bin/ns-allinone-2.1b6/tcl8.0.4/unix/libtcl8.0.a(tclUnixPipe.o): In function `TclpCreateTempFile':
tclUnixPipe.o(.text+0xcd): the use of `tmpnam' is dangerous, better use `mkstemp'
proxytrace.cc: In function `size_t ReadHeader (FILE *, void *)':
proxytrace.cc:86: `exit' undeclared (first use this function)
proxytrace.cc:86: (Each undeclared identifier is reported only once for
each function it appears in.)
make[1]: *** [proxytrace.o]

make[1]: ���� `/usr/local/bin/ns-allinone-2.1b6/ns-2.1b7-micro/indep-utils/webtrace-conv/dec' ���丮
make[1]: �� `/usr/local/bin/ns-allinone-2.1b6/ns-2.1b7-micro/indep-utils/webtrace-conv/epa' ���丮
make[1]: Nothing to be done for `all'.
make[1]: ���� `/usr/local/bin/ns-allinone-2.1b6/ns-2.1b7-micro/indep-utils/webtrace-conv/epa' ���丮
make[1]: �� `/usr/local/bin/ns-allinone-2.1b6/ns-2.1b7-micro/indep-utils/webtrace-conv/nlanr' ���丮
make[1]: Nothing to be done for `all'.
make[1]: ���� `/usr/local/bin/ns-allinone-2.1b6/ns-2.1b7-micro/indep-utils/webtrace-conv/nlanr' ���丮
make[1]: �� `/usr/local/bin/ns-allinone-2.1b6/ns-2.1b7-micro/indep-utils/webtrace-conv/ucb' ���丮
make[1]: Nothing to be done for `all'.
make[1]: ���� `/usr/local/bin/ns-allinone-2.1b6/ns-2.1b7-micro/indep-utils/webtrace-conv/ucb' ���丮

>




Eddie Lee