LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   kernel compile errors (https://www.linuxquestions.org/questions/slackware-14/kernel-compile-errors-84965/)

justwantin 08-23-2003 05:12 PM

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

zsejk 08-23-2003 05:37 PM

What, pray tell, are your error messages?

:)

-zsejk, who is off to :study: for a while

justwantin 08-23-2003 05:47 PM

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


All times are GMT -5. The time now is 05:00 AM.