LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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, 04: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, 04:26 AM   #2
pan64
Senior Member
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 4,737

Rep: Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265
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, 08:30 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,633

Rep: Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531
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 08: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 06:04 AM
suggest fedora version harit agarwal Linux - Newbie 1 12-23-2008 01:48 AM
Regarding distribution + kernel version + gcc version + glib version. JCipriani Linux - General 8 04-19-2008 02:54 PM
suggest version for LFS priya001 Linux From Scratch 6 07-03-2006 02:34 PM
suggest kernel version bullwinkle Linux - Software 4 07-12-2004 05:18 AM


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