Hi, I try to compile the socketcan for the version 2.6.18 (cross compiling for ARCH=arm, kernel 2.6.18 changed by montavista for TI devices).
I have checked out files from the /socketcan/trunk tried to compile according what I have read in README file and I get lot of errors like: error: #error This driver does not support Kernel versions < 2.6.27 Then I have seen also errors like socketcan/kernel/2.6/include/socketcan/can/dev.h:92: error: 'struct net_device' has no member named 'stats' I am a newie in such things so I have understood that the backporting will not be so straightforward for me. So this is what is my goal: = to have some CAN interface (as a first step - as simple as possible) in the user space. We use CAN chip MCP2515. What are my main questions now: 1. Isn't the kernel 2.6.18 too old for the socketcan? (I have seen in mailing list https://lists.berlios.de/pipermail/socketcan-core/2009-December/thread.html that Matthias made it working on his system, so I hope it would be possible also for my one) 2. What is a minimum set of files/ objects which I need to compile to have some API? (I think it would be better to start with a minimum of the files .) 3. I have found patch https://lists.berlios.de/pipermail/socketcan-core/2009-December/003638.html posted by Wolfgang, but by my opinion it does not solve problem in dev.h file. Or am I wrong? So please give me a hint how to start . Thanks Juraj
_______________________________________________ Socketcan-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-users
