Hi Daniel,
here is the errors i got trying to recompile the util vserver recently, the fatal error is at the end :
In file included from lib/syscall-compat.hc:24:0,
from lib/syscall.c:36:
lib/safechroot-internal.hc:44:33: warning: always_inline function might not be inlinable [-Wattributes]
static ALWAYSINLINE UNUSED void vc_tell_unsafe_chroot() {}
^~~~~~~~~~~~~~~~~~~~~
lib/syscall_getnxinfo.c: In function ‘vc_get_nx_info’:
lib/syscall_getnxinfo.c:35:6: warning: nonnull argument ‘info’ compared to NULL [-Wnonnull-compare]
if (info==0) {
^
lib/syscall_getvxinfo.c: In function ‘vc_get_vx_info’:
lib/syscall_getvxinfo.c:42:6: warning: nonnull argument ‘info’ compared to NULL [-Wnonnull-compare]
if (info==0) {
^
lib/syscall_setcflags.c: In function ‘vc_set_cflags’:
lib/syscall_setcflags.c:35:6: warning: nonnull argument ‘flags’ compared to NULL [-Wnonnull-compare]
if (flags==0) {
^
lib_internal/matchlist-initmanually.c: In function ‘MatchList_initManually’:
lib_internal/matchlist-initmanually.c:188:6: warning: nonnull argument ‘exclude_file’ compared to NULL [-Wnonnull-compare]
if (exclude_file && *exclude_file) {
^
lib_internal/matchlist-initmanually.c: In function ‘MatchList_initManually’:
lib_internal/matchlist-initmanually.c:188:6: warning: nonnull argument ‘exclude_file’ compared to NULL [-Wnonnull-compare]
if (exclude_file && *exclude_file) {
^
and the fatal error:
In file included from lib_internal/util-cleanupmount.c:25:0:
/usr/include/linux/fs.h:366:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__kernel_rwf_t’
typedef int __bitwise __kernel_rwf_t;
^~~~~~~~~~~~~~
debian/rules:23: recipe for target 'build' failed
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
best regards,
Ghislain.
Received on Sat Jan 6 11:52:29 2018