[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Black arts
>From: Adam Williams <awilliam@whitemice.org>
>
>CONFIG_MODVERSIONS: Usually, modules have to be recompiled whenever you
>switch to a new kernel.
>
>So that may help if not already enabled.
I did try that, but got the same message about 2.2.17 kernels and 2.2.5
modules. The module may not have been compiled with MODVERSIONS set. <shrug>
>You don't have a make file?
The module came with a makefile; its grand contribution to the whole affair
is one gcc command line. If I try to compile it, I get lib errors as it
interprets, say:
#include<asm/byteorder.h>
to mean /include/asm/byteorder.h, not
/usr/src/linux/include/asm/byteorder.h. Very annoying. Even worse is that
any #includes in the called headers will also be wrong, but I am extremely
unwilling to change them all.
>The above URL is how to recompile the drivers for a network card, but
>can be used as a template for other simple modules.
Thanks; I'll check it out.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.