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.
Hi all
I m new to ns2. i m using ns2.35 on fedora 14. I want to implement GPSR protocol. I found the patch of gpsr for ns2.33. I've tried it on ns2.33 bt its not working.
i m getting error like:
patch: **** rejecting target file name with ".." component: ../ns-2.33-hls_working/ns-2.33/common/agent.h
patch: **** rejecting target file name with ".." component: ../ns-2.33-hls_working/ns-2.33/Makefile
Plz anybody help me with the running code for ns2.33 or ns2.35.
It'll be a great help.
Thanks in advance
Problem is solved
Patch of ns2.33 was implemented successfully.
hls.tcl file is running as required.
Now i have to analyse it.
Does anyone have analysed this file.
I have awk file to generate throughput and end to end delay bt both are not working for this patch.
Hope someone must have done this.
Plz help
Thanks Satyaveer Arya
Last edited by monikagoyal; 04-11-2012 at 05:16 AM.
can you help me?
I am installing ns-2.33 in my machine with fedora-16 as os. I am installing from ns-allinone-2.33 package. But it is came out giving error like:
mac/mac-802_11Ext.cc:1161:35: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
mac/mac-802_11Ext.cc:1161:35: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
mac/mac-802_11Ext.cc: In member function ‘void RXC::setRXCState(RXCState)’:
mac/mac-802_11Ext.cc:1246:28: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
mac/mac-802_11Ext.h: In member function ‘u_int32_t PHY_MIBExt::getHdrLen11()’:
mac/mac-802_11Ext.h:177:3: warning: control reaches end of non-void function [-Wreturn-type]
make: *** [mac/mac-802_11Ext.o] Error 1
Ns make failed!
please help me.
#6 @knudfl
Dear knudfl,
In my fedora-16 machine when I have given command like:
[mas@masju ~]$ su
Password:
[root@masju mas]# yum install compat-gcc-34-c++
Loaded plugins: langpacks, presto, refresh-packagekit
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora.
I am getting this error.
Please tell me what to do now?
I downloaded that package and tried to install but it has given the error:
compat-gcc-34-c++-3.4.6-22.fc15.i686 requires libc.so.6(GLIBC_2.1)
compat-gcc-34-c++-3.4.6-22.fc15.i686 requires compat-gcc-34 = 3.4.6-22.fc15
compat-gcc-34-c++-3.4.6-22.fc15.i686 requires libc.so.6(GLIBC_2.0)
compat-gcc-34-c++-3.4.6-22.fc15.i686 requires libc.so.6(GLIBC_2.11)
compat-gcc-34-c++-3.4.6-22.fc15.i686 requires libc.so.6(GLIBC_2.2)
compat-gcc-34-c++-3.4.6-22.fc15.i686 requires libc.so.6
compat-gcc-34-c++-3.4.6-22.fc15.i686 requires libc.so.6(GLIBC_2.3)
Finally I tried to installed ns-2.33 and anyhow installed successfully and PATH has been set according to the instructions obtained. Then I validated ns-2.33. After that I added the patch and run ./configure, make clean and make command. After this I run simple-mipv6.tcl and got the trace and nam files. When I tried to execute nam file it has given command not found. Then I run ./configure and make commands in the directory nam-1.13. During make it has given the error like:
nam_stream.o: In function `NamStreamCompressedFile::NamStreamCompressedFile(char const*)':
nam_stream.cc.text+0x764): undefined reference to `gzopen'
nam_stream.o: In function `NamStreamCompressedFile::gets(char*, int)':
.....................................................................
nam_stream.o: In function `NamStreamCompressedFile::read(char*, int)':
nam_stream.cc.text+0x959): undefined reference to `gzread'
collect2: ld returned 1 exit status
Will you please help me to solve this.
with thanks
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.