Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-29-2004, 03:40 AM   #1
Registered: Jun 2004
Location: Hong Kong
Distribution: debian
Posts: 32

Rep: Reputation: 15
Question Compiling 2.6.7 gets errors !!

Hi hi
I am trying to compile the new kernel 2.6.7 in the RH7.2 server.
Steps for compilation are depicted :
1. "make menuconfig" to select necessary items
2. "make dep" --> it says it is not necessary.
3. "make clean" --> ok
3. "make bzImage" --> produces error that is shown below :

/tmp/ccGUu1Dk.s : Assembler messages;
/tmp/ccGUu1Dk.s:3: Error: Unkown pseudo-op: '.incbin'
make[1]: *** [usr/initramfs_data.o] Error 1
make: *** [usr] Error 2

What should i do to solve this ??

Does any place have to describe the details of compilation of 2.6.x new kernel ? I've got a outed document which describes compilation of kernel but the new kernel seems change a lot.
Old 06-29-2004, 04:16 AM   #2
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
with 2.6, the compilation steps are

make menuconfig
make install
make modules_install
Old 06-29-2004, 04:23 AM   #3
Registered: Jun 2004
Location: Hong Kong
Distribution: debian
Posts: 32

Original Poster
Rep: Reputation: 15
Yes ! I have tried these steps but failed

1. make menuconfig
1a. make clean
2. "make modules"
3. "make modules_install"
4. "make bzImage"


1. make menuconfig
1a make clean
2. make bzImage
3. make modules
4. make modules_install

Those steps produce the same error !!
Old 06-29-2004, 04:58 AM   #4
Registered: May 2004
Location: Vienna, Austria
Distribution: Open SuSE 11, Mac OS X 10.5
Posts: 299

Rep: Reputation: 33
Sounds like a binutils problem. Actually it seems that you are running an
older binutils version.

Take a look on /usr/src/linux-2.6.7/Documentation/Changes
for the minimum required versions of gcc, binutils, etc.

There is also described how you can query the versions
of the required tools.

By the way: If you decided for the 2.6.7 kernel I *suggest* you that
you also apply the mm2 patch.

Last edited by Vlad-A; 06-29-2004 at 05:07 AM.
Old 06-29-2004, 11:59 PM   #5
Registered: Jun 2004
Location: Hong Kong
Distribution: debian
Posts: 32

Original Poster
Rep: Reputation: 15
YES yes yes ! you are right !

I read the CHANGE file and look at the file list. I find that there are many files outdated so i need to download the new version for upgrading the new kernel.



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
Various Compiling Errors (GCC compiling Openal, GUIlib, xmms-wma) gregorya Linux - Software 2 08-27-2004 06:03 AM
Errors compiling boombastic Linux - Newbie 7 08-04-2004 04:09 PM
Errors when compiling anything! adizzle Linux - Newbie 4 06-16-2004 06:27 PM
QT compiling errors slackwarefan Slackware 1 03-01-2004 08:45 PM
Errors compiling 2.6.0 plisken Linux - General 3 10-10-2003 06:12 PM > Forums > Linux Forums > Linux - Newbie

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