LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-18-2013, 05:02 AM   #1
gopi001
LQ Newbie
 
Registered: Feb 2013
Posts: 5
Blog Entries: 1

Rep: Reputation: Disabled
Request to suggest compatible gcc version


Hello,

I want to install ns-2.28 on ubuntu-12.04 LTS, kernel version:3.2.0-29-generic-pae.I request you to suggest gcc version that is compatible with this and how to install it?
Kindly advise for the same.
Waiting for your reply.
 
Old 02-18-2013, 05:26 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,247

Rep: Reputation: 7689Reputation: 7689Reputation: 7689Reputation: 7689Reputation: 7689Reputation: 7689Reputation: 7689Reputation: 7689Reputation: 7689Reputation: 7689Reputation: 7689
so I have Ubuntu 12.04.2 LTS and 3.2.0-37-generic kernel. the default gcc is 4.6.3 I think it should work for you too.
 
Old 02-18-2013, 09:30 AM   #3
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
Welcome to LQ.

None of the default compilers can be used for ns-2.28, dated year 2005.
(The default compilers are g++-4.4, g++-4.5, g++-4.6 ( 4.6 is the system compiler.))
Also : No old Ubuntu compilers will work.

Please use 'gcc41-compat-4.1.2-ubuntu1210_i386.deb'
https://docs.google.com/file/d/0B7S2...it?usp=sharing
And 'g++41-compat-4.1.2_i386.deb'
https://docs.google.com/file/d/0B7S2...it?usp=sharing

The install instructions for ns-allinone-2.28 are here, post # 15 , § 1) .. 6)
http://www.linuxquestions.org/questi...4-a-842773/#15
( The text about post # 3 can be ignored.
Not valid when both patches, ns228-gcc40.patch, ns-2.28-gcc410.patch are used.)

-

Last edited by knudfl; 02-18-2013 at 09:35 AM.
 
1 members found this post helpful.
  


Reply

Tags
g++41-compat-1210, ns228


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
Please suggest me a Linux compatible 3g router amolgupta Linux - Networking 1 05-21-2009 07:04 AM
suggest fedora version harit agarwal Linux - Newbie 1 12-23-2008 02:48 AM
Regarding distribution + kernel version + gcc version + glib version. JCipriani Linux - General 8 04-19-2008 03:54 PM
suggest version for LFS priya001 Linux From Scratch 6 07-03-2006 03:34 PM
suggest kernel version bullwinkle Linux - Software 4 07-12-2004 06:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

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