install CRCN in ns-2.31
Hi everybody,
Hope you all are doing well. i install ns-2.31 in ubuntu10.04 (32bit) successfully ,and gcc 4.1.3,but after i add CRCN in ns and make changes in Makefile ,error occures. trace/cmu-trace.o: In function `hdr_wcett::access(Packet const*)': cmu-trace.cc:(.text._ZN9hdr_wcett6accessEPK6Packet[hdr_wcett::access(Packet const*)]+0x7): undefined reference to `hdr_wcett::offset_' collect2: ld returned 1 exit status make: *** [ns] Error 1 I am waiting for a positive and helpful response. Thanks |
Quote:
|
Please use the safe choice = compat-g++34 :
$ cd ns-allinone-2.31/ $ patch -p0 < crcn_ns231.patch https://drive.google.com/file/d/0B7S...ew?usp=sharing $ export CC=gcc34 CXX=g++-34 && ./install Links, compat-gcc34 and compat-g++34 . https://drive.google.com/file/d/0B7S...ew?usp=sharing . https://drive.google.com/file/d/0B7S...ew?usp=sharing - |
If you are working on Centos6.4
then correct command for installation will be $ export CC=gcc34 CXX=g++34 && ./install rather than $ export CC=gcc34 CXX=g++-34 && ./install Above correction can be valid for other linux distributions as well. Thanks |
Quote:
|
knudfl
Hi I have installed ns-2.31 with crcn patch on ubuntu 15.04 . all test files are working right except the test4wcett.tcl. It is giving an error
" format_wcett: invalid WCETT packet type " I also tried to install ns-2.31 on ubuntu 10.04 but unable to install autoconf and automake and patch command is also not working. please help me. |
All times are GMT -5. The time now is 03:48 AM. |