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

Re: [ns] example not compiling



hi Amit,

On 6 Jun 2001, Amit Raj Singh wrote:

> when i am compiling the greis' example ping.cc using ns-allinone-2.1b7a on red har linux i am getting the following error
> 
> tcl/greis/ping.cc:64: `off_ip_' undeclared (first use this function)
> tcl/greis/ping.cc:64: (Each undeclared identifier is reported only once 
> for each function it appears in.)
> tcl/greis/ping.cc:93: no match for `ns_addr_t & >> int &'
> make

there is a Ping implemented in ns. have a look at it. some stuff changed -
e.g. the packet format. take a look at the ping format. its a good and
easy example.

od

-- 
   Oliver Dawid * [email protected] * http://www.fet.uni-hannover.de/~od/