Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 06-25-2007, 09:23 PM   #1
LQ Newbie
Registered: Jul 2005
Posts: 22

Rep: Reputation: 15
Smile upgrade to kernel : "make bzImage" print "parse error"

I tried to upgrade from 2.4.20 to .

The problem is :

when I run "make bzImage", it prints the following error message:

ld:arch/linux/kernel/ parse error

I open this file, and find the line xxxx. It is:


I comment this line, then "make bzImage" is Ok.

Why? What is this line for?

Last edited by math_physics; 06-25-2007 at 09:26 PM.
Old 06-28-2007, 04:49 AM   #2
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
One does not use 'make bzImage' with a 2.6 kernel in the Red hat family. Upgrading from the 2.4 kernel series to the 2.6 kernel family takes a bit more then building/installing a 2.6 kernel also.

I suggest that you learn how to build a 2.6 kernel for the Red Hat family, the basic steps are:

make mrproper
make menuconfig
make modules_install
make install

Please review:

As a suggestion:
Old 06-29-2007, 11:04 PM   #3
LQ Newbie
Registered: Jul 2005
Posts: 22

Original Poster
Rep: Reputation: 15
Lenard: Thank you for you help

I tried to modify "OUTPUT_ARCH(1)" to "OUTPUT_ARCH(i386)", then run "make bzImage". It passed without error.


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
error 1 while ruuning "make bzImage" in RHEL 4 tataiermail Linux - Enterprise 2 04-02-2007 01:25 PM
kernel compilation:throwing error related with sound during "make bzImage" b0nd Linux - Newbie 1 08-19-2005 09:16 AM
Kernel make bzImage error "undefined reference" w/ Prism2.5 USB driver under 2.6 joachimvb Mandriva 1 09-24-2004 07:43 PM
kernel 2.6.0 compliation problems: "parse error before 'va_list'" sohmc Linux - General 6 12-21-2003 04:45 AM
LFS 4.1: Stalled at Perl, "missing seperator" error from "make" SparceMatrix Linux From Scratch 1 06-07-2003 03:31 PM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 04:20 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration