On 06/30/2011 01:51 AM, Stu Statman wrote: > > After the repeated failures on Ubuntu, we decided to try to get
What did fail with Ubuntu? Likely not a kernel issue!? I think it's not a good idea to switch distro just because you did not get it working quickly enough. What kernel are you using under Ubuntu? ~$ uname -r 2.6.38-8-generic That's what I have and I will try to get the problem fixed. Will try to find a time slot this week. > SocketCAN to work on CentOS, using kernel-ml to get the latest kernel > (2.6.39-2.el5.elrepo-i686). That failed too : > > [root@localhost 2.6]# pwd > /home/wgn/socketcan/trunk/kernel/2.6 > > [root@localhost 2.6]# make > KERNELDIR=/usr/src/kernels/2.6.39-2.el5.elrepo-i686 > make -C /usr/src/kernels/2.6.39-2.el5.elrepo-i686 > M=/home/wgn/socketcan/trunk/kernel/2.6 modules > TOPDIR=/home/wgn/socketcan/trunk/kernel/2.6 > make[1]: Entering directory `/usr/src/kernels/2.6.39-2.el5.elrepo-i686' > CC [M] /home/wgn/socketcan/trunk/kernel/2.6/drivers/net/can/mcp251x.o > /home/wgn/socketcan/trunk/kernel/2.6/drivers/net/can/mcp251x.c: In > function ‘mcp251x_can_probe’: > /home/wgn/socketcan/trunk/kernel/2.6/drivers/net/can/mcp251x.c:1009: > error: implicit declaration of function ‘create_freezeable_workqueue’ > /home/wgn/socketcan/trunk/kernel/2.6/drivers/net/can/mcp251x.c:1009: > warning: assignment makes pointer from integer without a cast > make[3]: *** > [/home/wgn/socketcan/trunk/kernel/2.6/drivers/net/can/mcp251x.o] Error 1 > make[2]: *** [/home/wgn/socketcan/trunk/kernel/2.6/drivers/net/can] Error 2 > make[1]: *** [_module_/home/wgn/socketcan/trunk/kernel/2.6] Error 2 > make[1]: Leaving directory `/usr/src/kernels/2.6.39-2.el5.elrepo-i686' > make: *** [modules] Error 2 You should not use the Socket-CAN repos as it is out-dated or not up-to-date to some extend. The 2.6.39 kernel coming with CentOS is just fine. Have you checked if CONFIG_CAN_CALC_BITTIMING is set on the Linux kernel coming CentOS? > Any suggestions? Or should we give up on SocketCAN? Be more patient. Wolfgang. _______________________________________________ Socketcan-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-users
