Heinz-Jürgen Oertel wrote: > Am Dienstag, 20. Oktober 2009 schrieb Wolfgang Grandegger: >> Heinz-Jürgen Oertel wrote: >>> Hello, >>> I hope someone can help. I did a svn update today. >>> I try to compile Socketcan for SJA1000 for kernel 2.6.25 ARCH=arm >>> and get >>> error: #error This driver does not support Kernel versions < 2.6.27 >> This does not come from the SJA1000 driver itself but from the SJA1000 >> platform driver, I guess. >> >>> Who can tell me what the latest version is I can use and how I can obtain >>> it via the berlios svn. >> Please use "kernel/2.6" from: >> >> $ svn checkout http://svn.berlios.de/svnroot/repos/socketcan/trunk >> >> But the sja1000_platform does not yet support Kernel versions < 2.6.27. >> What errors do you get if you use in sja1000_platform.c: >> >> #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25) >> #error This driver does not support Kernel versions < 2.6.25 >> #endif >> >> Or just comment out the "#error" line. Maybe you are lucky and no >> modifications are required.
Please give a feedback, when the code runs on older kernels so that we can fix this version check. Alternatively it would be nice to provide a patch that makes the code run on older kernels. Regards, Oliver _______________________________________________ Socketcan-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-users
