[ns] Compilation problem

Shafqat-ur-Rehman shafqat.rehman at gmail.com
Wed Nov 15 00:26:21 PST 2006


Hi folks,
I am using ns-allinone-2.30 on Fedora Core 4. I implemented a dummy agent
based on the tutorial "NS by example".  I placed the file ex-linkage.cc  in
the folder ns-2.30/ex. I added the ex/ex-linkage.cc in makefile.in under
OBJ_CC.

Then I executed the following commands:-
configure
make depend
make

Initially it was working fine. but now if i change the code or add some c++
files and then run make, object files are not created. It is not giving any
errors either.
if I do "make distclean" or "make  clean ", I get the  following error.

rm -f *.a *.o libtcl* core errs *~ \#* TAGS *.E a.out \
        errors tclsh tcltest lib.exp Tcl
cd dltest ; make clean
make[1]: Entering directory `/home/vucici/Desktop/Shafqat/ns-allinone-2.30
/ns-2.30/dltest'
rm -f *.o config.cache config.log config.status
rm -f lib.exp ../dltest.marker
rm -f *.so
make[1]: Leaving directory `/home/vucici/Desktop/Shafqat/ns-allinone-2.30
/ns-2.30/dltest'

any suggestions? Pleas let me know if you have some idea about the possible
reason.

thanks
 shafqat


More information about the Ns-users mailing list