LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-23-2003, 05:12 PM   #1
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Rep: Reputation: 120Reputation: 120
kernel compile errors


A previous thread on compiling kernels got me back to something I had set aside while I played with networking.

I am using slack-9.0 on a box with an AMD 500something Mhz cpu and 256 Mb RAM. Using bare.i stocjk kernel from install

Nothing fancy required but I thought I'd see if I do up a kernel (my next learnibg experience).

I downloaded linux-2.4.20.tgz and started with the bare.i config file off the ISO. I have followed the compiling guide from the previous thread although I have also checked th how to and a few other docs off the net.

I have been unsuccesful so far in compiling. I get error messages during make bzImage although once I finshed that and got the message during make. I start from a new source tree each time

I'm not looking for someone to debug for me, but I"m wondering why should I have this problem with the slack kernel source and the slack kernel config. I would have figured that these would be safe and simple for a first time out. and would certainly work in a fairly recent/unmodofied slack-9.0 install.

TIA
 
Old 08-23-2003, 05:37 PM   #2
zsejk
Member
 
Registered: Apr 2003
Distribution: Slackware
Posts: 345
Blog Entries: 5

Rep: Reputation: 30
What, pray tell, are your error messages?



-zsejk, who is off to for a while
 
Old 08-23-2003, 05:47 PM   #3
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Original Poster
Rep: Reputation: 120Reputation: 120
While running make bzImage, this is where it spit the dummy most recently

<snip>

gcc -D__KERNEL__ -I/root/sandbox/linux-2.4.20/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i486 -nostdinc -iwithprefix include -DKBUILD_BASENAME=consolemap_deftbl -c -o consolemap_deftbl.o consolemap_deftbl.c
gcc -D__KERNEL__ -I/root/sandbox/linux-2.4.20/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i486 -nostdinc -iwithprefix include -DKBUILD_BASENAME=console -DEXPORT_SYMTAB -c console.c
console.c: In function `scrdown':
console.c:282: internal error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[3]: *** [console.o] Error 1
make[3]: Leaving directory `/root/sandbox/linux-2.4.20/drivers/char'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/root/sandbox/linux-2.4.20/drivers/char'
make[1]: *** [_subdir_char] Error 2
make[1]: Leaving directory `/root/sandbox/linux-2.4.20/drivers'
make: *** [_dir_drivers] Error 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
kernel compile errors slinky2004 Linux - General 1 10-22-2005 05:16 PM
kernel compile errors in Mandrake10.0 gavinbeatty Linux - Newbie 7 08-17-2004 03:49 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
Redhat 7.2 Kernel Compile Errors GOLDF1NG3R Linux - General 2 01-26-2002 03:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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