LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-16-2014, 09:54 AM   #1
maitanaji
LQ Newbie
 
Registered: Jun 2014
Posts: 19

Rep: Reputation: Disabled
make: *** No rule to make target `caodv/caodv_rquueue.o', needed by `ns'. Stop.


Hi to all
How can I solve this error
make: *** No rule to make target `caodv/caodv_rquueue.o', needed by `ns'. Stop.
Btw I checked caodv folder in this path:
ns-allinone-2.31/ns-2.31/caodv
but there's not "caodv_rquueue.o" file
thanks if someone helps me for this
 
Old 07-17-2014, 11:44 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,020

Rep: Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455
what operating system is this ?
What version of Gcc it it using ?

ns tends to need the OLD gcc 4.1

and have you read any of the NS documentation ?
 
Old 07-18-2014, 12:04 AM   #3
maitanaji
LQ Newbie
 
Registered: Jun 2014
Posts: 19

Original Poster
Rep: Reputation: Disabled
Thanks for your response
I'm woking with ubuntu 12.04
Btw I've read some parts of ns manual documentation ... but not all of that
 
Old 07-18-2014, 12:17 AM   #4
rajbora80
LQ Newbie
 
Registered: Jul 2014
Posts: 13

Rep: Reputation: Disabled
I think there should be corresponding files .cc and .h file so that when u configure it will make the object file (.o) so, when you make it will search the object files.Please check out for the proper ns-allinone package.I am new to ns so my answer may not be correct.
 
Old 07-18-2014, 01:15 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,020

Rep: Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455
have you used the search button on this forum ?
building NS2.?? ( there are MANY versions) has been talked about


Quote:
but there's not "caodv_rquueue.o" file
there will not be
"make" did not finish so it never built it

this is normally from "./configure" not fully running without errors
what errors are in the text file
"config.log"

also did you install gcc 4.1 or are you using gcc 4.4 ?
4.4 might be to NEW to build this
Code:
gcc -V
to get the version

and export the 4.1 version AFTER it is installed also
Code:
export CC=gcc41 CXX=g++41
ns2 is OLD
VERY OLD

it needs a older compiler
see this thread
http://www.linuxquestions.org/questi...-a-4175499594/
and "knudfl's" post
 
Old 07-18-2014, 06:50 AM   #6
maitanaji
LQ Newbie
 
Registered: Jun 2014
Posts: 19

Original Poster
Rep: Reputation: Disabled
Thanks John VV
MY problem solved
Just replacing caodv_rquueue with caodv_rqueue in makefile.in
 
  


Reply

Tags
caodv, 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
make: *** No rule to make target `da.o', needed by `da.bin'. Stop. stf92 Programming 2 09-21-2013 01:54 PM
[SOLVED] make: *** No rule to make target `main.c', needed by `main.o'. Stop. renjith007 Linux - Newbie 3 02-07-2012 01:08 AM
Error in Makefile:No rule to make target `g++',needed by... stop karthik.c Programming 5 03-09-2009 12:55 AM
Help needed for make file problem : make: *** No rule to make target `flash', needed rameshsatyavaram Linux - Newbie 3 09-11-2008 02:13 AM
No rule to make target `/mkspecs/default/qmake.conf', needed by `Makefile'. Stop Julianus Linux - General 0 12-21-2003 07:17 AM


All times are GMT -5. The time now is 08:49 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