Re: Compile failure with v1.3.88

Russell Berry (rberry@albany.net)
Sun, 14 Apr 1996 15:42:14 -0400 (EDT)


I had the same problem once, I had to manually set
CONFIG_BINFMT_ELF in .config to correct the problem,
something else you might consider is starting with a fresh
1.3.88 tree.

---russ

On Sat, 13 Apr
1996,
Madhusudana Rao wrote:

> With the following :
>
> - Kernel modules 1.3.69
> - Dynamic linker (ld.so) 1.7.14
> - GNU CC 2.7.2
> - Binutils 2.6.0.12
> - Linux C Library 5.3.9
>
> while compiling the kernel, I get :
>
> gcc -D__KERNEL__ -I/usr/src/linux-1.3.88/include -E -traditional -DSVGA_MODE=NORMAL_VGA setup.S -o setup.s
> as86 -0 -a -o setup.o setup.s
> ld86 -0 -s -o setup setup.o
> make[2]: Entering directory `/usr/src/linux-1.3.88/arch/i386/boot/compressed'
> gcc -I/usr/src/linux-1.3.88/include -O2 -DSTDC_HEADERS -o xtract xtract.c
> gcc -I/usr/src/linux-1.3.88/include -O2 -DSTDC_HEADERS -o piggyback piggyback.c
> ./xtract /usr/src/linux-1.3.88/vmlinux | gzip -9 | ./piggyback > piggy.o
> Non-GCC header of 'system'
> Compressed size 20.
> gcc -D__KERNEL__ -I/usr/src/linux-1.3.88/include -traditional -c head.S
> gcc -D__KERNEL__ -I/usr/src/linux-1.3.88/include -O2 -DSTDC_HEADERS -c misc.c
> -o misc.o
> ld -qmagic -Ttext 0xfe0 -o vmlinux head.o misc.o piggy.o
> ld: warning: cannot find entry symbol _start; defaulting to 0000000000000fe0
> misc.o: In function `fill_inbuf':
> misc.o(.text+0x1c1c): undefined reference to `input_data'
> misc.o(.text+0x1c21): undefined reference to `input_len'
> misc.o(.text+0x1c37): undefined reference to `input_data'
> make[2]: *** [vmlinux] Error 1
> make[2]: Leaving directory `/usr/src/linux-1.3.88/arch/i386/boot/compressed'
> make[1]: *** [compressed/vmlinux] Error 2
> make[1]: Leaving directory `/usr/src/linux-1.3.88/arch/i386/boot'
> make: *** [zlilo] Error 2
>
> /Madhu
>
>
>
>
>