I'm developing a CAN app under Qt Creator 3.3.2 with Efus7UL. I'm using the example provided in the buildroot "can.c" and I have an error when ioctl(soc, SIOCGIFINDEX, &ifr), in open_port() function, is executed. The error given by errno is 19.
Is this error ENODEV 19 /* No such device */?
What means and how can I solve this error? I am not sure if I am using the correct CAN driver...