LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-31-2011, 03:23 AM   #1
raji27
LQ Newbie
 
Registered: Sep 2011
Posts: 13

Rep: Reputation: Disabled
make file error ns2


i'm doing project in blackhole attack prevention in manet using ns2. I've added a blackholeaodv protocol based on aodv in ns2, while doing make i get this following error.

In function `hdr_blackholeaodv::access(Packet const*)':
cmu-trace.cc.text._ZN17hdr_blackholeaodv6accessEPK6Packet[hdr_blackholeaodv::access(Packet const*)]+0x7): undefined reference to `hdr_blackholeaodv:ffset_'
collect2: ld returned 1 exit status
make: *** [ns] Error 1


pls help me in correcting this error
 
Old 10-31-2011, 10:39 PM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 12,898

Rep: Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713
There is really no useful information in your post
( nor in the past 11 posts )
NEEDED things like
Your Operating system ?
the version of GCC being used ?

from past posts i am guessing that this error is with ns 2.34
but no ware in this post is that stated
so is this ns 2.34 or some other version ?


this error might be any of many things
From a too new version of gcc
to a missing or wrong version of a dependency
 
Old 11-01-2011, 03:44 AM   #3
raji27
LQ Newbie
 
Registered: Sep 2011
Posts: 13

Original Poster
Rep: Reputation: Disabled
sorry sir, I'm working red hat5, in ns2.34 i've got this error.
 
Old 11-01-2011, 02:52 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,621

Rep: Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527
Quote:
... blackhole attack prevention in manet using ns2.
I've added a blackholeaodv protocol based on aodv in ns2
If you want any help, you will have to specify 1) patches,
2) modifications, 3) file names for added stuff,
4) direct download links for the above.
 
Old 02-24-2013, 08:39 AM   #5
mhd_abd
LQ Newbie
 
Registered: Feb 2013
Posts: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by raji27 View Post
i'm doing project in blackhole attack prevention in manet using ns2. I've added a blackholeaodv protocol based on aodv in ns2, while doing make i get this following error.

In function `hdr_blackholeaodv::access(Packet const*)':
cmu-trace.cc.text._ZN17hdr_blackholeaodv6accessEPK6Packet[hdr_blackholeaodv::access(Packet const*)]+0x7): undefined reference to `hdr_blackholeaodv:ffset_'
collect2: ld returned 1 exit status
make: *** [ns] Error 1


pls help me in correcting this error
hi sir , I'm working in the same project ,please could you help me?
my email :mhdabdtaha@yahoo.com ,
:mohammedalkhafgey@gmail.com
thanks sir.
 
Old 02-24-2013, 08:53 AM   #6
mhd_abd
LQ Newbie
 
Registered: Feb 2013
Posts: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by raji27 View Post
i'm doing project in blackhole attack prevention in manet using ns2. I've added a blackholeaodv protocol based on aodv in ns2, while doing make i get this following error.

In function `hdr_blackholeaodv::access(Packet const*)':
cmu-trace.cc.text._ZN17hdr_blackholeaodv6accessEPK6Packet[hdr_blackholeaodv::access(Packet const*)]+0x7): undefined reference to `hdr_blackholeaodv:ffset_'
collect2: ld returned 1 exit status
make: *** [ns] Error 1


pls help me in correcting this error
hi sir , I'm working in the same project ,please could you help me?
my email :mhdabdtaha@yahoo.com
:mohammedalkhafgey@gmail.com
thanks sir.
 
Old 02-24-2013, 09:51 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,621

Rep: Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527
# 6 : The same goes for you, if you want an answer :

You will have to tell what you added to ns-2.xx :
Edited files / other modifications / patches.

Including file names / download links.

-
 
  


Reply


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
Error when running make for ns2.30 in Ubuntu 9.10 Labuschagne Linux - Software 32 03-08-2014 01:07 PM
make with make file yields error: /usr/bin/javac: cannot execute binary file bweaver Ubuntu 4 11-19-2010 02:58 PM
Make file error 127 ./config.status: No such file or directory przemekfilu Linux - Newbie 4 11-17-2010 02:06 AM
[SOLVED] NS2 LEACH make problem dkpcad Linux - Wireless Networking 2 10-02-2010 09:04 AM
problem with re-make in ns2.26 newbie06 Red Hat 1 12-18-2006 06:42 PM


All times are GMT -5. The time now is 04:56 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration