Hi,

I am trying to convert mannasim for ns-allinone-2.29 to ns-allinone-2.34.
Once i converted all ns modified files of ns-2.29 to ns-2.34. I can able to
make it successfully, but i cant able to run mannasim tcl code. During the
make the following warning appears on the screen. So anyone please help out
of this warning.


With Regards
S.Shyam Sundar

Make of mannasim in ns-allinone-2.34

accessPointLeachApp.o mannasim/leach/app/accessPointLeachApp.cc
In file included from mannasim/leach/app/../../processing.h:48,
                 from mannasim/leach/app/../../accessPointApp.h:46,
                 from mannasim/leach/app/accessPointLeachApp.h:5,
                 from mannasim/leach/app/accessPointLeachApp.cc:2:
mannasim/leach/app/../../dataGenerator.h: In member function ‘virtual
AppData* DataGenerator::collect()’:
mannasim/leach/app/../../dataGenerator.h:95: warning: no return statement in
function returning non-void
mannasim/leach/app/../../dataGenerator.h: In member function ‘virtual
AppData* DataGenerator::getMaximumAllowedValue()’:
mannasim/leach/app/../../dataGenerator.h:133: warning: no return statement
in function returning non-void
mannasim/leach/app/../../dataGenerator.h: At global scope:
mannasim/leach/app/../../dataGenerator.h:66: warning: inline function
‘virtual void EventTimer::expire(Event*)’ used but never defined
mannasim/leach/app/../../dataGenerator.h:53: warning: inline function
‘virtual void SensingTimer::expire(Event*)’ used but never defined
mannasim/leach/app/../../sensorBaseApp.h:83: warning: inline function
‘virtual void DisseminatingTimer::expire(Event*)’ used but never defined
g++ -c -Wall -Wno-write-strings  -DTCP_DELAY_BIND_ALL -DNO_TK
-DTCLCL_CLASSINSTVAR  -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL
-DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H
-DHAVE_LIBTCL8_4 -DHAVE_TCLINT_H -DHAVE_TCL_H  -DHAVE_CONFIG_H
-DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE
-Drng_test  -I. -I. -I/usr/share/ns-allinone-2.34/tclcl-1.19
-I/usr/share/ns-allinone-2.34/otcl -I/usr/share/ns-allinone-2.34/include
-I/usr/share/ns-allinone-2.34/include -I/usr/share/ns-allinone-2.34/include
-I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc
-I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier
-I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr
-I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv
-I./satellite -I./wpan -o diffusion3/lib/nr/nr.o diffusion3/lib/nr/nr.cc
g++ -c -Wall -Wno-write-strings  -DTCP_DELAY_BIND_ALL -DNO_TK
-DTCLCL_CLASSINSTVAR  -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL
-DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H
-DHAVE_LIBTCL8_4 -DHAVE_TCLINT_H -DHAVE_TCL_H  -DHAVE_CONFIG_H
-DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE
-Drng_test  -I. -I. -I/usr/share/ns-allinone-2.34/tclcl-1.19
-I/usr/share/ns-allinone-2.34/otcl -I/usr/share/ns-allinone-2.34/include
-I/usr/share/ns-allinone-2.34/include -I/usr/share/ns-allinone-2.34/include
-I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc
-I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier
-I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr
-I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv
-I./satellite -I./wpan -o diffusion3/lib/dr.o diffusion3/lib/dr.cc
diffusion3/lib/dr.cc: In member function ‘virtual int
DiffusionRouting::send(long int, NRAttrVec*)’:
diffusion3/lib/dr.cc:442: warning: suggest parentheses around && within ||
g++ -c -Wall -Wno-write-strings  -DTCP_DELAY_BIND_ALL -DNO_TK
-DTCLCL_CLASSINSTVAR  -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL
-DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H
-DHAVE_LIBTCL8_4 -DHAVE_TCLINT_H -DHAVE_TCL_H  -DHAVE_CONFIG_H
-DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE
-Drng_test  -I. -I. -I/usr/share/ns-allinone-2.34/tclcl-1.19
-I/usr/share/ns-allinone-2.34/otcl -I/usr/share/ns-allinone-2.34/include
-I/usr/share/ns-allinone-2.34/include -I/usr/share/ns-allinone-2.34/include
-I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc
-I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier
-I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr
-I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv
-I./satellite -I./wpan -o diffusion3/filters/diffusion/one_phase_pull.o
diffusion3/filters/diffusion/one_phase_pull.cc
g++ -c -Wall -Wno-write-strings  -DTCP_DELAY_BIND_ALL -DNO_TK
-DTCLCL_CLASSINSTVAR  -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL
-DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H
-DHAVE_LIBTCL8_4 -DHAVE_TCLINT_H -DHAVE_TCL_H  -DHAVE_CONFIG_H
-DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE
-Drng_test  -I. -I. -I/usr/share/ns-allinone-2.34/tclcl-1.19
-I/usr/share/ns-allinone-2.34/otcl -I/usr/share/ns-allinone-2.34/include
-I/usr/share/ns-allinone-2.34/in

Reply via email to