[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Error compiling kernel



Hi,
  You need to install binutils, as you are missing the as86 assembler.
Also, i would run make bzImage, instead of make zImage, compression on the
kernel will be better.

Jason

-----Original Message-----
From: Gutierrez Family [mailto:gutierrez_fam@geocities.com]
Sent: Wednesday, September 06, 2000 11:46 PM
To: debian-user@lists.debian.org
Subject: Error compiling kernel


Hi everyone,

I tried to re-compile the kernel (to include generic SCSI support for my
scanner) and ran into problems.  Here's what I did - as far as I can
remember (following the instructions in the README file found in the kernel
source directory):

1) logged in as root
1) ran the xconfig program and selected my options
2) ran 'make dep' (from within /usr/src/kernel-source-2.2.17/)
2) ran 'make zImage' ( also from /usr/src/kernel-source-2.2.17/) and it
compiled for quite a while until I got the following message:

"nm vmlinux | grep -v '\(compiled\)\|\(\.o$\)\|\( [aU]
\)\|\(\.\.ng$\)\|\(LASH[RL]DI\)' | sort > System.map
make[1]: Entering directory `/usr/src/kernel-source-2.2.17/arch/i386/boot'
as86 -0 -a -o bootsect.o bootsect.s
make[1]: as86: Command not found
make[1]: *** [bootsect.o] Error 127
make[1]: Leaving directory `/usr/src/kernel-source-2.2.17/arch/i386/boot'
make: *** [zImage] Error 2
navi:/usr/src/linux#   "

Do you know how I can get the kernel compiled fully?

Thanks in advance.



Reply to: