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

RSVP/ns on ns-2.1b5 ?



Hi,
I tried to install Marc Greis' RSVP/ns on the new ns-2.1b5, but it did not work for reasons I couldn't figure out. I followed the instructions in README.RSVP, and think I have done all the fixes mentioned, although the syntax has changed in some cases.
Has anybody successfully installed RSVP/ns on ns-2.1b5 already ?

I enclose the output ./configure gives me and the error codes.

Cheers, Simon

-- 
*********************************
*                               *
*       Simon Schneider         *
*       Annenstr.17             *
*       33332 Gütersloh         *
*       Tel.: 05241/27848       *
* Semesteradresse:              *
*       Steinheimer Weg 29      *
*       33100 Paderborn         *
*       Tel.: 05251/167376      *
*********************************
 
linus (47)> ./configure
loading cache ./config.cache
No .configure file found in current directory
Continuing with default options...
checking host system type... sparc-sun-solaris2.6
checking target system type... sparc-sun-solaris2.6
checking build system type... sparc-sun-solaris2.6
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking for main in -lXbsd... (cached) no
checking for socket in -lsocket... (cached) yes
checking for gethostbyname in -lnsl... (cached) yes
checking for dcgettext in -lintl... (cached) yes
checking for getnodebyname in -ldnet_stub... (cached) no
checking for tcl.h... -I../tcl8.0.4/generic
checking for libtcl8.0... -R../tcl8.0.4/unix -L../tcl8.0.4/unix -ltcl8.0
checking for init.tcl... ../tcl8.0.4/library
checking for tclsh8.0.4... (cached) /usr/local/bin/tclsh
checking for tk.h... -I/globals/u1/atteln/ns215/ns-allinone-2.1b5/ns-2.1b5/../tk8.0.4/generic
checking for libtk8.0... -R/globals/u1/atteln/ns215/ns-allinone-2.1b5/ns-2.1b5/../tk8.0.4/unix -L/globals/u1/atteln/ns215/ns-allinone-2.1b5/ns-2.1b5/../tk8.0.4/unix -ltk8.0
checking for tk.tcl... /globals/u1/atteln/ns215/ns-allinone-2.1b5/ns-2.1b5/../tk8.0.4/library
checking for otcl.h... -I../otcl-1.0a4
checking for libotcl1.0a4... -R../otcl-1.0a4 -L../otcl-1.0a4 -lotcl
checking for tclcl.h... -I../tclcl-1.0b8
checking for libtclcl1.0b8... -R../tclcl-1.0b8 -L../tclcl-1.0b8 -ltclcl
checking for tcl2c++... ../tclcl-1.0b8
checking for X11 header files
checking for X11 library archive
checking for XOpenDisplay in -lX11... (cached) no
checking for libXext.a
checking for libtcldbg... no
checking dmalloc... not requested with --with-dmalloc
checking for perl... /usr/cadlab/sol/perl5.005_02/bin
checking for getrusage... (cached) yes
checking for sbrk... (cached) yes
checking for strtoq... (cached) no
checking for strtoll... (cached) yes
Explicitly disabling static compilation
checking for main in -ldl... (cached) yes
checking for a BSD compatible install... (cached) /usr/local/gnu/bin/ginstall -c
creating ./config.status
creating Makefile
creating tcl/lib/ns-autoconf.tcl
creating indep-utils/webtrace-conv/ucb/Makefile
creating indep-utils/webtrace-conv/dec/Makefile
creating indep-utils/webtrace-conv/nlanr/Makefile
creating indep-utils/webtrace-conv/epa/Makefile
creating indep-utils/cmu-scen-gen/setdest/Makefile
linus (48)> 

linus (45)> make
c++ -c -g -Wall -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG -mv8 -msupersparc -D__svr4__ -DUSE_SHM -DHAVE_LIBTCLCL1_0B8 -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A4 -DHAVE_OTCL_H -DHAVE_LIBTK8_0 -DHAVE_TK_H -DHAVE_LIBTCL8_0 -DHAVE_TCL_H   -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_TCL_H=1 -DHAVE_LIBTCL8_0=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_0=1 -DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_0A4=1 -DHAVE_TCLCL_H=1 -DHAVE_LIBTCLCL1_0B8=1 -DHAVE_GETRUSAGE=1 -DHAVE_SBRK=1 -DHAVE_STRTOLL=1 -DHAVE_LIBDL=1 -I. -I/usr/openwin/include  -I../tclcl-1.0b8 -I../otcl-1.0a4 -I/globals/u1/atteln/ns215/ns-allinone-2.1b5/ns-2.1b5/../tk8.0.4/generic -I../tcl8.0.4/generic -o wfq.o wfq.cc
wfq.h: In method `WFQClass::WFQClass()':
wfq.h:62: warning: member initializers for `class WFQClass * WFQClass::next_'
wfq.h:65: warning:   and `double WFQClass::bw_'
wfq.cc:35: warning:   will be re-ordered to match declaration order
wfq.cc: In method `WFQ::WFQ()':
wfq.cc:107: warning: unused variable `int i'
wfq.cc: In method `void WFQ::enque(class Packet *)':
wfq.cc:263: warning: suggest parentheses around assignment used as truth value
wfq.cc:278: warning: suggest parentheses around assignment used as truth value
wfq.cc:255: warning: unused variable `class WFQClass * next'
wfq.cc: In method `class Packet * WFQ::deque()':
wfq.cc:391: warning: unused variable `class Packet * np'
c++ -c -g -Wall -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG -mv8 -msupersparc -D__svr4__ -DUSE_SHM -DHAVE_LIBTCLCL1_0B8 -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A4 -DHAVE_OTCL_H -DHAVE_LIBTK8_0 -DHAVE_TK_H -DHAVE_LIBTCL8_0 -DHAVE_TCL_H   -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_TCL_H=1 -DHAVE_LIBTCL8_0=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_0=1 -DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_0A4=1 -DHAVE_TCLCL_H=1 -DHAVE_LIBTCLCL1_0B8=1 -DHAVE_GETRUSAGE=1 -DHAVE_SBRK=1 -DHAVE_STRTOLL=1 -DHAVE_LIBDL=1 -I. -I/usr/openwin/include  -I../tclcl-1.0b8 -I../otcl-1.0a4 -I/globals/u1/atteln/ns215/ns-allinone-2.1b5/ns-2.1b5/../tk8.0.4/generic -I../tcl8.0.4/generic -o rsvp.o rsvp.cc
In file included from rsvp.h:32,
                 from rsvp.cc:24:
rsvp-objects.h:78: warning: `class RSVPobject' has virtual functions but non-virtual destructor
rsvp.h: In method `tcsb::tcsb()':
In file included from rsvp.cc:24:
rsvp.h:59: warning: member initializers for `class FLOWSPEC * tcsb::ofl'
rsvp.h:63: warning:   and `struct tcsb * tcsb::next'
rsvp.h:57: warning:   will be re-ordered to match declaration order
rsvp.h: In method `rsb::rsb()':
rsvp.h:86: warning: member initializers for `class RESV_CONFIRM * rsb::confirm'
rsvp.h:90: warning:   and `char rsb::modified'
rsvp.h:81: warning:   will be re-ordered to match declaration order
rsvp.h:92: warning: member initializers for `char rsb::processed'
rsvp.h:94: warning:   and `struct rsb * rsb::next'
rsvp.h:81: warning:   will be re-ordered to match declaration order
rsvp.h: In method `session::session()':
rsvp.h:109: warning: member initializers for `double session::resv_ref'
rsvp.h:110: warning:   and `struct psb * session::psb_list'
rsvp.h:100: warning:   will be re-ordered to match declaration order
rsvp.h:112: warning: member initializers for `struct tcsb * session::tcsb_list'
rsvp.h:113: warning:   and `struct session * session::next'
rsvp.h:100: warning:   will be re-ordered to match declaration order
rsvp.h: In method `RSVPAgent::RSVPAgent()':
rsvp.h:182: warning: member initializers for `int RSVPAgent::noisy_'
rsvp.h:185: warning:   and `long int RSVPAgent::next_sid_'
rsvp.cc:46: warning:   will be re-ordered to match declaration order
rsvp.h:186: warning: member initializers for `int RSVPAgent::ip6_'
rsvp.h:188: warning:   and `struct session * RSVPAgent::s_list_'
rsvp.cc:46: warning:   will be re-ordered to match declaration order
rsvp.cc: In method `char RSVPAgent::check_resv(struct session *)':
rsvp.cc:130: warning: unused variable `class Tcl & tcl'
rsvp.cc: In method `void RSVPAgent::delete_rsbs(struct session *, struct psb *)':
rsvp.cc:371: warning: unused variable `class Tcl & tcl'
rsvp.cc: In method `void RSVPAgent::process_path_tear_message(class RSVPmessage *, int, class RSVPChecker *)':
rsvp.cc:760: warning: unused parameter `int iface'
rsvp.cc:760: warning: unused parameter `class RSVPChecker * check'
rsvp.cc: In method `void RSVPAgent::process_resv_tear_message(class RSVPmessage *)':
rsvp.cc:932: warning: unused variable `struct rsb * r2'
rsvp.cc:931: warning: unused variable `class Tcl & tcl'
rsvp.cc: In method `void RSVPAgent::recv(class Packet *, class Handler * = 0)':
rsvp.cc:1015: warning: unused parameter `class Handler * h'
rsvp.cc: In method `void RSVPAgent::release_session(struct session *)':
rsvp.cc:1122: warning: unused variable `class Tcl & tcl'
rsvp.cc: In method `void RSVPAgent::send_resv_err_message(struct session *, class RSVPmessage *, struct rsb *)':
rsvp.cc:1447: warning: unused parameter `struct session * s'
rsvp.cc: In method `void RSVPAgent::send_resv_tear_messages(struct session *, struct rsb *)':
rsvp.cc:1641: warning: unused variable `struct hdr_cmn * hdr'
rsvp.cc: In method `void RSVPAgent::update_rsb(struct session *, struct rsb *, struct psb *, int, class FLOWSPEC *, const char *, int, double, int)':
rsvp.cc:1694: warning: unused parameter `struct session * s'
c++ -c -g -Wall -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG -mv8 -msupersparc -D__svr4__ -DUSE_SHM -DHAVE_LIBTCLCL1_0B8 -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A4 -DHAVE_OTCL_H -DHAVE_LIBTK8_0 -DHAVE_TK_H -DHAVE_LIBTCL8_0 -DHAVE_TCL_H   -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_TCL_H=1 -DHAVE_LIBTCL8_0=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_0=1 -DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_0A4=1 -DHAVE_TCLCL_H=1 -DHAVE_LIBTCLCL1_0B8=1 -DHAVE_GETRUSAGE=1 -DHAVE_SBRK=1 -DHAVE_STRTOLL=1 -DHAVE_LIBDL=1 -I. -I/usr/openwin/include  -I../tclcl-1.0b8 -I../otcl-1.0a4 -I/globals/u1/atteln/ns215/ns-allinone-2.1b5/ns-2.1b5/../tk8.0.4/generic -I../tcl8.0.4/generic -o rsvp-objects.o rsvp-objects.cc
In file included from rsvp-objects.cc:23:
rsvp-objects.h:78: warning: `class RSVPobject' has virtual functions but non-virtual destructor
rsvp-objects.cc: In method `SESSION::SESSION(int, char, int, char)':
rsvp-objects.cc:34: warning: unused parameter `char fl'
rsvp-objects.cc: In method `void STYLE::dump_object()':
rsvp-objects.cc:195: warning: int format, long int arg (arg 2)
rsvp-objects.cc: In method `void FLOWSPEC::dump_object()':
rsvp-objects.cc:226: warning: int format, long int arg (arg 3)
rsvp-objects.cc: In method `void FILTER_SPEC::dump_object()':
rsvp-objects.cc:260: warning: int format, long int arg (arg 2)
rsvp-objects.cc: In method `void SENDER_TEMPLATE::dump_object()':
rsvp-objects.cc:294: warning: int format, long int arg (arg 2)
rsvp-objects.cc: In method `void SENDER_TSPEC::dump_object()':
rsvp-objects.cc:325: warning: int format, long int arg (arg 3)
rsvp-objects.cc: In method `void RESV_CONFIRM::dump_object()':
rsvp-objects.cc:359: warning: int format, long int arg (arg 2)
c++ -c -g -Wall -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG -mv8 -msupersparc -D__svr4__ -DUSE_SHM -DHAVE_LIBTCLCL1_0B8 -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A4 -DHAVE_OTCL_H -DHAVE_LIBTK8_0 -DHAVE_TK_H -DHAVE_LIBTCL8_0 -DHAVE_TCL_H   -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_TCL_H=1 -DHAVE_LIBTCL8_0=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_0=1 -DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_0A4=1 -DHAVE_TCLCL_H=1 -DHAVE_LIBTCLCL1_0B8=1 -DHAVE_GETRUSAGE=1 -DHAVE_SBRK=1 -DHAVE_STRTOLL=1 -DHAVE_LIBDL=1 -I. -I/usr/openwin/include  -I../tclcl-1.0b8 -I../otcl-1.0a4 -I/globals/u1/atteln/ns215/ns-allinone-2.1b5/ns-2.1b5/../tk8.0.4/generic -I../tcl8.0.4/generic -o rsvp-messages.o rsvp-messages.cc
In file included from rsvp-messages.h:27,
                 from rsvp-messages.cc:23:
rsvp-objects.h:78: warning: `class RSVPobject' has virtual functions but non-virtual destructor
c++ -c -g -Wall -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG -mv8 -msupersparc -D__svr4__ -DUSE_SHM -DHAVE_LIBTCLCL1_0B8 -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A4 -DHAVE_OTCL_H -DHAVE_LIBTK8_0 -DHAVE_TK_H -DHAVE_LIBTCL8_0 -DHAVE_TCL_H   -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_TCL_H=1 -DHAVE_LIBTCL8_0=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_0=1 -DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_0A4=1 -DHAVE_TCLCL_H=1 -DHAVE_LIBTCLCL1_0B8=1 -DHAVE_GETRUSAGE=1 -DHAVE_SBRK=1 -DHAVE_STRTOLL=1 -DHAVE_LIBDL=1 -I. -I/usr/openwin/include  -I../tclcl-1.0b8 -I../otcl-1.0a4 -I/globals/u1/atteln/ns215/ns-allinone-2.1b5/ns-2.1b5/../tk8.0.4/generic -I../tcl8.0.4/generic -o rsvp-link.o rsvp-link.cc
In file included from rsvp.h:32,
                 from rsvp-link.h:26,
                 from rsvp-link.cc:23:
rsvp-objects.h:78: warning: `class RSVPobject' has virtual functions but non-virtual destructor
rsvp.h: In method `tcsb::tcsb()':
In file included from rsvp-link.h:26,
                 from rsvp-link.cc:23:
rsvp.h:59: warning: member initializers for `class FLOWSPEC * tcsb::ofl'
rsvp.h:63: warning:   and `struct tcsb * tcsb::next'
rsvp.h:57: warning:   will be re-ordered to match declaration order
rsvp.h: In method `rsb::rsb()':
rsvp.h:86: warning: member initializers for `class RESV_CONFIRM * rsb::confirm'
rsvp.h:90: warning:   and `char rsb::modified'
rsvp.h:81: warning:   will be re-ordered to match declaration order
rsvp.h:92: warning: member initializers for `char rsb::processed'
rsvp.h:94: warning:   and `struct rsb * rsb::next'
rsvp.h:81: warning:   will be re-ordered to match declaration order
rsvp.h: In method `session::session()':
rsvp.h:109: warning: member initializers for `double session::resv_ref'
rsvp.h:110: warning:   and `struct psb * session::psb_list'
rsvp.h:100: warning:   will be re-ordered to match declaration order
rsvp.h:112: warning: member initializers for `struct tcsb * session::tcsb_list'
rsvp.h:113: warning:   and `struct session * session::next'
rsvp.h:100: warning:   will be re-ordered to match declaration order
rsvp-link.cc: In method `void RSVPChecker::give(class Packet *)':
rsvp-link.cc:61: call of overloaded method `recv(Packet *, int)' is ambiguous
object.h:48: candidates are: NsObject::recv(Packet *, Handler *)
object.h:51:                 NsObject::recv(Packet *, const char *)
rsvp-link.cc: In method `void RSVPChecker::recv(class Packet *, class Handler * = 0)':
rsvp-link.cc:71: call of overloaded method `recv(Packet *, int)' is ambiguous
object.h:48: candidates are: NsObject::recv(Packet *, Handler *)
object.h:51:                 NsObject::recv(Packet *, const char *)
rsvp-link.cc:78: call of overloaded method `recv(Packet *, int)' is ambiguous
object.h:48: candidates are: NsObject::recv(Packet *, Handler *)
object.h:51:                 NsObject::recv(Packet *, const char *)
rsvp-link.cc:65: warning: unused parameter `class Handler * h'
*** Error code 1
make: Fatal error: Command failed for target `rsvp-link.o'
linus (46)>