ns 2.31 Makefile cannot be edited
Dear All,
I want to add a few lines in the Makefile, but it is read-only. Anyone knows how to change this? Thank you very much! In the Makefile, find the line that says OBJ_CC = \ In my system it is at line 164. Step7: Copy the following lines and append it to OBJ_CC listing as shown wcett/wcett_logs.o wcett/wcett.o \ wcett/wcett_rtable.o wcett/wcett_rqueue.o \ mac/macng.o mac/maccon.o\ mac/macngenhanced.o\ Regards, Ting |
Welcome to LQ.
Don't know how your Makefile can have "read permissions" only ? May be you by mistake have done a command with $ sudo <command>. Then the files are owned by root, and you have no access. Changing `owner` : $ sudo chown -R ty00016:ty00016 ns-2.31/* Changing the Makefile permissions : $ cd ns-2.31/ && chmod 0644 Makefile http://www.onlineconversion.com/html...calculator.htm 'man chmod' http://linux.die.net/man/1/chmod - |
All times are GMT -5. The time now is 04:38 PM. |