LinuxQuestions.org
Visit Jeremy's Blog.
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-26-2002, 03:14 AM   #1
GOLDF1NG3R
LQ Newbie
 
Registered: Jul 2001
Location: UK
Distribution: RH 7.1
Posts: 24

Rep: Reputation: 15
Redhat 7.2 Kernel Compile Errors


I am trying to recompile the kernel to enable LVM support. I have tried to use both the kernel that comes with redhat 7.2 (2.4.7-10) and the latest stable kernel (2.4.17). I keep on getting this error message when trying to `make xconfig`:

rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/home/priorc/src/linux-2.4.17/scripts'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkparse.o tkparse.c
/tmp/ccicVHiv.s: Assembler messages:
/tmp/ccicVHiv.s:15: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccicVHiv.s:15: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccicVHiv.s:15: Error: Rest of line ignored. First ignored character is `,'.
/tmp/ccicVHiv.s:37: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccicVHiv.s:37: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccicVHiv.s:37: Error: Rest of line ignored. First ignored character is `,'.
/tmp/ccicVHiv.s:63: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccicVHiv.s:63: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccicVHiv.s:63: Error: Rest of line ignored. First ignored character is `,'.
/tmp/ccicVHiv.s:188: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccicVHiv.s:188: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccicVHiv.s:188: Error: Rest of line ignored. First ignored character is `,'.
/tmp/ccicVHiv.s:323: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccicVHiv.s:323: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccicVHiv.s:323: Error: Rest of line ignored. First ignored character is `,'.
/tmp/ccicVHiv.s:594: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccicVHiv.s:594: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccicVHiv.s:594: Error: Rest of line ignored. First ignored character is `,'.
/tmp/ccicVHiv.s:724: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccicVHiv.s:724: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccicVHiv.s:724: Error: Rest of line ignored. First ignored character is `,'.
/tmp/ccicVHiv.s:785: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccicVHiv.s:785: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccicVHiv.s:785: Error: Rest of line ignored. First ignored character is `,'.
/tmp/ccicVHiv.s:798: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccicVHiv.s:798: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccicVHiv.s:798: Error: Rest of line ignored. First ignored character is `,'.
/tmp/ccicVHiv.s:808: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccicVHiv.s:808: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccicVHiv.s:808: Error: Rest of line ignored. First ignored character is `,'.
/tmp/ccicVHiv.s:2068: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccicVHiv.s:2068: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccicVHiv.s:2068: Error: Rest of line ignored. First ignored character is `,'.
make[1]: *** [tkparse.o] Error 1
make[1]: Leaving directory `/home/priorc/src/linux-2.4.17/scripts'
make: *** [xconfig] Error 2

I have tried just using the text based configuration method and this worked fine, however when I came to `make bzImage` the same error occured. Does anyone know what this could be?

Cheers,

Chris
 
Old 01-26-2002, 03:44 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Check if your binutils package version matches the requirements for the kernel. Version requirements are in /usr/src/linux/Documentation.
 
Old 01-26-2002, 03:53 AM   #3
GOLDF1NG3R
LQ Newbie
 
Registered: Jul 2001
Location: UK
Distribution: RH 7.1
Posts: 24

Original Poster
Rep: Reputation: 15
Cheers! That was it! I had forgotten that I had downgraded binutils to allow an intall of Oracle 8i. At the time I remember thinking "I must remeber to upgrade this again!".

Thanks for your help.
 
  


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
kernel compile errors slinky2004 Linux - General 1 10-22-2005 05:16 PM
kernel compile errors... ash4stuff Linux - Software 15 01-01-2004 04:48 PM
Kernel compile errors! kierse Slackware 4 12-04-2003 12:25 AM
kernel compile errors justwantin Slackware 2 08-23-2003 05:47 PM
Redhat 9.0 kernel (2.4.20-8) compile errors devershetty Linux - Newbie 3 07-01-2003 12:25 PM

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

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