-
Notifications
You must be signed in to change notification settings - Fork 340
Closed
Description
In file included from /<<PKGBUILDDIR>>/gloo/common/linux.cc:15:
/usr/include/linux/ethtool.h: In function ‘int gloo::getInterfaceSpeedGLinkSettings(int, ifreq*)’:
/usr/include/linux/ethtool.h:2088:17: error: flexible array member ‘ethtool_link_settings::link_mode_masks’ not at end of ‘struct gloo::getInterfaceSpeedGLinkSettings(int, ifreq*)::<unnamed>’
2088 | __u32 link_mode_masks[];
| ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/gloo/common/linux.cc:197:11: note: next member ‘__u32 gloo::getInterfaceSpeedGLinkSettings(int, ifreq*)::<unnamed struct>::link_mode_data [381]’ declared here
197 | __u32 link_mode_data[link_mode_data_nwords];
| ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/gloo/common/linux.cc:195:10: note: in the definition of ‘struct gloo::getInterfaceSpeedGLinkSettings(int, ifreq*)::<unnamed>’
195 | struct {
| ^
make[3]: *** [gloo/CMakeFiles/gloo.dir/build.make:303: gloo/CMakeFiles/gloo.dir/common/linux.cc.o] Error 1
Things are working for 5.X~5.19, but for linux 6.0.X it suddenly got broken.
Metadata
Metadata
Assignees
Labels
No labels