ns2-allinone-2.33 fail to install

ravinder nath rajotiya ravinder.rajotiya at gmail.com
Fri May 14 04:09:08 UTC 2010


Dear All,

I get the following warning+error while installing ns2-allinone-2.33
./common/packet.h:366: warning: deprecated conversion from string constant
to ‘char*’
./common/packet.h:369: warning: deprecated conversion from string constant
to ‘char*’
./common/packet.h:372: warning: deprecated conversion from string constant
to ‘char*’
./common/packet.h:375: warning: deprecated conversion from string constant
to ‘char*’
./common/packet.h:378: warning: deprecated conversion from string constant
to ‘char*’
./common/packet.h:380: warning: deprecated conversion from string constant
to ‘char*’
g++ -c -Wall  -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_TCL_H  -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC
-DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test  -I. -I.
-I/usr/local/ns-allinone-2.33/tclcl-1.19
-I/usr/local/ns-allinone-2.33/otcl-1.13
-I/usr/local/ns-allinone-2.33/include -I/usr/local/ns-allinone-2.33/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 linkstate/hdr-ls.o linkstate/hdr-ls.cc
linkstate/hdr-ls.cc:65:10: warning: missing terminating " character
linkstate/hdr-ls.cc:65:10: error: #include expects "FILENAME" or <FILENAME>
linkstate/hdr-ls.cc:66:1: warning: missing terminating " character
linkstate/hdr-ls.cc:66: error: missing terminating " character
In file included from ./config.h:44,
                 from linkstate/hdr-ls.h:74,
                 from linkstate/hdr-ls.cc:67:
/usr/include/sys/types.h:29: error: expected constructor, destructor, or
type conversion before ‘extern’
make: *** [linkstate/hdr-ls.o] Error 1
Ns make failed!



pl. give me help so that I can install successfully.



-- 
Prof. Ravinder Nath Rajotiya
CONVENOR OpenTech-2010
Advanced Institute of Technology & Management
70 Km Stone, Delhi Mathura Road,
Palwal, Haryana
Tel: 01275-398414
(M) 9999897008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20100514/aff1f587/attachment.html 


More information about the users mailing list