I have been trying without success to get the Libsocketcan working with the i.MX28. I'm using the 18.104.22.168 kernel and libsocketcan-0.0.8 (tried 0.0.9 also). Compile fails saying IFLA_LINK_INFO, IFLA_INFO_KIND, IFLA_INFO_DATA and IFLA_INFO_MAX are undefined, while they are indeed in the if_link.h header.
Is there another kernel version I should be using with the i.MX28, or is there another way to get socketcan support working in 22.214.171.124?
Thank you everyone.