ticrus00 wrote:
> $ insmod ./wiegandInModule.o
> Using ./wiegandInModule.o
> insmod: kernel-module version mismatch
> ./wiegandInModule.o was compiled for kernel version 2.4.26
> while this kernel is version 2.4.26-ts11.
>
> Which crosstool should I use? I have a TS7200, I compiled my module with
> gcc-3.4.4-glibc-
> 2.3.2. I tried gcc-4.0.1-glibc-2.3.5, but I got a ton of errors, IE missing
> libraries, incomplete types, etc. Am I not using the right flags?
Odds are you can get away with insmod -f or --force to force insert the
module since it's the same kernel version. -ts11 is just a define in
the kernel config for naming purposes.
Check this out, it shows how to create a makefile that will pull the
right kernel name
<http://www.cyberciti.biz/tips/compiling-linux-kernel-module.html>
Jason Stahls
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|