hi,
Found error on /etc/init.d/beegfs-client rebuild on Ubuntu 20.04.4 LTS.
$ uname -r
5.13.0-30-generic
Error messages:
$ sudo /etc/init.d/beegfs-client rebuild
[sudo] password for hpcadmin:
- 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/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
24 | struct timespec atime;
| ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:25:20: error: field ‘mtime’ has incomplete type
25 | struct timespec mtime;
| ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:26:20: error: field ‘ctime’ has incomplete type
26 | 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/atomic64.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:24:20: error: field ‘atime’ has incomplete type
24 | struct timespec atime;
| ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:25:20: error: field ‘mtime’ has incomplete type
25 | struct timespec mtime;
| ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:26:20: error: field ‘ctime’ has incomplete type
26 | 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/FhgfsOpsCommKit.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:24:20: error: field ‘atime’ has incomplete type
24 | struct timespec atime;
| ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:25:20: error: field ‘mtime’ has incomplete type
25 | struct timespec mtime;
| ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:26:20: error: field ‘ctime’ has incomplete type
26 | 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
24 | struct timespec atime;
| ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:25:20: error: field ‘mtime’ has incomplete type
25 | struct timespec mtime;
| ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:26:20: error: field ‘ctime’ has incomplete type
26 | 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
24 | struct timespec atime;
| ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:25:20: error: field ‘mtime’ has incomplete type
25 | struct timespec mtime;
| ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:26:20: error: field ‘ctime’ has incomplete type
26 | 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/FhgfsOpsRemoting.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:24:20: error: field ‘atime’ has incomplete type
24 | struct timespec atime;
| ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:25:20: error: field ‘mtime’ has incomplete type
25 | struct timespec mtime;
| ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:26:20: error: field ‘ctime’ has incomplete type
26 | 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/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
24 | struct timespec atime;
| ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:25:20: error: field ‘mtime’ has incomplete type
25 | struct timespec mtime;
| ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:26:20: error: field ‘ctime’ has incomplete type
26 | struct timespec ctime; // attrib change time (not creation time)
| ^~~~~
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 ‘timespec64_to_ns’? [-Werror=implicit-function-declaration]
163 | 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’ was expected
163 | 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
29 | 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 ‘ktime_get_ns’? [-Werror=implicit-function-declaration]
38 | ktime_get_ts(&this->now);
| ^~~~~~~~~~~~
| ktime_get_ns
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 ‘timespec64_to_ns’? [-Werror=implicit-function-declaration]
163 | 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’ was expected
163 | return timespec64_trunc(now, sb->s_time_gran);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
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 ‘timespec64_to_ns’? [-Werror=implicit-function-declaration]
163 | 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’ was expected
163 | return timespec64_trunc(now, sb->s_time_gran);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:281: /opt/beegfs/src/client/client_module_7/build/../source/os/atomic64.o] Error 1
make[3]: *** Waiting for unfinished jobs....
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’:
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 ‘timespec64_to_ns’? [-Werror=implicit-function-declaration]
163 | 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: implicit declaration of function ‘timespec64_trunc’; did you mean ‘timespec64_to_ns’? [-Werror=implicit-function-declaration]
163 | 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’ was expected
163 | return timespec64_trunc(now, sb->s_time_gran);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: incompatible types when returning type ‘int’ but ‘struct timespec64’ was expected
163 | 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/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
29 | struct timespec now;
| ^~~
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
29 | struct timespec now;
| ^~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Serialization.h:27,
from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/control/../NetMessage.h:6,
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/os/OsCompat.h: At top level:
/opt/beegfs/src/client/client_module_7/build/../source/os/OsCompat.h:11:10: fatal error: asm/kmap_types.h: No such file or directory
11 | #include <asm/kmap_types.h>
| ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
compilation terminated.
/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 ‘ktime_get_ns’? [-Werror=implicit-function-declaration]
38 | 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/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’:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: implicit declaration of function ‘timespec64_trunc’; did you mean ‘timespec64_to_ns’? [-Werror=implicit-function-declaration]
163 | 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’ was expected
163 | 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 ‘ktime_get_ns’? [-Werror=implicit-function-declaration]
38 | ktime_get_ts(&this->now);
| ^~~~~~~~~~~~
| ktime_get_ns
make[3]: *** [scripts/Makefile.build:281: /opt/beegfs/src/client/client_module_7/build/../source/common/system/System.o] Error 1
make[3]: *** [scripts/Makefile.build:281: /opt/beegfs/src/client/client_module_7/build/../source/net/message/NetMessageFactory.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/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 ‘timespec64_to_ns’? [-Werror=implicit-function-declaration]
163 | 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’ was expected
163 | 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
29 | struct timespec now;
| ^~~
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
29 | 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 ‘ktime_get_ns’? [-Werror=implicit-function-declaration]
38 | 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 ‘ktime_get_ns’? [-Werror=implicit-function-declaration]
38 | 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/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
24 | struct timespec atime;
| ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:25:20: error: field ‘mtime’ has incomplete type
25 | struct timespec mtime;
| ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:26:20: error: field ‘ctime’ has incomplete type
26 | struct timespec ctime; // attrib change time (not creation time)
| ^~~~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Serialization.h:27,
from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/NetMessage.h:6,
from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/session/FSyncLocalFileMsg.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsCommKit.c:2:
/opt/beegfs/src/client/client_module_7/build/../source/os/OsCompat.h: At top level:
/opt/beegfs/src/client/client_module_7/build/../source/os/OsCompat.h:11:10: fatal error: asm/kmap_types.h: No such file or directory
11 | #include <asm/kmap_types.h>
| ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
compilation terminated.
make[3]: *** [scripts/Makefile.build:281: /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsCommKit.o] Error 1
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
22 | 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’
120 | fhgfsAttr->modificationTimeSecs = TimeAbs_getTimeval(&now)->tv_sec;
| ^~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Serialization.h:27,
from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/NetMessage.h:6,
from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/storage/lookup/LookupIntentRespMsg.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/LookupIntentInfoOut.h:6,
from /opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/MetadataTk.h:16,
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/OsCompat.h: At top level:
/opt/beegfs/src/client/client_module_7/build/../source/os/OsCompat.h:11:10: fatal error: asm/kmap_types.h: No such file or directory
11 | #include <asm/kmap_types.h>
| ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
compilation terminated.
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 ‘timespec64_to_ns’? [-Werror=implicit-function-declaration]
163 | 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’ was expected
163 | return timespec64_trunc(now, sb->s_time_gran);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Serialization.h:27,
from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/NetMessage.h:6,
from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/session/rw/ReadLocalFileV2Msg.h:4,
from /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsCommKitVec.c:2:
/opt/beegfs/src/client/client_module_7/build/../source/os/OsCompat.h: At top level:
/opt/beegfs/src/client/client_module_7/build/../source/os/OsCompat.h:11:10: fatal error: asm/kmap_types.h: No such file or directory
11 | #include <asm/kmap_types.h>
| ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
compilation terminated.
make[3]: *** [scripts/Makefile.build:281: /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsRemoting.o] Error 1
make[3]: *** [scripts/Makefile.build:281: /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsCommKitVec.o] Error 1
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
29 | 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 ‘ktime_get_ns’? [-Werror=implicit-function-declaration]
38 | ktime_get_ts(&this->now);
| ^~~~~~~~~~~~
| ktime_get_ns
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:281: /opt/beegfs/src/client/client_module_7/build/../source/os/OsCompat.o] Error 1
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:281: /opt/beegfs/src/client/client_module_7/build/../source/os/OsDeps.o] Error 1
make[2]: *** [Makefile:1879: /opt/beegfs/src/client/client_module_7/build/../source] Error 2
make[1]: *** [Makefile:144: module] Error 2
make: *** [AutoRebuild.mk:34: auto_rebuild] Error 2