ns-2.34 extension with ubuntu 10.10
hi
I am trying to install the ns-2 extension by using the patch file for ns-2.34 the os is ubuntu10.10 it runs but it gives me hunk# failed and unexpected finish for the patch file doing the following make distclean on ns-2.34 directory patch -p1 name of patch file path of that patch file here it gives errors so please any help will be appreciated . thankx |
Welcome to LQ.
Please tell the name of the patch. There are a 100 different patches for ns2. ( And `1 hunk failed` is not nessecaryly an error.) For Ubuntu 10.10 / ns-allinone-2.34, the gcc/g++-4.3 should be used. ( sudo apt-get install g++-4.3 ) cd ns-allinone-2.34/ && export CC=gcc-4.3 CXX=g++-4.3 && ./install .. |
thankx for ur replay
i did what you are saying before and it is ok now but the patch file that i am trying to install is { ns-2.34-q2s.20101208.patch} |
Not quite clear, if post # 3 has a question.
'q2s for ns-2.34' : For the sake of completeness : a download link to 'ns-2.34-q2s.20101208.patch': wget http://people.item.ntnu.no/~paquerea...20101208.patch Documentation : http://people.item.ntnu.no/~paquerea/ns/q2s_doc.pdf http://www.q2s.ntnu.no/~paquerea/ns.php .. |
All times are GMT -5. The time now is 10:09 PM. |