On Tue, Feb 08, 2000 at 12:49:27PM +0100, Charlie RULLEAU wrote:
> hello dear list,
>
> I tried to compile a kernel of my own (2.2.13), and it crashed.
> What I did:
>
> make xconfig (I read every help when the option was unclear)
>
> make dep
>
> make clean
>
> make bzImage
>
> the end of the output message says error 2 (see attachement). I'm using
> mandrake 6.1 on a K6-2 350 (used Pentium as proc class), with 2.2.13 and
> gcc 2.95.1. (dmesg in attachement too).
>
> Where am I wrong? TIA
>
> Charlie
> make -C arch/i386/lib
> make[1]: Entering directory `/usr/src/linux/arch/i386/lib'
> make all_targets
> make[2]: Entering directory `/usr/src/linux/arch/i386/lib'
> gcc -D__KERNEL__ -I/usr/src/linux/include -D__ASSEMBLY__ -traditional -c checksum.S
>-o checksum.o
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
>-fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m486
>-malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o old-checksum.o
>old-checksum.c
> gcc -D__KERNEL__ -I/usr/src/linux/include -D__ASSEMBLY__ -traditional -c
>semaphore.S -o semaphore.o
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
>-fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m486
>-malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o delay.o delay.c
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
>-fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m486
>-malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o usercopy.o
>usercopy.c
> gcc -D__KERNEL__ -I/usr/src/linux/include -D__ASSEMBLY__ -traditional -c getuser.S
>-o getuser.o
> gcc -D__KERNEL__ -I/usr/src/linux/include -D__ASSEMBLY__ -traditional -c putuser.S
>-o putuser.o
> rm -f lib.a
> ar rcs lib.a checksum.o old-checksum.o semaphore.o delay.o usercopy.o getuser.o
>putuser.o
> make[2]: Leaving directory `/usr/src/linux/arch/i386/lib'
> make[1]: Leaving directory `/usr/src/linux/arch/i386/lib'
> gcc -E -C -P -I/usr/src/linux/include -imacros
>/usr/src/linux/include/asm-i386/page_offset.h -Ui386 arch/i386/vmlinux.lds.S
>>arch/i386/vmlinux.lds
> ld -m elf_i386 -T /usr/src/linux/arch/i386/vmlinux.lds -e stext
>arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o \
> --start-group \
> arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o
>ipc/ipc.o \
> fs/filesystems.a \
> net/network.a \
> drivers/block/block.a drivers/char/char.a drivers/misc/misc.a
>drivers/net/net.a drivers/scsi/scsi.a drivers/cdrom/cdrom.a drivers/sound/sound.a
>drivers/pci/pci.a drivers/pnp/pnp.a drivers/video/video.a \
> /usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a
>/usr/src/linux/arch/i386/lib/lib.a \
> --end-group \
> -o vmlinux
> nm vmlinux | grep -v '\(compiled\)\|\(\.o$\)\|\( [aU]
>\)\|\(\.\.ng$\)\|\(LASH[RL]DI\)' | sort > System.map
> make[1]: Entering directory `/usr/src/linux/arch/i386/boot'
> gcc -D__KERNEL__ -I/usr/src/linux/include -E -D__BIG_KERNEL__ -traditional
>-DSVGA_MODE=NORMAL_VGA bootsect.S -o bbootsect.s
> as86 -0 -a -o bbootsect.o bbootsect.s
> make[1]: as86: Command not found
^^^^^^^^^^^^^^^^^^^^^^^
This line is the source of your problem.
> make[1]: *** [bbootsect.o] Error 127
> make[1]: Leaving directory `/usr/src/linux/arch/i386/boot'
> make: *** [bzImage] Error 2
I believe the bin86 package is in need of being installed.
--
Mike Werner KA8YSD | "Where do you want to go today?"
ICQ# 12934898 | "As far from Redmond as possible!"
'91 GS500E |
Morgantown WV | Only dead fish go with the flow.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs