ELF + 1.3.x kernel -> kernel header can't be identified

ELF + 1.3.x kernel -> kernel header can't be identified

Post by Jim Ru » Tue, 20 Feb 1996 04:00:00

I want to start working with the 1.3 kernels, but I can't get past one
of the last stages of the build process.  When piggybac in
arch/i386/boot/compressed runs, it states that it can't identify the
kernel (see output below).  The magic numbers in the source do
indicate a lack of a match, but I can't figure out why.

I have been researching this problem on the Usenet, and have
discovered that other people have had this problem when working with
1.3.x kernels and ELF.  Usually, just after ELF is installed.  The
probable cause is that something needs to be updated, I just don't
know what.  

make output related to failure :
make[2]: Entering directory
gcc -I/usr/src/kernel-1.3.62/include -O2 -DSTDC_HEADERS -o xtract
gcc -I/usr/src/kernel-1.3.62/include -O2 -DSTDC_HEADERS -o piggyback
./xtract /usr/src/kernel-1.3.62/vmlinux | gzip -9 | ./piggyback >
Non-GCC header of 'system'
Compressed size 20.
gcc -D__KERNEL__ -I/usr/src/kernel-1.3.62/include -traditional -c
gcc -D__KERNEL__ -I/usr/src/kernel-1.3.62/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 00000fe0
misc.o: In function `memcpy':
misc.o(.text+0x1eac): undefined reference to `input_data'
misc.o(.text+0x1eb1): undefined reference to `input_len'
misc.o(.text+0x1ec7): undefined reference to `input_data'
make[2]: *** [vmlinux] Error 1
make[2]: Leaving directory
make[1]: *** [compressed/vmlinux] Error 2
make[1]: Leaving directory `/usr/src/kernel-1.3.62/arch/i386/boot'
make: *** [zImage] Error 2



1. Where is kernel 1.3.x for ELF

I am running 1.2.11 ELF, which I find to be a perfect kernel. However, I have
just learned about the new IP_Masquerading in the 1.3.x series, and seeing that
it's Mardi Gras, I want to do some masquerading. What is the most stable kernel
that requires the least reconfiguration of my system, and supports
IP_Masquerading? More importantly, where is it? I have been unable to find any
ELF kernels in the 1.3.x series :( Also, how well does IP_Masquerading work,
and will it require any super special setup? Thanx--

Justin (Gus) Hurwitz

2. XFree86 Always in 320x200 Mode

3. COMPILING a 1.3.X kernel with Slackware ELF Dist.

4. care and feeding of /var/log/wtmp?

5. kernel source, kernel headers, and glibc headers

6. Linker doesn't resolve symbol - what's wrong?

7. kernel upgrade 1.3 --> 1.4: where has the disklabel gone?

8. Adaptec 2930 PCI SCSI card

9. Problems with SVGATextMode 0.9 and kernel => 1.3

10. Slackware kernel with ELF, then remove elf, won't boot.

11. Kernels >= 1.3.x completly break my system

12. Kernels >1.3.x hanging

13. Linux 1.2.1 -> 1.3 ELF