<div dir="ltr"><div>Hello Team,</div><div><br></div><div>I am trying build DRBD 9 on RHEL 8. But i am getting error mentioned in link below:</div><div><a href="https://lists.linbit.com/pipermail/drbd-user/2019-January/024762.html">https://lists.linbit.com/pipermail/drbd-user/2019-January/024762.html</a></div><div>I couldn&#39;t find any solution for this issue. I am stuck here can you please provide your inputs how to proceed from here. Below are the error logs.<br></div><div><br></div><div><span style="font-family:arial narrow,sans-serif"><b><i><font size="1">patching file drbd_kref_debug.c<br>patching file drbd_interval.c<br>patching file drbd_debugfs.c<br>patching file drbd_dax_pmem.c<br>patching file drbd_bitmap.c<br>patching file drbd_actlog.c<br>At main.c:160:<br>- SSL error:02001002:system library:fopen:No such file or directory: crypto/bio/bss_file.c:69<br>- SSL error:2006D080:BIO routines:BIO_new_file:no such file: crypto/bio/bss_file.c:76<br>sign-file: certs/signing_key.pem: No such file or directory<br>At main.c:160:<br>- SSL error:02001002:system library:fopen:No such file or directory: crypto/bio/bss_file.c:69<br>- SSL error:2006D080:BIO routines:BIO_new_file:no such file: crypto/bio/bss_file.c:76<br>sign-file: certs/signing_key.pem: No such file or directory<br>At main.c:160:<br>- SSL error:02001002:system library:fopen:No such file or directory: crypto/bio/bss_file.c:69<br>- SSL error:2006D080:BIO routines:BIO_new_file:no such file: crypto/bio/bss_file.c:76<br>sign-file: certs/signing_key.pem: No such file or directory<br>depmod: WARNING: could not open /scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/modules.order: No such file or directory<br>depmod: WARNING: /scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko needs unknown symbol __ib_alloc_pd<br>depmod: WARNING: /scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko needs unknown symbol rdma_resolve_addr<br>depmod: WARNING: /scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko needs unknown symbol rdma_reject<br>depmod: WARNING: /scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko needs unknown symbol rdma_disconnect<br>depmod: WARNING: /scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko needs unknown symbol __rdma_create_kernel_id<br>depmod: WARNING: /scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko needs unknown symbol rdma_resolve_route<br>depmod: WARNING: /scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko needs unknown symbol rdma_bind_addr<br>depmod: WARNING: /scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko needs unknown symbol rdma_create_qp<br>depmod: WARNING: /scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko needs unknown symbol rdma_listen<br>depmod: WARNING: /scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko needs unknown symbol rdma_destroy_qp<br>depmod: WARNING: /scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko needs unknown symbol __ib_create_cq<br>depmod: WARNING: /scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko needs unknown symbol ib_destroy_cq_user<br>depmod: WARNING: /scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko needs unknown symbol rdma_connect<br>depmod: WARNING: /scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko needs unknown symbol ib_modify_qp<br>depmod: WARNING: /scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko needs unknown symbol rdma_destroy_id<br>depmod: WARNING: /scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko needs unknown symbol rdma_accept<br>depmod: WARNING: /scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko needs unknown symbol ib_dealloc_pd_user<br>depmod: WARNING: /scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd.ko needs unknown symbol crc32c<br>depmod: WARNING: could not open /scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/modules.builtin: No such file or directory<br>Nishchal kernel is kernel-core-4.18.0-425.3.1.el8.x86_64<br>Preparing kernel sources for kernel-core-4.18.0-425.3.1.el8.x86_64<br>ERROR: Kernel devel name is:  4.18.0-425.3.1.el8.x86_64<br>Doing lazy shadow tree...shadow tree already exists...<br>Removing compat patches<br>patching file ./drbd_int.h<br>patching file drbd-headers/linux/genl_magic_struct.h<br>patching file drbd-headers/linux/genl_magic_func.h<br>patching file drbd-headers/linux/drbd.h<br>patching file drbd-headers/linux/drbd_genl_api.h<br>patching file kref_debug.c<br>patching file drbd_transport_template.c<br>patching file drbd_transport_tcp.c<br>patching file drbd_transport_rdma.c<br>patching file drbd_transport.c<br>patching file drbd_state.c<br>patching file drbd_sender.c<br>patching file drbd_req.c<br>patching file drbd_receiver.c<br>patching file drbd_proc.c<br>patching file drbd_nl.c<br>patching file drbd_nla.c<br>patching file drbd_main.c<br>patching file drbd_kref_debug.c<br>patching file drbd_interval.c<br>patching file drbd_debugfs.c<br>patching file drbd_dax_pmem.c<br>patching file drbd_bitmap.c<br>patching file drbd_actlog.c<br>./drbd-kernel-compat/gen_compat_patch.sh: line 12: spatch: command not found<br>./drbd-kernel-compat/gen_compat_patch.sh: line 45: hash: spatch: not found<br>  INFO: spatch-as-a-service was disabled by your package<br>  maintainer ($SPAAS = false). Install a suitable version<br>  of coccinelle (&gt;1.0.8) or allow spatch-as-a-service by<br>  setting $SPAAS = true<br>ERROR: no suitable spatch found in $PATH. Install package &#39;coccinelle&#39;!<br>make[4]: *** [Makefile:178: drbd-kernel-compat/cocci_cache/eefa15f87ca6481caa94489fb6dcb74e/compat.patch] Error 1<br>make[3]: *** [/scratchpad/workdirs/root/build/RPM/BUILD/drbd-9.23.1/drbd-9.23.1/drbd/Kbuild:124: /scratchpad/workdirs/root/build/RPM/BUILD/drbd-9.23.1/drbd-9.23.1/drbd/drbd-kernel-compat/compat.patch] Error 2<br>make[2]: *** [Makefile:1585: _module_/scratchpad/workdirs/root/build/RPM/BUILD/drbd-9.23.1/drbd-9.23.1/drbd] Error 2<br>ERROR: Could not build kernel module!<br>ERROR:     CMD:  &#39;/usr/bin/make&#39;  &#39;-j&#39;  &#39;1&#39;  &#39;-C&#39;  &#39;/scratchpad/workdirs/root/src/kernels/4.18.0-425.3.1.el8.x86_64&#39;  &#39;SUBDIRS=/scratchpad/workdirs/root/build/RPM/BUILD/drbd-9.23.1/drbd-9.23.1/drbd&#39;  &#39;modules&#39;<br>ERROR: SRC DIR:  /scratchpad/workdirs/root/build/RPM/BUILD/drbd-9.23.1/drbd-9.23.1/drbd<br>ERROR:  KERNEL:  kernel-core-4.18.0-425.3.1.el8.x86_64</font></i></b></span><br></div><div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Regards,<br>Nishchal</div></div></div>