![]() |
redhat6 ns-2.34 error
hi all...
i have some files to run on ns-2.34 after giving 'make' command it gives following error at the end /usr/bin/ld: i386 architecture of input file `common/main-monolithic.o' is incompatible with i386:x86-64 output collect2: ld returned 1 exit status make: *** [ns] Error 1 can any one help me to solve this error... |
? Probably RedHat EL 6.x, not the 1999 Redhat 6.0 ?
Is your OS 64bits or 32bits ? This command will tell : uname -m Quote:
. |
i have downloaded them...
and i m using 64 bits version of redhat. how can i make them work? |
Quote:
2) And the file names for all the files referred in post #1 as "some files". And please show the output from the command : cat /etc/redhat-release . |
here is the output
cat/etc/redhat-release bash: cat/etc/redhat-release: No such file or directory You have new mail in /var/spool/mail/root i dont exactly remember the site from where i got them. as far as i knw these files have been created in 32 bits version, is there anyway to make them work for 64 bits? |
file names are project.tcl.. with leach.h and leach .cc
i have to confiure that project.tcl file |
Please read post #4 : It is not cat/etc/redhat-release
But : cat /etc/redhat-release , i.e. cat<space>/etc/redhat-release Nobody can know which unknown 32bits files, you are talking about, when no link is provided. Thus no answer to your questions. http://www.linuxquestions.org/linux/...Ask_a_Question http://linuxsilo.net/docs/smart-questions_en.html . |
sorry..
here is the o/p cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.1 (Santiago) |
You are still missing out the most important information, ref. #4:
.. please show 1) a link to the site where you got the files. 2) And the file names for all the files referred in post #1 as "some files". |
hi unable to locate the site.. but how can i attache the files its a folder should i attache the whole folder?
|
# 10
tar -cf name.tar <folder>/ ... and then upload the package to 'Google Docs'. Small files can also be attached to a new post ( 3 per post), with a suffix .txt, like file.cc.txt and file.tcl.txt . Howto attach : Please use the 'paper clip tool' in the 'Advanced Editor'. . |
ok thnx.. one morething i have installed ns2 on centos recentlly for my frend.. but it is giving the output of ns
segmentation fault why id this so? |
# 12 . First : ns2 is for i686, not x86_64.
Will usually work on x86_64, but with a slightly reduced functionality. Prerequisites : # yum install \ gcc-c++ compat-gcc-34-c++ automake autoconf libtool libX11-devel \ libXext-devel libXau-devel libXmu-devel xorg-x11-proto-devel Example, ns-allinone-2.34 : cd ns-allinone-2.34/ && export CC=gcc34 CXX=g++34 && ./install . |
hi knudfl
i have solved those problems but now the issue is whenever i run ./test for leach it gives [root@localhost ns-2.34]# ./test num_nodes is set 3 warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl warning: no class variable Phy/WirelessPhy::E_elec see tcl-object.tcl in tclcl for info about this warning. warning: no class variable Phy/WirelessPhy::e_mp warning: no class variable Phy/WirelessPhy::e_fs INITIALIZE THE LIST xListHead warning: no class variable Phy/WirelessPhy::E_elec see tcl-object.tcl in tclcl for info about this warning. warning: no class variable Phy/WirelessPhy::e_mp warning: no class variable Phy/WirelessPhy::e_fs warning: no class variable Phy/WirelessPhy::E_elec see tcl-object.tcl in tclcl for info about this warning. warning: no class variable Phy/WirelessPhy::e_mp warning: no class variable Phy/WirelessPhy::e_fs Loading connection pattern... Loading scenario file... Starting Simulation... channel.cc:sendUp - Calc highestAntennaZ_ and distCST_ highestAntennaZ_ = 1.5, distCST_ = 550.0 SORTING LISTS ...DONE! Attempting to cancel timer at 0x2d770c8 which is not scheduled plz help |
# 14 : Not really an issue. Warnings are information, not errors.
Your result is a perfect output. For more information : Please have a look at the two "long LEACH threads". ( There are ways to omit the warnings, if you don't want to see them.) 1. http://www.linuxquestions.org/questi...2-27-a-785379/ 2. http://www.linuxquestions.org/questi...2-34-a-870368/ Other leach threads : LQ Search → → Tag = leach - |
All times are GMT -5. The time now is 06:07 AM. |