Unless you are using Cygwin, it is rarely needed to run 'make' in ns-2.35/.
Please read
.
http://www.linuxquestions.org/linux/...Ask_a_Question
.
http://www.catb.org/~esr/faqs/smart-questions.html
.... and describe what you have and what you are doing :
OS name, version, architecture (i686 or x86_64 ? ).
ns2 version. ? ns-allinone-2.35/ ? Or ?
And what brought you into a situation where you thought 'make' should be used ?
? Did you add any patches, do any code changes ?
--------------
collect2: error: ld returned 1 exit status make: *** [ns] Error 1 :
Google has ~8,000 hits / possible causes.
--------------
-