[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem with making ns-2
When I make ns-2, I run into the following problem.
Any suggestion is welcome.
c++ -o net-ip.o -c -I/homes/chensg/ns-2.0b17/../Tcl -I/usr/openwin/include -I/homes/chensg/ns-2.0b17/../otcl-0.96 -I/homes/chensg/ns-2.0b17/../tk4.2/generic -I/homes/chensg/ns-2.0b17/../tcl7.6/generic -I. -DNEED_SUNOS_PROTOS -DUSE_SHM -DHAVE_LIBOTCL0_96 -DHAVE_OTCL_H -DHAVE_LIBTK4_2 -DHAVE_TK_H -DHAVE_LIBTCL7_6 -DHAVE_TCL_H -DNO_TK -Dabort=_ABORT -O2 net-ip.cc
net-ip.cc: In method `int IPNetwork::command(int, const char *const *)':
net-ip.cc:134: `IP_MULTICAST_LOOP' undeclared (first use this function)
net-ip.cc:134: (Each undeclared identifier is reported only once
net-ip.cc:134: for each function it appears in.)
net-ip.cc: In method `int IPNetwork::open(int)':
net-ip.cc:195: warning: implicit declaration of function `int bzero(...)'
net-ip.cc: In method `void IPNetwork::localname(struct sockaddr_in *)':
net-ip.cc:284: warning: implicit declaration of function `int getsockname(...)'
*** Error code 1
make: Fatal error: Command failed for target `net-ip.o'
--
============================================================================
Web: http://yake.ecn.purdue.edu/~shaogang Purdue University
Office: MSEE 292 Phone: (765) 494-0434 W. Lafayette, IN 47907
============================================================================