Messages in this thread |  | | | Date | Tue, 28 Jan 1997 10:16:40 +1100 | | From | Richard Gooch <> | | Subject | Re: undefined reference to `__stop___ksymtab', etc. |
| |
James Bottomley writes: > > I can't get kernel versions since 2.1.18 to compile with modules support > > enabled. Every time I try it I get: > > kernel/kernel.o: In function `init_modules': > > kernel/kernel.o(.text+0x3fe5): undefined reference to `__stop___ksymtab' > > kernel/kernel.o(.text+0x3fea): undefined reference to `__start___ksymtab' > > kernel/kernel.o(.data+0x3620): undefined reference to `__start___ksymtab' > > kernel/kernel.o(.data+0x3634): undefined reference to `__start___ex_table' > > kernel/kernel.o(.data+0x3638): undefined reference to `__stop___ex_table' > > make: *** [vmlinux] Error 1 > > This happens because the linker isn't creating the `magic' variables that > refer to the beginning and end of the various elf sections that have recently > been added to the kernel. > > > I know there has been discussion about this problem on this list but I > > have missed the thread. So what is the fix? > > The fix is to upgrade to binutils-2.7.0.3. However, I found that the linker > that came with the binary distribution also had this problem. The solution > for me was to compile the linker from the binutils source.
I found that I had to upgrade to libc 5.4.17 as well as installing binutils-2.7.0.3. After that, it was fine.
Regards,
Richard....
|  |