lkml.org 
[lkml]   [1997]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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....
\
 
 \ /
  Last update: 2005-03-22 13:38    [from the cache]
©2003-2011 Jasper Spaans