LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 05-25-2006, 02:38 AM   #1
xpp
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Rep: Reputation: 0
compile old kernel problem


Has anyone compiled 1.x linux kernel using current gcc(such as 3.2 on RedHat 9.0) ?

I try to compile linux kernel 1.3.x with RAMDISK support in a floppy disk. When the kernel try to find the RAMDISK it complains that it couldn't find RAMDISK and end up with the "kfree non-kmalloced memory".

I use rdev to config the RAMDISK params. Although it can't find the RAMDISK it shouldn't "kfree non-kmalloc memory".

Where can the trick be ?

Can anyone who have compiled the old kernel give some advie or some useful links?

many thks
 
Old 05-27-2006, 08:28 PM   #2
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
Try to know what is the official gcc for this kernel.
 
Old 05-28-2006, 12:16 AM   #3
xpp
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Original Poster
Rep: Reputation: 0
The gcc version of the 1.3.xx kernel is 2.5.8 or newer but not 2.6 sereis

i think gcc 2.7.2.3 may work.

i rpm 2.7.2.3 on RedHat 7.2 with RedHat7.2's binutilities and glibc. i haven't compiled the kernel.

New version ld and objcopy(it is objdump in the old kernel) may alse cause problem. i am not sure.

New post will be here after i compile the kerenl on RedHat 7.2.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem to compile the kernel os2 SUSE / openSUSE 1 09-03-2005 07:19 AM
Problem with Kernel 2.6.2 Compile sirphoenix Linux - Newbie 2 02-17-2004 01:51 PM
2.6.2 kernel compile problem DeadlyMuffin Slackware 7 02-16-2004 08:07 PM
Compile Kernel Problem duddy11 Linux - Newbie 1 07-31-2003 11:03 AM
Compile kernel problem! Rex_chaos Linux - General 2 05-19-2002 11:38 PM

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

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