LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-14-2005, 04:56 PM   #1
glalejos
LQ Newbie
 
Registered: Jan 2005
Distribution: Debian
Posts: 18

Rep: Reputation: 0
Heavy problems getting a RTLinux patched kernel


Hi everyone,

This is the first time I post to "LinuxQuestions.org".

I need to install RTLinux. I have searched a lot about the proccess of patching and compiling a Linux kernel with RTLinux (also here, in LinuxQuestions.org), but I always get syntax and undefined references errors at compile time.

I have tried with 2.2.19, 2.4.0, 2.4.0-test1, 2.4.4, 2.4.18 and 2.4.24 kernel sources and I haven't been able to finish the whole proccess with none of them. It seems that there are some errors in the code.

I'm using the "rtlinux" package in Debian SID, on a PIII.

Do anyone knows about the existence of a Linux kernel source that compiles without problems?

Thanks for your help and regards,

Guillermo
 
Old 08-07-2005, 03:53 PM   #2
rsquare
LQ Newbie
 
Registered: Aug 2005
Location: Bangalore, India
Distribution: Fedora Core 2
Posts: 2

Rep: Reputation: 0
Simple and often overlooked mistake ..

HI Guillermo,

> I always get syntax and undefined references errors at compile time.

This is because of the newer and "stricter" gcc compiler you're using.
To solve your problem, you've gotta download kgcc (or get it from the
older RedHat Linux (7.1) CDs).

And do mention kgcc as the default cross-compiler during (before) the
make process. You can do this by editing the makefile in the directory
of your linux source.

> I have tried with 2.2.19, 2.4.0, 2.4.0-test1, 2.4.4, 2.4.18 and 2.4.24 kernel
> sources and I haven't been able to finish the whole proccess with none
> of them. It seems that there are some errors in the code.

And hey .. there are no errors in the code; the problem is with your
compiler - fix it.

Regards,
Rajeev Rao
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Install RTLinux 3.2 on any kernel 2.6 Fedora distribution ..immediate reqrment kumarnine Linux - General 6 02-06-2018 03:15 PM
Debian patched kernel vs official Linux Kernel gerald45 Debian 7 10-12-2005 04:45 AM
About Kernel after getting patched small_boy22 Linux - General 3 05-19-2005 10:54 AM
rtlinux on kernel 2.6.9-1.667 felnlily Linux - Software 1 03-05-2005 03:14 PM
Problems with kismet, kernel 2.4.22, orinoco classic gold (with patched drivers) cyber256 Linux - Wireless Networking 0 06-10-2004 03:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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