[DRBD-user] drbd-9.0.26-0rc1 doesn't build against linux-5.3.18-24.37
Rob van der Wal
rob.vanderwal at surf.nl
Wed Nov 11 11:32:25 CET 2020
I'm trying to build on Suse Enterprise SP15 SP2 but I'm getting:
...
make tgz"
PATCH
patching file ./drbd_int.h
patching file drbd_bitmap.c
patching file drbd_sender.c
patching file drbd_transport_tcp.c
patching file drbd_main.c
patching file drbd_debugfs.c
patching file drbd_nl.c
patching file drbd_req.c
patching file drbd_state.c
patching file drbd_receiver.c
CC [M] /home/drbdusr/drbd-9.0.26-0rc1/drbd/drbd_dax_pmem.o
In file included from
/usr/src/linux-5.3.18-24.37/include/uapi/linux/posix_types.h:5:0,
from
/usr/src/linux-5.3.18-24.37/include/uapi/linux/types.h:14,
from
/usr/src/linux-5.3.18-24.37/include/linux/compiler.h:180,
from
/usr/src/linux-5.3.18-24.37/include/linux/export.h:45,
from
/usr/src/linux-5.3.18-24.37/include/linux/linkage.h:7,
from
/usr/src/linux-5.3.18-24.37/include/linux/preempt.h:10,
from
/usr/src/linux-5.3.18-24.37/include/linux/spinlock.h:51,
from
/usr/src/linux-5.3.18-24.37/include/linux/vmalloc.h:5,
from
/home/drbdusr/drbd-9.0.26-0rc1/drbd/drbd_dax_pmem.c:22:
/usr/src/linux-5.3.18-24.37/include/linux/stddef.h:8:14: error: expected
declaration specifiers or ‘...’ before ‘(’ token
#define NULL ((void *)0)
^
/usr/src/linux-5.3.18-24.37/include/linux/proc_fs.h:42:52: note: in
expansion of macro ‘NULL’
proc_create_single_data(name, mode, parent, show, NULL)
^~~~
/home/drbdusr/drbd-9.0.26-0rc1/drbd/drbd-kernel-compat/drbd_wrappers.h:474:31:
note: in expansion of macro ‘proc_create_single’
extern struct proc_dir_entry *proc_create_single(const char *name,
umode_t mode,
^~~~~~~~~~~~~~~~~~
make[4]: *** [/usr/src/linux-5.3.18-24.37/scripts/Makefile.build:282:
/home/drbdusr/drbd-9.0.26-0rc1/drbd/drbd_dax_pmem.o] Error 1
make[3]: *** [/usr/src/linux-5.3.18-24.37/Makefile:1650:
_module_/home/drbdusr/drbd-9.0.26-0rc1/drbd] Error 2
make[2]: *** [../../../linux-5.3.18-24.37/Makefile:179: sub-make] Error 2
make[1]: *** [Makefile:132: kbuild] Error 2
make[1]: Leaving directory '/home/drbdusr/drbd-9.0.26-0rc1/drbd'
make: *** [Makefile:131: module] Error 2
drbdusr at barentsz:~/drbd-9.0.26-0rc1>
Any ideas how to solve this issue?
Regards,
Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4249 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20201111/6aa494b5/attachment.bin>
More information about the drbd-user
mailing list