According to J. Overbey: While burning my CPU.
> 
> Please help...  I just attempted to recompile my kernel (2.0.27; RH4.2 if
> it makes any difference).  Here's a copy of the last several lines of output.
> Can someone PLEASE tell me what I did wrong (or, moreover, what I need to do
> to fix it)?  Did I forget one of the packages or something?  Thanx!
> --Jeff Overbey
> 
> s.o ipc/ipc.o net/network.a fs/filesystems.a drivers/block/block.a \
> drivers/char/char.a drivers/net/net.a arch/i386/math-emu/math.a \
> /usr/src/linux-2.0.27/arch/i386/lib/lib.a \
> /usr/src/linux-2.0.27/lib/lib.a \
> /usr/src/linux-2.0.27/arch/i386/lib/lib.a -o vmlinux
> ld: warning: cannot find entry symbol _start; defaulting to 000fffe0
  ^^^^^ The first problem.

> nm vmlinux | grep -v '\(compiled\)\|\(\.o$\)\|\( a \)' | sort > System.map
> make[1]: Entering directory `/usr/src/linux-2.0.27/arch/i386/boot'
> make[2]: Entering directory `/usr/src/linux-2.0.27/arch/i386/boot/compressed'
> ./xtract /usr/src/linux-2.0.27/vmlinux | gzip -9 | ./piggyback > piggy.o
> Non-GCC header of 'system'
> Compressed size 20.
  ^^ No image has been made.


> 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 `fill_inbuf':
> misc.o(.text+0x1bd8): undefined reference to `input_data'
> misc.o(.text+0x1bdd): undefined reference to `input_len'
> misc.o(.text+0x1bf3): undefined reference to `input_data'
> make[2]: *** [vmlinux] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.0.27/arch/i386/boot/compressed'
> make[1]: *** [compressed/vmlinux] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.0.27/arch/i386/boot'
> make: *** [zImage] Error 2

The above are library problems, either you have not installed your source
properly or you used a patch which gave a *.rej file somewhere in the souce
tree.

Do; 'find /usr/src/linux/ - name *.rej' If any are found, thats the problem.

another thing could be an old object file in a directory left over from a
previous compile.

You could of course be using a version of gcc above 2.7.2.x which could
cause all sorts of problems.
Same as to 'ld'.
Read /usr/src/linux/Documentation/Changes and compare your system to what is
spesified.

You do not say which pre patch you are using, 2.0.37-pre-2 works fine for
me. I have seen no negative mails in linux-kernel concerning "any"
2.0.37-pre-patch.

> 
> 


-- 
Regards Richard.
[EMAIL PROTECTED]

Happy New Year, and may all your troubles be small (ones).

Reply via email to