open-iscsi relies on libkmod, which didn't exist in 3.10 kernel. You'll have to use an older open-iscsi, such as 2.0.876.
On Wednesday, February 17, 2021 at 7:58:35 AM UTC-8 Manish Dusane wrote: > All, > > Trying to compile latest open-iscsi-master on 3.10.0-957.10.1.el7.x86_64 > Getting following ilbkmod.h error. > > What am i missing ? > > TIA, > Manish > > $ make > make -C libopeniscsiusr > make[1]: Entering directory `<path>/open-iscsi-master/libopeniscsiusr' > cc -O2 -g -Wall -Werror -Wextra -fvisibility=hidden -fPIC -c -o iface.o > iface.c > iface.c:36:21: fatal error: libkmod.h: No such file or directory > #include <libkmod.h> > ^ > compilation terminated. > make[1]: *** [iface.o] Error 1 > make[1]: Leaving directory `<path>/open-iscsi-master/libopeniscsiusr' > make: *** [user] Error 2 > $ > > -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/open-iscsi/59df9104-0929-42c6-a2c8-9014ba45628dn%40googlegroups.com.
