Ns-2.35 : The patch 10-ospf4ns2.34-base.patch will fail with common/packet.h . Please read post #4 here ... about » ospf_ns235.patch « Here's what you can do: Ubuntu 14.04 : $ sudo apt-get remove ns2 $ tar xvf ns-allinone-2.35_gcc482.tar.gz https://drive.google.com/file/d/0B7S...ew?usp=sharing $ cd ns-allinone-2.35/ $ patch -p0 < ospf_ns235.patch https://drive.google.com/file/d/0B7S...ew?usp=sharing $ ./install $...
It looks like you already applied the patch before (at least partially) and that you are not in the correct directory. Start again, also you can avoid the symlink with the following instructions: Extract ns-allinone-2.35.tar.gz in a fresh directory. cd ns-allinone-2.35/ns-2.35 Apply the patch with: patch -p1 < 10-ospf4ns2.34-base.patch ...