On Thu, Mar 18, 2010 at 8:24 AM, Alexey Serov <[email protected]>wrote:

> Hi Alexandre,
>
Hi


>
> Thank you very much for your input - this is really great.
>
> Which kernel and socket-can versions did you use for module compiling? I'm
> getting the following errors while building TSCAN1 module with 2.6.31 kernel
> and the latest socket-can svn snapshot:
>

We're using 2.6.24.4

Here's the .config
http://dave.limoilux.org/trac/browser/informatique/trunk/DAVE/kernel/.config

And the procedure we used to build the kernel:

http://dave.limoilux.org/trac/wiki/MainBoardKernel


>
> le...@imontest:~/trunk/kernel/2.6$ make
> make -C /lib/modules/2.6.31-15-generic/build M=/home/lesha/trunk/kernel/2.6
> modules TOPDIR=/home/lesha/trunk/kernel/2.6
> make[1]: Entering directory `/usr/src/linux-headers-2.6.31-15-generic'
>   CC [M]  /home/lesha/trunk/kernel/2.6/drivers/net/can/sja1000/tscan1.o
> /home/lesha/trunk/kernel/2.6/drivers/net/can/sja1000/tscan1.c: In function
> `tscan1_probe`:
> [....]
> /home/lesha/trunk/kernel/2.6/drivers/net/can/sja1000/tscan1.c:289: error:
> `struct can_bittiming` has no member named `clock`

/home/lesha/trunk/kernel/2.6/drivers/net/can/sja1000/tscan1.c: In function
> `tscan1_init`:
> /home/lesha/trunk/kernel/2.6/drivers/net/can/sja1000/tscan1.c:362: error:
> `TSCAN1_SJA1000_IO_ADDR` undeclared (first use in this function)
> [...]
> /home/lesha/trunk/kernel/2.6/drivers/net/can/sja1000/tscan1.c:362: error:
> `TSCAN1_SJA1000_REG_RANGE` undeclared (first use in this function)
>
>

Rember having similar errors. but I forgot how to fix it.

Thank you
_______________________________________________
Socketcan-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-users

Reply via email to