LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-07-2013, 12:57 AM   #1
gopi001
LQ Newbie
 
Registered: Feb 2013
Posts: 5
Blog Entries: 1

Rep: Reputation: Disabled
Unable to execute make in ns-2.35


Hello,

I have successfully installed ns-allinone-2.35 in my laptop. But , when I am executing make command, I am getting the following error:

common/misc.cc: In member function ‘virtual int RandomCommand::command(int, const char* const*)’:
common/misc.cc:151:31: error: ‘Random’ has not been declared
common/misc.cc:156:11: error: ‘Random’ has not been declared
common/misc.cc:158:4: error: ‘Random’ has not been declared
Makefile:96: recipe for target `common/misc.o' failed
make: *** [common/misc.o] Error 1

Please advise me how to solve this?
 
Old 05-07-2013, 03:03 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
I have successfully installed ns-allinone-2.35
The 'install' command takes care of all the 'make' commands :
$ cd ns-allinone-2.35/ && ./install

** What are you trying to do with the make command ? ?

Things to specify when you ask an ns2 question : OS {name, version, architecture}.
Like Ubuntu 12.04-32bit(i686), CentOS 6-64bit(x86_64), Cygwin -?- .
And : Are you trying to add any change / patch to ns-2.35 ?
And which compilers are you using : gcc-<version>, g++-<version> ?
http://www.linuxquestions.org/linux/...Ask_a_Question
http://linuxsilo.net/docs/smart-questions_en.html

-

Last edited by knudfl; 05-07-2013 at 03:04 AM.
 
  


Reply



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
make with make file yields error: /usr/bin/javac: cannot execute binary file bweaver Ubuntu 4 11-19-2010 02:58 PM
Unable To Execute Kickstart mamtasahai1 Linux - General 2 09-23-2007 09:09 PM
Unable to execute sh scripts zowey Mandriva 2 12-23-2004 03:59 PM
unable to execute any program! hakim Red Hat 3 06-22-2004 10:56 AM
Unable to execute d4x geeedeee Linux - Software 5 03-09-2004 07:37 PM

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

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