LinuxQuestions.org
Visit Jeremy's Blog.
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 03-20-2015, 12:05 AM   #1
Keert
LQ Newbie
 
Registered: Mar 2015
Posts: 6
Blog Entries: 1

Rep: Reputation: Disabled
To run .cc and .h file


How to run/compile .cc and .h file in NS2 on Linux terminal......
 
Old 03-20-2015, 06:23 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: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
* ns2 : files.cc / files.h cannot be compiled individually.

If it's about existing files :
cd ns-2.xx/ && make clean && make


New files.cc must be added to 'Makefile.in' as file.o, section `OBJ_CC :
<TAB>folder/file1.o folder/file2.o \

... And then run ./install in the top directory ns-allinone-2.xx/.


-
 
  


Reply

Tags
ns2


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
.run file for download or another file that can help to open and/or run downloads Dazzill Linux - Newbie 4 04-12-2013 03:28 PM
[SOLVED] put a file in ftp://.... and run it from my computer to creat another file ozminh Linux - Newbie 7 12-03-2010 01:23 AM
how to run .exe file as we run the samwe in windows chandrala13 Linux - Newbie 2 05-22-2008 06:30 AM
How do I run a ¨.run¨ file? Jube Linux - Newbie 4 07-03-2005 11:12 PM
how to run file *.run pixelV Linux - Newbie 1 03-10-2003 09:01 AM


All times are GMT -5. The time now is 07:06 AM.

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