LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-23-2015, 07:32 AM   #1
habibalghani
LQ Newbie
 
Registered: May 2015
Posts: 18

Rep: Reputation: Disabled
error in installing ns-2.34, in icmp.o


greetings,

i've been trying installing ns 2. while i'm installing, i've got this following error :

emulate/icmp.o: In function `IcmpAgent::recv(Packet*, Handler*)':
/home/habib/ns-allinone-2.34/ns-2.34/emulate/icmp.cc:81: multiple definition of `IcmpAgent::IcmpAgent()'
apps/icmp.o:/home/habib/ns-allinone-2.34/ns-2.34/apps/icmp.cc:58: first defined here
emulate/icmp.o: In function `IcmpAgent::recv(Packet*, Handler*)':
/home/habib/ns-allinone-2.34/ns-2.34/emulate/icmp.cc:81: multiple definition of `IcmpAgent::IcmpAgent()'
apps/icmp.o:/home/habib/ns-allinone-2.34/ns-2.34/apps/icmp.cc:58: first defined here
emulate/icmp.o: In function `IcmpAgent::command(int, char const* const*)':
/home/habib/ns-allinone-2.34/ns-2.34/emulate/icmp.cc:134: multiple definition of `IcmpAgent::command(int, char const* const*)'
apps/icmp.o:/home/habib/ns-allinone-2.34/ns-2.34/apps/icmp.cc:65: first defined here
collect2: error: ld returned 1 exit status
make: *** [nse] Error 1
Ns make failed!

Can anybody you help me?
 
Old 05-24-2015, 07:09 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
There is not supposed to be a file ns-2.34/apps/icmp.cc .

A stock ns-2.34 has emulate/icmp.cc only !

? What are you trying to do ?
Which changes were made to ns-2.34 ?


-
 
Old 05-26-2015, 07:33 AM   #3
habibalghani
LQ Newbie
 
Registered: May 2015
Posts: 18

Original Poster
Rep: Reputation: Disabled
actually i solved the problem by editing Makefile.in and delete 'emulate/icmp.o'

i got the the master of ns2.34 with evalvid-RA already installed in it.

i will mark this thread as solved, thank you.
 
  


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
Traceroute fail, ICMP time exceeded in-transit, ICMP <dest> udp port 33438 unreachabl firewallengineer Linux - Networking 0 09-09-2013 07:44 PM
icmp echo received by GTPU tunnel, but when system do icmp reply, wrong! pxgxue Linux - Networking 0 12-07-2012 10:44 AM
ICMP Type 69 error pavaneee Linux - Networking 2 02-06-2012 01:19 PM
[SOLVED] Iptables: icmp and fragmented icmp rule matching Cenobite Linux - Networking 2 02-03-2011 04:37 AM
System ICMP error in FreeBSD Dan Angelescu *BSD 1 10-13-2002 11:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:47 PM.

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