LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 12-28-2015, 08:32 PM   #1
pjfmeng
LQ Newbie
 
Registered: Dec 2015
Posts: 3

Rep: Reputation: Disabled
Question 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:ffset_'
collect2: ld returned 1 exit status
make: *** [ns] Error 1


I am waiting for a positive and helpful response.
Thanks
 
Old 01-03-2016, 06:32 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,689

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by pjfmeng View Post
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:ffset_'
collect2: ld returned 1 exit status
make: *** [ns] Error 1

I am waiting for a positive and helpful response.
What do you think we'll be able to tell you, based on what you posted?? You changed some code, and now it doesn't work; the obvious answer is, "Fix your code". Since you don't post what you did/changed, we certainly can't tell you how to fix it. Also, both NS2 and Ubuntu 10.04 are VERY old...and, you ignored the LQ Rules, and TRIPLE POSTED this question, and hijacked and reopened two other threads to do it.
 
Old 01-09-2016, 05:02 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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


-
 
Old 09-13-2016, 11:18 AM   #4
abrartunio
LQ Newbie
 
Registered: Apr 2014
Posts: 17

Rep: Reputation: Disabled
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
 
Old 09-13-2016, 08:14 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,689

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by abrartunio View Post
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
...except that:
  • This post is now eight months old
  • And the OP said they were using Ubuntu 10.04
 
Old 10-25-2016, 01:58 PM   #6
saral
LQ Newbie
 
Registered: Oct 2016
Posts: 1

Rep: Reputation: Disabled
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.
 
  


Reply

Tags
crcn, ns2



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CRCN in ubuntu 12.04 marwa88 Linux - Software 2 11-09-2015 04:58 PM
crcn installation problems faisalawad Linux - Newbie 1 09-13-2014 08:01 AM
problem rising when i im trying to install crcn patch amiruldin Ubuntu 3 05-02-2014 03:09 AM
[SOLVED] CRCN sensing leki Linux - Newbie 3 05-01-2014 12:52 AM
problem in CRCN fabe856 Linux - Software 0 05-21-2012 11:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 03:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration