You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`In file included from /home/linaro/ros2_ws/src/ethercat_driver_ros2/ethercat_manager/src/ethercat_sdo_srv_server.cpp:24:
/home/linaro/ros2_ws/src/ethercat_driver_ros2/ethercat_manager/include/ethercat_manager/ec_master_async.hpp: In member function ‘void ethercat_manager::EcMasterAsync::close()’:
/home/linaro/ros2_ws/src/ethercat_driver_ros2/ethercat_manager/include/ethercat_manager/ec_master_async.hpp:58:9: error: ‘::close’ has not been declared; did you mean ‘pclose’?
58 | ::close(fd_);
| ^~~~~
| pclose
make[2]: *** [CMakeFiles/ethercat_sdo_srv_server.dir/build.make:63: CMakeFiles/ethercat_sdo_srv_server.dir/src/ethercat_sdo_srv_server.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:78: CMakeFiles/ethercat_sdo_srv_server.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
here is the error:
`In file included from /home/linaro/ros2_ws/src/ethercat_driver_ros2/ethercat_manager/src/ethercat_sdo_srv_server.cpp:24:
/home/linaro/ros2_ws/src/ethercat_driver_ros2/ethercat_manager/include/ethercat_manager/ec_master_async.hpp: In member function ‘void ethercat_manager::EcMasterAsync::close()’:
/home/linaro/ros2_ws/src/ethercat_driver_ros2/ethercat_manager/include/ethercat_manager/ec_master_async.hpp:58:9: error: ‘::close’ has not been declared; did you mean ‘pclose’?
58 | ::close(fd_);
| ^~~~~
| pclose
make[2]: *** [CMakeFiles/ethercat_sdo_srv_server.dir/build.make:63: CMakeFiles/ethercat_sdo_srv_server.dir/src/ethercat_sdo_srv_server.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:78: CMakeFiles/ethercat_sdo_srv_server.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Failed <<< ethercat_manager [15.0s, exited with code 2]
Aborted <<< ethercat_interface [46.3s]
Summary: 1 package finished [47.2s]
1 package failed: ethercat_manager
1 package aborted: ethercat_interface
2 packages had stderr output: ethercat_interface ethercat_manager
8 packages not processed
`
the ethercat igh has been instlled well and worked fine.
The text was updated successfully, but these errors were encountered: