Problems compiling hostap-driver for kernel 2.6.3

Julian Finn julian
Fri Feb 27 09:29:17 PST 2004


Hi, 

thanks, dmesg brought it: kernel was compiled with gcc-3.3,
hostap-modules were compiled with gcc-2.95

Cheers, 

Julian


* Pavel Roskin <proski at gnu.org> [040227 18:00]:
> On Fri, 27 Feb 2004, Julian Finn wrote:
> 
> > > now it worked, but I have the following problem:
> > > hyperion:~/hostap-driver-0.2.0# modprobe hostap_pci
> > > WARNING: Error inserting hostap
> > > (/lib/modules/2.6.3/kernel/drivers/net/wireless/hostap.ko): Invalid
> > > module format
> > > FATAL: Error inserting hostap_pci
> > > (/lib/modules/2.6.3/kernel/drivers/net/wireless/hostap_pci.ko): Invalid
> > > module format
> >
> > I still have this problem.. module-init-tools Version is 3.0-pre9
> 
> Check kernel log by running dmesg.  Try recompiling the driver.  Run
> 
> file /lib/modules/2.6.3/kernel/drivers/net/wireless/hostap.ko
> 
> and see the output.  It should be an ELF file.  Try the latest version of
> module-init-tools.  Thy inserting the module by insmod:
> 
> insmod /lib/modules/2.6.3/kernel/drivers/net/wireless/hostap.ko
> 
> As the last resort, compile module-init-tools with debug information and
> run it in the debugger.  Find where the error comes from.
> 
> -- 
> Regards,
> Pavel Roskin




More information about the Hostap mailing list