Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,494
Rep:
There is a (very) small chance that you can use ns2.1b9a with Ubuntu 14.04 - 32.
But rather than building a new (old) compiler (gcc-3.3.6) for Ubuntu 14.04 :
I suggest that you upload "the protocol to be added" :
(Multi Channel MAC) to Google Docs (or supply another link to the code) :
Then I will try making a patch for a later ns2 version.
Note : "ns-allinone-2.1b9a-gcc32.tar.gz" :
Can be built on a contemporary (rpm based) OS with gcc/g++ -3.3.6 . http://mohittahiliani.blogspot.dk/20...-8-ubuntu.html
( g++-3.3.x may not work with any new Ubuntu,
i.e. any g++-3.x tends to fail with ns2-<any-version> ).
I can try it on older version of ububtu like ububtu 9.
But how to install gcc3.3 on that version??
I am trying to develop a new mac protocol for cognitive radio network for my engineering project.
Last edited by jainshubh017; 04-11-2015 at 04:04 PM.
then copy paste the code files into respective directories and run make.soved few variable declaration errors then getting this error now-
g++-3.3 -o common/ptypes2tcl common/ptypes2tcl.o
./common/ptypes2tcl > gen/ptypes.cc
Segmentation fault
make: *** [gen/ptypes.cc] Error 139
what i can do??
Last edited by jainshubh017; 04-21-2015 at 05:05 PM.
Dear knudfl,
Ns2.1b9a install just fine but error came when i try to implement mmac protocol in ns2.
I have already sent mmac code files to you earlier.
How can i solve that error
dear knudfl,
there were few errors of type variable undeclare which i have solved by comparing modified mmac files with original files.
after these 4-5 errors i am getting error-
Segmentation fault
make: *** [gen/ptypes.cc] Error 139
do you have any other cognitive radio mac protocol code,it will be a great help..
dear knudfl, CRN CRCN and TFRC-CRAHN are extension for cognitive radio simulation.
for my project i need to modify some cognitive radio mac protocol,do u have any CR-mac protocol??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.