LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-15-2013, 10:39 AM   #1
ty00016
LQ Newbie
 
Registered: Jul 2013
Posts: 2

Rep: Reputation: Disabled
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
 
Old 08-15-2013, 10:54 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
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

-
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] need of makefile info ? how the linux make file is different from simple c makefile ? rpittala Linux - Newbie 2 05-07-2012 09:04 PM
make: Warning: Both `makefile' and `Makefile' exist ? malli42108 Solaris / OpenSolaris 5 10-24-2009 10:09 AM
Is it mandatory to have the name of the makefile as 'Makefile' for kernal module comp narender.d Linux - Kernel 3 05-29-2009 07:26 AM
how to get (makefile -f makefile )output into the textview widget in Pygtk sailu_mvn Programming 3 02-28-2005 04:57 AM


All times are GMT -5. The time now is 02:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration