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

Re: Could someone please help me



>> On Tue, 12 Aug 97 08:40:43 PDT, [email protected] (Kevin Fall) said:

>> You probably didn't pick up a copy of the latest Tcl library.  You
>> need Tcl-t.0b2.
>> That's supposed to be Tcl-1.0b2... -K
Thanks for pointing out that I should use Tcl-1.0b2. I tried to
install the whole thing but this time I got stuck again. Could someone 
please tell me what's the problem? Sorry for bothering you all
again. The make result is as below (some has been omitted):

gcc -o inet.o -c -I../Tcl-1.0b2   -I/home/balim/src/ns-2.0b17/../otcl-0.96 -I/home/balim/src/ns-2.0b17/../tk4.2/generic -I/home/balim/src/ns-2.0b17/../tcl7.6/generic   -I. -DNEED_SUNOS_PROTOS -DUSE_SHM -DHAVE_LIBTCLDBG -DHAVE_LIBOTCL0_96 -DHAVE_OTCL_H -DHAVE_LIBTK4_2 -DHAVE_TK_H -DHAVE_LIBTCL7_6 -DHAVE_TCL_H  -DNO_TK -Dabort=_ABORT -O2 inet.c
c++ -o random.o -c -I../Tcl-1.0b2   -I/home/balim/src/ns-2.0b17/../otcl-0.96 -I/home/balim/src/ns-2.0b17/../tk4.2/generic -I/home/balim/src/ns-2.0b17/../tcl7.6/generic   -I. -DNEED_SUNOS_PROTOS -DUSE_SHM -DHAVE_LIBTCLDBG -DHAVE_LIBOTCL0_96 -DHAVE_OTCL_H -DHAVE_LIBTK4_2 -DHAVE_TK_H -DHAVE_LIBTCL7_6 -DHAVE_TCL_H  -DNO_TK -Dabort=_ABORT -O2 random.cc

(omitted)

c++ -o net.o -c -I../Tcl-1.0b2   -I/home/balim/src/ns-2.0b17/../otcl-0.96 -I/home/balim/src/ns-2.0b17/../tk4.2/generic -I/home/balim/src/ns-2.0b17/../tcl7.6/generic   -I. -DNEED_SUNOS_PROTOS -DUSE_SHM -DHAVE_LIBTCLDBG -DHAVE_LIBOTCL0_96 -DHAVE_OTCL_H -DHAVE_LIBTK4_2 -DHAVE_TK_H -DHAVE_LIBTCL7_6 -DHAVE_TCL_H  -DNO_TK -Dabort=_ABORT -O2 net.cc
net.cc: In method `int Network::dorecv(unsigned char *, int, unsigned int &, int)':
net.cc:246: warning: passing `int *' to argument 6 of `recvfrom(int, void *, int, int, sockaddr *, int)' lacks a cast
c++ -o net-ip.o -c -I../Tcl-1.0b2   -I/home/balim/src/ns-2.0b17/../otcl-0.96 -I/home/balim/src/ns-2.0b17/../tk4.2/generic -I/home/balim/src/ns-2.0b17/../tcl7.6/generic   -I. -DNEED_SUNOS_PROTOS -DUSE_SHM -DHAVE_LIBTCLDBG -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'
----------------

Thanks!!!

Boon Aik