modversion issue on redhat 9 (Jun Sun)

Jun Sun jsun at junsun.net
Thu Aug 28 16:45:10 EDT 2003


On Wed, Aug 27, 2003 at 03:49:15PM +0100, Ged Haywood wrote:
> Hello there,
> 
> On Wed, 27 Aug 2003 Jun Sun wrote:
> 
> > Basically if you compile hostap modules for a redhat 9 box, you
> > will end up many unresolved kernel symbols when you install the modules.
> > 
> > The problem is that hostap would include linux/modversions.h file ahead
> > of all other header files, but in reality this file needs to be included
> > after linux/rhconfig.h file because many #ifdef's used there.
> 
> I'm not sure that's the problem.
> 
> I think you might find that the kernel and modules that ship with RH9
> were not compiled with the .config that you used.  

You _have to_ make sure .config is for the kernel that you are compiling
hostap for.  Otherwise you may have bigger troubles (such as pcmcia
not enabled, etc..)

> If you recompile a
> kernel or any modules with the .config that came with RH9 you may need
> to reinstall all the modules as well as the kernel.
>

Sure.  That is DIYS kernel 101.

> You can always just compile everything with CONFIG_MOD_VERSIONS not
> set in the .config but that's asking for trouble later on if you have
> more than one build on your system.
>

See previous answer.

Jun



More information about the HostAP mailing list