Can't compile kernel

Gunnar Horrigmo (horrigmo@telepost.no)
Fri, 21 Jul 1995 16:16:03 +0200 (MET DST)


Hi there.

This is my first post to this list, so please bear with me if this has
been brought up before.

I'm trying to compile the linux-3.11 kernel, but get a bunch of error
messages in the boot/compressed directory. I'm using gcc-2.7.0,
libc-5.0.9, and binutils-2.5.2l.17. I've enclosed the error messages
below. Probably I've just been stupid somewhere along the way, but I'd
really appreciate it if some knowlable person could help me out.

------
make[2]: Entering directory `/usr/local/src/linux/arch/i386/boot/compressed'
gcc -I/usr/local/src/linux/include -O2 -DSTDC_HEADERS -o xtract xtract.c
gcc -I/usr/local/src/linux/include -O2 -DSTDC_HEADERS -o piggyback piggyback.c
./xtract /usr/local/src/linux/vmlinux | gzip -9 | ./piggyback > piggy.o
Non-GCC header of 'system'
Compressed size 20.
gcc -D__KERNEL__ -I/usr/local/src/linux/include -traditional -c head.S
gcc -D__KERNEL__ -I/usr/local/src/linux/include -O2 -DSTDC_HEADERS -c inflate.c
gcc -D__KERNEL__ -I/usr/local/src/linux/include -O2 -DSTDC_HEADERS -c unzip.c
gcc -D__KERNEL__ -I/usr/local/src/linux/include -O2 -DSTDC_HEADERS -c misc.c
ld -qmagic -Ttext 0xfe0 -o vmlinux head.o inflate.o unzip.o misc.o piggy.o
ld: warning: cannot find entry symbol _start; defaulting to 00000fe0
misc.o(.text+0x66): undefined reference to `input_data'
misc.o(.text+0x76): undefined reference to `input_data'
misc.o(.text+0x2bc): undefined reference to `input_len'
misc.o(.text+0x2ed): undefined reference to `input_data'
make[2]: *** [vmlinux] Error 1
make[2]: Leaving directory `/usr/local/src/linux/arch/i386/boot/compressed'
make[1]: *** [compressed/vmlinux] Error 2
make[1]: Leaving directory `/usr/local/src/linux/arch/i386/boot'
make: *** [zImage] Error 2

-- 
Gunnar Horrigmo
        	A poster is a human being or software equivalent.