../../src/drivers/engine_control/engine_control.c: In function 'open_can_port':
../../src/drivers/engine_control/engine_control.c:525:11: error: 'SIOCGIFINDEX' undeclared (first use in this function)
525 | ioctl(s, SIOCGIFINDEX, &ifr);
| ^~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
[22/439] Building CXX object src/modules/flight_mode_manager/tasks/Auto/CMakeFiles/FlightTaskAuto.dir/FlightTaskAuto.cpp.obj
ninja: build stopped: subcommand failed.
make: *** [Makefile:226:px4_fmu-v5_default] 错误 1