Hello,
we recently got some new hardware that require newer kernels than the default debian 10 linux 4.19 version. We can get the server to work with the 5.10 kernel from backports or the debian 11 image.
We're encoutering issues getting beegfs-client to compile in either cases, errors reported on /etc/init.d/beegfs-client rebuild as follows:
root@beta231:~# /etc/init.d/beegfs-client rebuild
- BeeGFS module autobuild
Building beegfs client module
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:27,
from /opt/beegfs/src/client/client_module_7/build/../source/os/atomic64.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:24:20: error: field ‘atime’ has incomplete type
struct timespec atime;
^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:25:20: error: field ‘mtime’ has incomplete type
struct timespec mtime;
^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:26:20: error: field ‘ctime’ has incomplete type
struct timespec ctime; // attrib change time (not creation time)
^~~~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:27,
from /opt/beegfs/src/client/client_module_7/build/../source/app/config/MountConfig.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/app/App.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsCommKitVec.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:24:20: error: field ‘atime’ has incomplete type
struct timespec atime;
^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:25:20: error: field ‘mtime’ has incomplete type
struct timespec mtime;
^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:26:20: error: field ‘ctime’ has incomplete type
struct timespec ctime; // attrib change time (not creation time)
^~~~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:27,
from /opt/beegfs/src/client/client_module_7/build/../source/common/net/sock/NetworkInterfaceCard.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/control/../NetMessage.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/control/../SimpleStringMsg.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/control/AckMsgEx.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/net/message/NetMessageFactory.c:2:
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:24:20: error: field ‘atime’ has incomplete type
struct timespec atime;
^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:25:20: error: field ‘mtime’ has incomplete type
struct timespec mtime;
^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:26:20: error: field ‘ctime’ has incomplete type
struct timespec ctime; // attrib change time (not creation time)
^~~~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/os/atomic64.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h: In function ‘current_fs_time’:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: implicit declaration of function ‘timespec64_trunc’; did you mean ‘tim
espec64_to_ns’? [-Werror=implicit-function-declaration]
return timespec64_trunc(now, sb->s_time_gran);
^~~~~~~~~~~~~~~~
timespec64_to_ns
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: incompatible types when returning type ‘int’ but ‘struct timespec64’ w
as expected
return timespec64_trunc(now, sb->s_time_gran);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:27,
from /opt/beegfs/src/client/client_module_7/build/../source/app/config/MountConfig.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/app/App.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsCommKit.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:24:20: error: field ‘atime’ has incomplete type
struct timespec atime;
^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:25:20: error: field ‘mtime’ has incomplete type
struct timespec mtime;
^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:26:20: error: field ‘ctime’ has incomplete type
struct timespec ctime; // attrib change time (not creation time)
^~~~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:27,
from /opt/beegfs/src/client/client_module_7/build/../source/os/OsDeps.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:24:20: error: field ‘atime’ has incomplete type
struct timespec atime;
^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:25:20: error: field ‘mtime’ has incomplete type
struct timespec mtime;
^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:26:20: error: field ‘ctime’ has incomplete type
struct timespec ctime; // attrib change time (not creation time)
^~~~~
cc1: some warnings being treated as errors
In file included from /opt/beegfs/src/client/client_module_7/build/../source/app/config/MountConfig.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/app/App.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsCommKitVec.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h: In function ‘current_fs_time’:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: implicit declaration of function ‘timespec64_trunc’; did you mean ‘tim
espec64_to_ns’? [-Werror=implicit-function-declaration]
return timespec64_trunc(now, sb->s_time_gran);
^~~~~~~~~~~~~~~~
timespec64_to_ns
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: incompatible types when returning type ‘int’ but ‘struct timespec64’ w
as expected
return timespec64_trunc(now, sb->s_time_gran);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:27,
from /opt/beegfs/src/client/client_module_7/build/../source/app/config/MountConfig.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/app/App.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsRemoting.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:24:20: error: field ‘atime’ has incomplete type
struct timespec atime;
^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:25:20: error: field ‘mtime’ has incomplete type
struct timespec mtime;
^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:26:20: error: field ‘ctime’ has incomplete type
struct timespec ctime; // attrib change time (not creation time)
^~~~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/threading/Condition.h:5,
from /opt/beegfs/src/client/client_module_7/build/../source/common/threading/Thread.h:6,
from /opt/beegfs/src/client/client_module_7/build/../source/app/App.h:10,
from /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsCommKitVec.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h: At top level:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h:29:20: error: field ‘now’ has incomplete type
struct timespec now;
^~~
make[4]: *** [/usr/src/linux-headers-5.10.0-0.bpo.8-common/scripts/Makefile.build:285: /opt/beegfs/src/client/client_module_7/build/../source/os/atomic64.o]
Error 1
make[4]: *** Waiting for unfinished jobs....
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h: In function ‘Time_init’:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h:38:4: error: implicit declaration of function ‘ktime_get_ts’; did you mean ‘kti
me_get_ns’? [-Werror=implicit-function-declaration]
ktime_get_ts(&this->now);
^~~~~~~~~~~~
ktime_get_ns
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/net/sock/NetworkInterfaceCard.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/control/../NetMessage.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/control/../SimpleStringMsg.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/control/AckMsgEx.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/net/message/NetMessageFactory.c:2:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h: In function ‘current_fs_time’:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: implicit declaration of function ‘timespec64_trunc’; did you mean ‘tim
espec64_to_ns’? [-Werror=implicit-function-declaration]
return timespec64_trunc(now, sb->s_time_gran);
^~~~~~~~~~~~~~~~
timespec64_to_ns
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: incompatible types when returning type ‘int’ but ‘struct timespec64’ w
as expected
return timespec64_trunc(now, sb->s_time_gran);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/net/sock/Socket.h:6,
from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/control/../NetMessage.h:5,
from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/control/../SimpleStringMsg.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/control/AckMsgEx.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/net/message/NetMessageFactory.c:2:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h: At top level:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h:29:20: error: field ‘now’ has incomplete type
struct timespec now;
^~~
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h: In function ‘Time_init’:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h:38:4: error: implicit declaration of function ‘ktime_get_ts’; did you mean ‘kti
me_get_ns’? [-Werror=implicit-function-declaration]
ktime_get_ts(&this->now);
^~~~~~~~~~~~
ktime_get_ns
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:27,
from /opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/StringTk.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/common/system/System.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:24:20: error: field ‘atime’ has incomplete type
struct timespec atime;
^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:25:20: error: field ‘mtime’ has incomplete type
struct timespec mtime;
^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:26:20: error: field ‘ctime’ has incomplete type
struct timespec ctime; // attrib change time (not creation time)
^~~~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:27,
from /opt/beegfs/src/client/client_module_7/build/../source/app/config/MountConfig.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/app/App.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/os/OsCompat.c:11:
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:24:20: error: field ‘atime’ has incomplete type
struct timespec atime;
^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:25:20: error: field ‘mtime’ has incomplete type
struct timespec mtime;
^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:26:20: error: field ‘ctime’ has incomplete type
struct timespec ctime; // attrib change time (not creation time)
^~~~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/app/config/MountConfig.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/app/App.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/os/OsCompat.c:11:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h: In function ‘current_fs_time’:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: implicit declaration of function ‘timespec64_trunc’; did you mean ‘tim
espec64_to_ns’? [-Werror=implicit-function-declaration]
return timespec64_trunc(now, sb->s_time_gran);
^~~~~~~~~~~~~~~~
timespec64_to_ns
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: incompatible types when returning type ‘int’ but ‘struct timespec64’ w
as expected
return timespec64_trunc(now, sb->s_time_gran);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/threading/Condition.h:5,
from /opt/beegfs/src/client/client_module_7/build/../source/common/threading/Thread.h:6,
from /opt/beegfs/src/client/client_module_7/build/../source/app/App.h:10,
from /opt/beegfs/src/client/client_module_7/build/../source/os/OsCompat.c:11:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h: At top level:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h:29:20: error: field ‘now’ has incomplete type
struct timespec now;
^~~
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h: In function ‘Time_init’:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h:38:4: error: implicit declaration of function ‘ktime_get_ts’; did you mean ‘kti
me_get_ns’? [-Werror=implicit-function-declaration]
ktime_get_ts(&this->now);
^~~~~~~~~~~~
ktime_get_ns
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/linux-headers-5.10.0-0.bpo.8-common/scripts/Makefile.build:285: /opt/beegfs/src/client/client_module_7/build/../source/os/OsCompat.o]
Error 1
In file included from /opt/beegfs/src/client/client_module_7/build/../source/app/config/MountConfig.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/app/App.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsCommKit.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h: In function ‘current_fs_time’:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: implicit declaration of function ‘timespec64_trunc’; did you mean ‘tim
espec64_to_ns’? [-Werror=implicit-function-declaration]
return timespec64_trunc(now, sb->s_time_gran);
^~~~~~~~~~~~~~~~
timespec64_to_ns
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: incompatible types when returning type ‘int’ but ‘struct timespec64’ w
as expected
return timespec64_trunc(now, sb->s_time_gran);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/threading/Condition.h:5,
from /opt/beegfs/src/client/client_module_7/build/../source/common/threading/Thread.h:6,
from /opt/beegfs/src/client/client_module_7/build/../source/app/App.h:10,
from /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsCommKit.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h: At top level:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h:29:20: error: field ‘now’ has incomplete type
struct timespec now;
^~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/os/OsDeps.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h: In function ‘current_fs_time’:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: implicit declaration of function ‘timespec64_trunc’; did you mean ‘tim
espec64_to_ns’? [-Werror=implicit-function-declaration]
return timespec64_trunc(now, sb->s_time_gran);
^~~~~~~~~~~~~~~~
timespec64_to_ns
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: incompatible types when returning type ‘int’ but ‘struct timespec64’ w
as expected
return timespec64_trunc(now, sb->s_time_gran);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h: In function ‘Time_init’:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h:38:4: error: implicit declaration of function ‘ktime_get_ts’; did you mean ‘kti
me_get_ns’? [-Werror=implicit-function-declaration]
ktime_get_ts(&this->now);
^~~~~~~~~~~~
ktime_get_ns
In file included from /opt/beegfs/src/client/client_module_7/build/../source/os/OsTypeConversion.h:6,
from /opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/MetadataTk.h:14,
from /opt/beegfs/src/client/client_module_7/build/../source/filesystem/FhgfsInode.h:17,
from /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsCommKitVec.c:10:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/TimeAbs.h: At top level:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/TimeAbs.h:22:19: error: field ‘now’ has incomplete type
struct timeval now;
^~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/MetadataTk.h:14,
from /opt/beegfs/src/client/client_module_7/build/../source/filesystem/FhgfsInode.h:17,
from /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsCommKitVec.c:10:
/opt/beegfs/src/client/client_module_7/build/../source/os/OsTypeConversion.h: In function ‘OsTypeConv_iattrOsToFhgfs’:
/opt/beegfs/src/client/client_module_7/build/../source/os/OsTypeConversion.h:120:65: error: dereferencing pointer to incomplete type ‘struct timeval’
fhgfsAttr->modificationTimeSecs = TimeAbs_getTimeval(&now)->tv_sec;
^~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/app/config/MountConfig.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/app/App.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsRemoting.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h: In function ‘current_fs_time’:
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/net/sock/Socket.h:6,
from /opt/beegfs/src/client/client_module_7/build/../source/os/OsDeps.c:5:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h: At top level:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h:29:20: error: field ‘now’ has incomplete type
struct timespec now;
^~~
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: implicit declaration of function ‘timespec64_trunc’; did you mean ‘tim
espec64_to_ns’? [-Werror=implicit-function-declaration]
return timespec64_trunc(now, sb->s_time_gran);
^~~~~~~~~~~~~~~~
timespec64_to_ns
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: incompatible types when returning type ‘int’ but ‘struct timespec64’ w
as expected
return timespec64_trunc(now, sb->s_time_gran);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/threading/Condition.h:5,
from /opt/beegfs/src/client/client_module_7/build/../source/common/threading/Thread.h:6,
from /opt/beegfs/src/client/client_module_7/build/../source/app/App.h:10,
from /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsRemoting.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h: At top level:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h:29:20: error: field ‘now’ has incomplete type
struct timespec now;
^~~
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h: In function ‘Time_init’:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h:38:4: error: implicit declaration of function ‘ktime_get_ts’; did you mean ‘kti
me_get_ns’? [-Werror=implicit-function-declaration]
ktime_get_ts(&this->now);
^~~~~~~~~~~~
ktime_get_ns
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h: In function ‘Time_init’:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h:38:4: error: implicit declaration of function ‘ktime_get_ts’; did you mean ‘kti
me_get_ns’? [-Werror=implicit-function-declaration]
ktime_get_ts(&this->now);
^~~~~~~~~~~~
ktime_get_ns
cc1: some warnings being treated as errors
In file included from /opt/beegfs/src/client/client_module_7/build/../source/os/OsTypeConversion.h:6,
from /opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/MetadataTk.h:14,
from /opt/beegfs/src/client/client_module_7/build/../source/filesystem/FhgfsOpsHelper.h:6,
from /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsRemoting.c:4:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/TimeAbs.h: At top level:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/TimeAbs.h:22:19: error: field ‘now’ has incomplete type
struct timeval now;
^~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/MetadataTk.h:14,
from /opt/beegfs/src/client/client_module_7/build/../source/filesystem/FhgfsOpsHelper.h:6,
from /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsRemoting.c:4:
/opt/beegfs/src/client/client_module_7/build/../source/os/OsTypeConversion.h: In function ‘OsTypeConv_iattrOsToFhgfs’:
/opt/beegfs/src/client/client_module_7/build/../source/os/OsTypeConversion.h:120:65: error: dereferencing pointer to incomplete type ‘struct timeval’
fhgfsAttr->modificationTimeSecs = TimeAbs_getTimeval(&now)->tv_sec;
^~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/StringTk.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/common/system/System.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h: In function ‘current_fs_time’:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: implicit declaration of function ‘timespec64_trunc’; did you mean ‘tim
espec64_to_ns’? [-Werror=implicit-function-declaration]
return timespec64_trunc(now, sb->s_time_gran);
^~~~~~~~~~~~~~~~
timespec64_to_ns
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: incompatible types when returning type ‘int’ but ‘struct timespec64’ w
as expected
return timespec64_trunc(now, sb->s_time_gran);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/linux-headers-5.10.0-0.bpo.8-common/scripts/Makefile.build:285: /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem
/FhgfsOpsCommKitVec.o] Error 1
make[4]: *** [/usr/src/linux-headers-5.10.0-0.bpo.8-common/scripts/Makefile.build:285: /opt/beegfs/src/client/client_module_7/build/../source/net/message/Ne
tMessageFactory.o] Error 1
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/linux-headers-5.10.0-0.bpo.8-common/scripts/Makefile.build:285: /opt/beegfs/src/client/client_module_7/build/../source/common/system/
System.o] Error 1
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/linux-headers-5.10.0-0.bpo.8-common/scripts/Makefile.build:285: /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem
/FhgfsOpsCommKit.o] Error 1
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/linux-headers-5.10.0-0.bpo.8-common/scripts/Makefile.build:285: /opt/beegfs/src/client/client_module_7/build/../source/os/OsDeps.o] E
rror 1
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/linux-headers-5.10.0-0.bpo.8-common/scripts/Makefile.build:285: /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem
/FhgfsOpsRemoting.o] Error 1
make[3]: *** [/usr/src/linux-headers-5.10.0-0.bpo.8-common/Makefile:1845: /opt/beegfs/src/client/client_module_7/build/../source] Error 2
make[2]: *** [/usr/src/linux-headers-5.10.0-0.bpo.8-common/Makefile:185: __sub-make] Error 2
make[1]: *** [Makefile:144: module] Error 2
make: *** [AutoRebuild.mk:34: auto_rebuild] Error 2
Any help would be appreciated.
Andrei