LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-05-2017, 01:53 PM   #1
dhibhu
LQ Newbie
 
Registered: Mar 2017
Posts: 2

Rep: Reputation: Disabled
Unhappy error while compiling a new protocol in ns2 (black hole aodv)


In file included from common/scheduler.cc:48:0:
common/packet.h:46:26: fatal error: lib/bsd-list.h: No such file or directory
compilation terminated.
Makefile:93: recipe for target 'common/scheduler.o' failed
make: *** [common/scheduler.o] Error 1
Ns make failed!
 
Old 03-08-2017, 09:31 PM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Quote:
common/packet.h:46:26: fatal error: lib/bsd-list.h: No such file or directory
Does such a file in such a directory exist on the node you're compiling on ?
 
Old 03-12-2017, 10:08 AM   #3
dhibhu
LQ Newbie
 
Registered: Mar 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
Question

It doesn't exist before. Later I have added it and solved but now I have a new error

satellite/sat-hdlc.o.rodata._ZTI4HDLC[_ZTI4HDLC]+0x8): undefined reference to 'typeinfo for satLL'
collect2:error: ld returned 1 exit status
Makefile:436: recipe for target 'ns' failed
make: *** [ns] Error 1
Ns make failed!
 
Old 03-13-2017, 04:22 PM   #4
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Quote:
satellite/sat-hdlc.o.rodata._ZTI4HDLC[_ZTI4HDLC]+0x8): undefined reference to 'typeinfo for satLL'
.....
make: *** [ns] Error 1
Ns make failed!
Oh, that' happens all the time. I'd look through your /src directory at your build artifacts for a reference to "satLL", particularly in regards to "type". I code python a lot so to me that looks like you either passed "satLL" as an object to a class or method and it's not defined in the scope, however python coders are famously thick headed when it comes to other languages
 
  


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
sir i want completly black hole code in aodv routing protocol anujaulakh Linux - Wireless Networking 2 05-16-2015 06:09 PM
Problem in simulating Black Hole Attack in AODV Protocol through NS2 in FC8 shyan Linux - Newbie 3 02-17-2015 03:21 PM
ns2: implementation of black hole attack in TORA protocol venkatadri Linux - Software 6 09-02-2014 10:21 AM
[SOLVED] How can I implement cooperative black hole attack in AODV protocol? eikhin Linux - Newbie 1 09-18-2013 09:03 AM
black hole attack in aodv protocol my3ram Linux - Wireless Networking 0 12-29-2011 08:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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