LinuxQuestions.org
Review your favorite Linux distribution.
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 11-22-2015, 02:20 AM   #1
sosa
LQ Newbie
 
Registered: Aug 2015
Posts: 3
Blog Entries: 1

Rep: Reputation: Disabled
ns2 error


how can solve the problem?
collect2: error: ld returned 1 exit status
make: *** [ns] Error 1
 
Old 11-22-2015, 08:09 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486

Rep: Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635
Unless you are using Cygwin, it is rarely needed to run 'make' in ns-2.35/.

Please read
. http://www.linuxquestions.org/linux/...Ask_a_Question
. http://www.catb.org/~esr/faqs/smart-questions.html
.... and describe what you have and what you are doing :
OS name, version, architecture (i686 or x86_64 ? ).
ns2 version. ? ns-allinone-2.35/ ? Or ?

And what brought you into a situation where you thought 'make' should be used ?
? Did you add any patches, do any code changes ?

--------------
collect2: error: ld returned 1 exit status make: *** [ns] Error 1 :
Google has ~8,000 hits / possible causes.
--------------

-
 
Old 11-22-2015, 08:40 AM   #3
sosa
LQ Newbie
 
Registered: Aug 2015
Posts: 3

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
i use ubuntu 14.04 i386
ns-allinone-2.35
i change code
 
Old 11-22-2015, 09:59 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486

Rep: Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635
Re #3.
Quote:
i change code
Still ~5,000 possible reasons why you fail.
Unknown protocol, unknown files, unknown code / code edits :
You will never get an answer , without telling the full story.

Please read this http://www.catb.org/~esr/faqs/smart-questions.html
... until you can ask a qualified question ... with details.

*** Nobody can guess what you are doing.


-
 
  


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
ns2 error pravin120993 Linux - Newbie 1 09-24-2014 07:49 AM
NS2: Cygwin error "couldn't create signal error, win32 error 161" bhartideswal General 2 05-04-2013 02:22 AM
I got an error while running leach package in ns2.. help me to get out of this error. rkgowrishankar Linux - Software 1 02-07-2012 04:51 AM
ns2 error prashantpanse Linux - Newbie 0 09-26-2008 09:13 AM
NS2 Error ajkannan83 Linux - Software 1 02-10-2008 11:33 PM

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

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