Re: 'comedi.ko': -1 Invalid module format on ARM

On 22/03/05 14:05, Stefano Gafforelli wrote:
> Hi,
> we are trying to compile comedi on Arm with Rtai support.
> We have configured comedi with :
> "  ./configure --with-linuxdir=/usr/src/arm-linux-2.6.7-adeos  
> --with-rtaidir=/usr/magma-arm --with-machine=armv5tel 
> --with-kernel-release=2.6.7-karo-adeos 
> --with-modulesdir=/lib/modules/2.6.7-karo-adeos   "
> 
> 
> but when we load comedi.ko :
> "insmod: error inserting 'comedi.ko': -1 Invalid module format  "
> 
> What about?

It's usually because of a compiler version (or compiler target 
architecture) mismatch between the kernel and the module.

-- 
-=( Ian Abbott _at_ MEV Ltd.    E-mail: <abbotti_at_mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-

Received on 2005-03-22Z14:26:04