Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi everybody,
Hope you all are doing well.
I am using
fedora12 and NS2.31
download CRCN patchfrom googledrives.
Got help to install CRCNpatch from different sites. Everything was fine
until I ran command "make" in ns-2.31 folder after making changes in Makefile.in. Blow is the error I encountered.
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
Abrar
Last edited by abrartunio; 04-20-2014 at 11:27 PM.
Reason: there are some emctions in it. I do not now why they appear?
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Welcome to LQ.
Fedora 12 : Hopefully it's the 32bits (i686) version.
Not all crcn simulations will work with a 64bits OS.
Note : Fedora 12 is unsupported / unsafe.
The long term supported version of Fedora 12 is the "Redhat CentOS 6.x".
Building ns-allinone-2.31 + CRCN, {Fedora12 / CentOS6}, see post #7 here: http://www.linuxquestions.org/questi...-4175499622/#7
$ tar xvf ns-allinone-2.31.tar.gz
$ cd ns-allinone-2.31/
$ tar xvf crcn-ns2.31.tar.gz
$ export CC=gcc34 CXX=g++34 && ./install
$ cd ns-2.31/
# make install
Thanks a lot brother..... I will move to Centos soon... Thank you for help
Every test was successful but 4rth gave me a warning as written below... I will be thankful If you could help me in that too.
$ ns 4-test4macngenhanced.tcl
Code:
num_nodes is set 6
warning: no class variable Mac/Macngenhanced::fullduplex_mode_
see tcl-object.tcl in tclcl for info about this warning.
INITIALIZE THE LIST xListHead
warning: no class variable Mac/Macngenhanced::fullduplex_mode_
see tcl-object.tcl in tclcl for info about this warning.
warning: no class variable Mac/Macngenhanced::fullduplex_mode_
see tcl-object.tcl in tclcl for info about this warning.
warning: no class variable Mac/Macngenhanced::fullduplex_mode_
see tcl-object.tcl in tclcl for info about this warning.
warning: no class variable Mac/Macngenhanced::fullduplex_mode_
see tcl-object.tcl in tclcl for info about this warning.
warning: no class variable Mac/Macngenhanced::fullduplex_mode_
see tcl-object.tcl in tclcl for info about this warning.
Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 600.3
SORTING LISTS ...DONE!
sendPrimaryUserPacket
sendPrimaryUserPacket
sendPrimaryUserPacket
sendPrimaryUserPacket
sendPrimaryUserPacket
sendPrimaryUserPacket
node 0 receive a packet from primary user.
node 5 receive a packet from primary user.
node 4 receive a packet from primary user.
node 2 receive a packet from primary user.
node 3 receive a packet from primary user
I will check "tcl-object.tcl in tclcl" to figure out the problem but in case I could not then do help me plz...
This forum is really very helpful. I admire your struggles. thanks again
Eng.Abrar
Last edited by abrartunio; 04-21-2014 at 10:32 PM.
And : You will have to shorten the long line with " ########### " :
→ → Not everybody are using 24" monitors.
(Some use a very small monitor = a cell phone.)
Good that your build was successful.
* Note : A warning is not an error, but "an informative text".
Most of those warnings can be ignored.
Fedora 12 : Hopefully it's the 32bits (i686) version.
Not all crcn simulations will work with a 64bits OS.
Note : Fedora 12 is unsupported / unsafe.
The long term supported version of Fedora 12 is the "Redhat CentOS 6.x".
Building ns-allinone-2.31 + CRCN, {Fedora12 / CentOS6}, see post #7 here: http://www.linuxquestions.org/questi...-4175499622/#7
$ tar xvf ns-allinone-2.31.tar.gz
$ cd ns-allinone-2.31/
$ tar xvf crcn-ns2.31.tar.gz
$ export CC=gcc34 CXX=g++34 && ./install
$ cd ns-2.31/
# make install
I tried to install CRCN and NS2.31 again this time installation was successful but during validation some tests failed.
I tried it on Centos6.4, Fedora12 and Centos6.5 as well. Every time these same tests are failing.
using patch for nam in folder of tk-4.8.14, using CCOPT = -g -Wall -Wno-write-strings to avoid few warnings.
Kindly help me ... I am following exactly same steps as above,
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
← #5 , @abrartunio.
1) There is no difference between any of Centos 6.4, Fedora12, Centos 6.5,
.. so far concerns ns2 / crcn. All those OS are basically the same.
2) Some validation tests will most often fail, especially when a patch is added.
Can be ignored. The important thing is that the main seven tcl files are working OK
→ crcn-examples_05.2014.tar.gz https://drive.google.com/file/d/0B7S...it?usp=sharing
Please i want to ask you, as i see here, when they install crcn in ns2.31 they make change in Makefile.in but i did not do like this.
if it is possible i want to show you steps that i did and tell me please if it is correct.
first i installed ns2.31 in fedora 12 like this:
cd ns-allinone-2.31
export CC=gcc34 CXX=g++34 && ./install
cd ns2.31
make install
./validate
ns works fine (%).
Then i replaced the existing files by the new files of the crcn patch.
i added the 4 lines in the makefile not in Makefile.in.
then
make clean
make depend
make
at the end of make i had this:
Quote:
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/marwa/ns-allinone-2.31/ns-2.31/indep-utils/cmu-scen-gen/setdest'
make[1]: Entering directory `/home/marwa/ns-allinone-2.31/ns-2.31/indep-utils/webtrace-conv/dec'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/marwa/ns-allinone-2.31/ns-2.31/indep-utils/webtrace-conv/dec'
make[1]: Entering directory `/home/marwa/ns-allinone-2.31/ns-2.31/indep-utils/webtrace-conv/epa'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/marwa/ns-allinone-2.31/ns-2.31/indep-utils/webtrace-conv/epa'
make[1]: Entering directory `/home/marwa/ns-allinone-2.31/ns-2.31/indep-utils/webtrace-conv/nlanr'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/marwa/ns-allinone-2.31/ns-2.31/indep-utils/webtrace-conv/nlanr'
make[1]: Entering directory `/home/marwa/ns-allinone-2.31/ns-2.31/indep-utils/webtrace-conv/ucb'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/marwa/ns-allinone-2.31/ns-2.31/indep-utils/webtrace-conv/ucb'
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Re #8.
Why ask ? You are supposed to use Google before you ask a question.
make[1]: Nothing to be done for `all'. : 700 million hits. (0.7 billion).
Nothing to be done for `all' :
Is the message you can get when 'make' is run more than once.
( The very first time was when you used the './install' command.)
Nothing to be done for `all' : Means everything is OK.
Ok sorry for bothering, my question was not about " Nothing to be done for `all' ". I asked only because here they use makefile.in but i used the makefile.
So i wanted to ensure that it is the same.
i successfully install ns-2.31 in ubuntu10.04 (32bit) and gcc-4.1.3, but after i install CRCN and make changes in Makefile, error occurred.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.