lkml.org 
[lkml]   [1996]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectKernel Compile problem

Greetings. First off, I'm not on this list, so replies via email please.
(And the instructions on joining the list if its public).

I've been using Linux since 1.2.8 (yeah, only a year or so), and love it.
I bought a system from a company called VA Research, and it uses RedHat.
I've been recompiling my kernel reasonably frequently, testing various
options,, and had no prolem (2.0.12). Then one day, I built a JAVA
support, ELF based kernel, and I think I added experimental code in..(who
tell me do dat?)

Anyway, it compiled happily, and I installed it, keeping my current kernel
as a different name (and modded LILO to suit). Rebooted nicely, came up
smoothly. (Oh yes, I also added the patch for the ping problem). Hopped
onto the LAN at work, and went surfing. Dropped over to a shell prompt to
do something, and got an error like: Error, cannot load interpreter.

Thought that this was rather strange, dropped over to a root console and
told the system to reboot. Same error. Hit the nerve pinch., Same
error. In the end I had to hit the switch. I brought it back up under
the old kernel, and went to remake the kernel so as to get a nice stable
one back. Well, what follows is my problem: (I can supply a full build
log etc if wanted)

ld: warning: cannot find entry symbol _start; defaulting to 000fffe0
nm vmlinux | grep -v '\(compiled\)\|\(\.o$\)\|\( a \)' | sort > System.map
make[1]: Entering directory `/usr/src/linux/arch/i386/boot'
make[2]: Entering directory `/usr/src/linux/arch/i386/boot/compressed'
./xtract /usr/src/linux/vmlinux | gzip -9 | ./piggyback > piggy.o
Non-GCC header of 'system'
Compressed size 20.
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+0x1ebc): undefined reference to `input_data'
misc.o(.text+0x1ec1): undefined reference to `input_len'
misc.o(.text+0x1ed7): undefined reference to `input_data'
make[2]: *** [vmlinux] Error 1
make[2]: Leaving directory `/usr/src/linux/arch/i386/boot/compressed'
make[1]: *** [compressed/vmlinux] Error 2
make[1]: Leaving directory `/usr/src/linux/arch/i386/boot'
make: *** [zImage] Error 2
ld: warning: cannot find entry symbol _start; defaulting to 000fffe0
nm vmlinux | grep -v '\(compiled\)\|\(\.o$\)\|\( a \)' | sort > System.map
make[1]: Entering directory `/usr/src/linux/arch/i386/boot'
make[2]: Entering directory `/usr/src/linux/arch/i386/boot/compressed'
./xtract /usr/src/linux/vmlinux | gzip -9 | ./piggyback > piggy.o
Non-GCC header of 'system'
Compressed size 20.
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+0x1ebc): undefined reference to `input_data'
misc.o(.text+0x1ec1): undefined reference to `input_len'
misc.o(.text+0x1ed7): undefined reference to `input_data'
make[2]: *** [vmlinux] Error 1
make[2]: Leaving directory `/usr/src/linux/arch/i386/boot/compressed'
make[1]: *** [compressed/vmlinux] Error 2
make[1]: Leaving directory `/usr/src/linux/arch/i386/boot'
make: *** [zImage] Error 2

I went and looked in libc.a for memcpy, and found it. Looked for
input_data and input_len, not there. This system was compiling happily
before the hard reset. Can anybody please tell me what has happened, and
what my fix is? Even if it means pulling all the libraries from Sunsite,
I'll do it, as I want to use 2.0.26. If it means rebuilding my
system..oh well, thats what tape drives are for.


Many thanks in advance for any help.

Duncan Hill
------------------------------------------------------------------------------
Student of the Barbados Community College
Cogito cogito ergo cogito sum - I think that I think therefore I think I am.
http://www.sunbeach.net/personal/dhill/dhill.htm
http://www.sunbeach.net/personal/dhill/lynx/lynx-main.html
------------------------------------------------------------------------------


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.028 / U:4.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site