LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 09-16-2015, 11:06 PM   #1
um3
LQ Newbie
 
Registered: Sep 2015
Location: I m from India
Posts: 19

Rep: Reputation: Disabled
Right Steps to modify Makefile.in (ns2) and run??


Greetings LQ,

Ins ns2.35, I made some modifications to the needed files including Makefile.in

Code:
$mv Makefile Makefile.orig
$ make clean
make: *** No targets specified and no makefile found.  Stop.
So I did this:
Code:
$ mv Makefile.0640 Makefile
$ make clean
Makefile.in is newer than Makefile.
You need to re-run configure.
false
make: *** [Makefile] Error 1

I looked for in the web, all that says is ./configure ; make clean; make
But I am currently stuck in the loop.

What should I do,? What is the right procedure for modifying Makefile in ns2 and run?
Please someone who had this problem tell me how to get out?

Thanks all
GrzledSqurl

Last edited by um3; 09-16-2015 at 11:07 PM.
 
Old 09-16-2015, 11:33 PM   #2
um3
LQ Newbie
 
Registered: Sep 2015
Location: I m from India
Posts: 19

Original Poster
Rep: Reputation: Disabled
Alhamdolillah I made it,

I should not do "make clean; make"
What I need to do (after modifications) is to run ./install from ns-allinone-x.x directory

Then in eclipse, this will work just fine..
Project > Clean
Project > Build All..
Run > Run Configurations: ....Run

And the modified code is ready!!!

I am testing the new code from the terminal.

Last edited by um3; 09-23-2015 at 01:51 AM.
 
  


Reply

Tags
ns2



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] I want to modify the Makefile for using distcc peng6662001 Programming 8 10-28-2013 08:52 PM
What should I modify in following Makefile so that it can work on my machine jamesbon Programming 5 11-01-2010 09:05 PM
Can I Modify a Driver Makefile? YAOMK Red Hat 3 04-11-2008 03:09 PM
How to modify makefile.in or makefile.am QiangWan Linux - Newbie 1 05-17-2005 11:07 AM
new system call, modify Makefile for .o feetyouwell Programming 0 11-16-2004 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 08:55 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
Open Source Consulting | Domain Registration