Jonas Karlsson wrote:
> On Mon, 16 Oct 2006 18:13:46 +0200, Jonatan Liljedahl <[EMAIL PROTECTED]>  
> wrote:
> 
>> Trying to get my WG511v2 to work with ndiswrapper, I came across the
>> problem that 'modprobe ndiswrapper' fails with 'invalid module format'.
>> What could be the reason for this? I did compile Ndiswrapper from the
>> latest recipe.
>>
>> Do I have to do something with my linux sources to make them match my
>> installed kernel? I'm not running a custom built kernel, but I have the
>> sources installed for the same version. (The sources that came with 012,
>> i guess...)
>>
> Have you updated GCC? The modules should be compiled with the same version  
> of gcc and kernel sources (but the kernel sources are the same, so it  
> leaves it to gcc).

Yes, I did upgrade GCC... So, should I compile ndiswrapper with the same
GCC that were used to compile the kernel? Trying that now... Yep, that
was it! Now the ndiswrapper module loaded.

Perhaps Compile could check what version of GCC was used to compile the
kernel and warn if the current GCC does not match, when compiling
modules? Perhaps even automagically symlink the right GCC in before
compiling and the original one back afterwards...


-- 
/Jonatan - http://kymatica.com
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to