LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-22-2012, 04:38 AM   #1
swordrock
LQ Newbie
 
Registered: Jan 2012
Posts: 3

Rep: Reputation: Disabled
rt linux installation problem


Hi!

It's a Gcc installation problem actually

I am a bit newbie to linux and now i need to install RT Linux (fsmlabs) on my ubuntu 10.10 laptop.

RT Linux required to use GCC-2.91.66 version but my gcc is 4.6 that comes with Ubuntu. How can i download and change it? I have tried "sudo apt-get install gcc-2.91.66" and it does not work.

Finally is there anyone ever installed/use RT Linux? I have always failed in installation steps. Is there a confidental guide for it,especially on an Ubuntu distro?

Thanks in advance so much.

Last edited by swordrock; 01-22-2012 at 05:15 AM.
 
Old 01-23-2012, 01:13 AM   #2
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Wait a minute, if RTLinux is the one that need gcc-2.91.66 why are you trying to install it on Ubuntu ?
 
1 members found this post helpful.
Old 01-23-2012, 05:59 AM   #3
swordrock
LQ Newbie
 
Registered: Jan 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks for this good question,

Actually RT Linux is just a kernel patch that makes a "general purpose kernel" respond to actions in specific time.

You compile a linux kernel (for RT it is 2.4) with RT Linux patch using any linux distro like Ubuntu,Fedora,RedHat or anything available. If you look at RT Linux installation guide software req. you can understand more deeply.



( located here http://www.google.com.tr/url?sa=t&rc...4wKNxZ5hyEpmUQ)
 
Old 01-23-2012, 04:16 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 18,366

Rep: Reputation: 2737Reputation: 2737Reputation: 2737Reputation: 2737Reputation: 2737Reputation: 2737Reputation: 2737Reputation: 2737Reputation: 2737Reputation: 2737Reputation: 2737
I think ubuntu studio offers it also, all you have to do is boot to it if not a boot option.

Last edited by jefro; 01-23-2012 at 04:18 PM.
 
Old 01-24-2012, 01:00 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,372

Rep: Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569
swordrock you do realize just how old gcc 2.9 is Think 1997 and how old the 2.4 kernel is.
ubuntu 10 will not be able to use a 2.4 kernel from 2002 - it is 10 years out of date


you will not be able to use a tool for the 2.4 kernel on the the 2.6 .? kernel
Even though Ubuntu 10.10 is a bit old ( 11.10 is current) there is NO way a program made for a 10 year old version of the kernel using a 14 year old compiler will build a 2.6 kernel on ubuntu 10.10

what is is you want to do ? and why this rt thing ?

Last edited by John VV; 01-24-2012 at 01:02 AM.
 
1 members found this post helpful.
Old 01-25-2012, 04:56 AM   #6
swordrock
LQ Newbie
 
Registered: Jan 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
ubuntu studio :
jefro if ubuntu studio really offered it there was no need for al this RT OS around here.Working with cameras, control systems requires so much deep control of cpu process for timing


what is you want to do with rt?
i am working on a research robot project where my responsibility is to implement vision based ekf simultaneous localization and mapping (slam for short) algorithm using opencv on a rtos system.As you can see there is a big vision that must be taken, process and use to control dc motors in the same time. Just a rtos can respond this in specific time.

Is there anyone ever use any rtos? maybe on an embedded robotic system ?

a similar project is here http://www.youtube.com/watch?v=nb0Vp...eature=related, i may use rtai (real time application interface) which requires to compile with gcc-3.4 . You say RT Linux is out of date and should go any other platform?
 
Old 01-25-2012, 01:33 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,372

Rep: Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569
Quote:
i am working on a research robot project where my responsibility is to implement vision based ekf simultaneous
you might want to sit down with your research adviser and have a talk
and have he/she put in contact with a linux programmer

gcc 4.6 is the current the old gcc34 is still around for old legacy support

I use opencv ( some of it) and it will NOT run on a old 2.4 kernel operating system

if you need to build a " vanilla " generic kernel for ubuntu
just build one , but the default is fairly generic

now for an embedded appliance you might want to build a bare bones kernel
http://www.openembedded.org/wiki/Kernel_Building

https://help.ubuntu.com/community/Kernel/Compile
a bit old
http://www.howtoforge.com/kernel_compilation_ubuntu

generic
http://www.linuxplanet.com/linuxplanet/tutorials/6409/1


opencv link
http://www.ros.org/wiki/

Last edited by John VV; 01-25-2012 at 01:35 PM.
 
1 members found this post helpful.
  


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
Linux installation problem oyiscala Linux - Laptop and Netbook 10 12-01-2009 03:02 PM
Redhat/Linux Installation Support??? Is It Red hat installation problem??? wanux Red Hat 1 08-01-2006 10:32 PM
Linux Installation problem daz_75 Linux - Software 4 03-12-2004 07:41 AM
Linux Installation problem abhram Linux - General 6 08-19-2003 10:55 AM

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

All times are GMT -5. The time now is 10:17 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration