Index: [thread] [date] [subject] [author]
  From: Neal Tucker <ntucker@vax.area.com>
  To  : ggi-develop@eskimo.com
  Date: Wed, 26 Aug 1998 00:46:46 -0700

Re: kgicon troubles

Several days have gone by and I haven't gotten any responses.
This *has* to be a simple problem, so I'm hoping someone who
knows just skimmed over my message.  Anyone?

-Neal "kernel_version needed, but can't be found" Tucker


> Ok, finally getting around to trying out kgicon, and I'm
> running into what I am certain is a very simple problem.
> I'm not too module-savvy, though, so it stops me:
> 
> insmod tells me:
>   "kernel_version needed, but can't be found"
> 
> I have tried it with CONFIG_MODVERSIONS on and off (I
> gather from reading the list that this should be off,
> so I spent more time trying to make it work that way).
> 
> I assume it  has something to do with this bit of gunk
> from linux/module.h:
> 
> #ifndef __NO_VERSION__
> #include <linux/version.h>
> const char __module_kernel_version[] __attribute__((section(".modinfo"))) =
> "kernel_version=" UTS_RELEASE;
> #ifdef MODVERSIONS
> const char __module_using_checksums[] __attribute__((section(".modinfo"))) =
> "using_checksums=1";
> #endif
> #endif
> 
> Now, if I do `nm kgicon.o | grep kernel_version`, I get:
> 000000f0 ? __module_kernel_version
> but I don't know what '?' means, since the man page for nm
> tells me to look at the 'binutils' entry in info, and I &$&%#$!
> HATE info because it doesn't help me at all.

Index: [thread] [date] [subject] [author]