> *I downloaded the Cygwin crosstool from web site
> (http://www.embeddedarm.com/linux/ARM.htm) and compiled the driver I am
> developing. It gives the following error message.*
>
>
>
> *insmod: kernel-module version mismatch*
>
> * controller was compiled for kernel version 2.4.24*
>
> * while this kernel is version 2.4.26-vrs1-cirrus-1-2-1-ts8.*
>
I have never used the Cygwin crosstool so I don't know if this is relevant
but generally the error message you are receiving is due to the module being
compiled against a different kernel than the kernel which is currently running.
you may be able to force the module to load by passing the "-f" parameter
to the "insmod" command. However I would recommend building against the
correct kernel.
You can build your module against the ts kernel header files by setting the
"-isystem"
parameter to point to the directory containing the ts kernel.
for example.
"arm-linux-gcc -D__KERNEL__ -DMODULE -isystem /path/to/tskernel/include/ -O2
-c module.c"
------------------------ Yahoo! Groups Sponsor --------------------~-->
You can search right from your browser? It's easy and it's free. See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|