have you used the search button on this forum ?
building NS2.?? ( there are MANY versions) has been talked about
but there's not "caodv_rquueue.o" file
there will not be
"make" did not finish so it never built it
this is normally from "./configure" not fully running without errors
what errors are in the text file
also did you install gcc 4.1 or are you using gcc 4.4 ?
4.4 might be to NEW to build this
to get the version
and export the 4.1 version AFTER it is installed also
export CC=gcc41 CXX=g++41
ns2 is OLD
it needs a older compiler
see this thread
and "knudfl's" post