Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j2 KERNELRELEASE=3.10.0-862.3.2.el7.x86_64 -C /lib/modules/3.10.0-862.3.2.el7.x86_64/build SUBDIRS=/var/lib/dkms/jool/3.5.7/build/mod/stateful modules && make -C /lib/modules/3.10.0-862.3.2.el7.x86_64/build SUBDIRS=/var/lib/dkms/jool/3.5.7/build/mod/stateless modules......(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.10.0-862.3.2.el7.x86_64 (x86_64)
Consult /var/lib/dkms/jool/3.5.7/build/make.log for more information.
The log:
CC [M] /var/lib/dkms/jool/3.5.7/build/mod/stateful/../common/nl/nl_handler2.o
CC [M] /var/lib/dkms/jool/3.5.7/build/mod/stateful/../common/nl/nl_core2.o
/var/lib/dkms/jool/3.5.7/build/mod/stateful/../common/nl/nl_handler2.c:46:8: error: 'GENL_ID_GENERATE' undeclared here (not in a function)
.id = GENL_ID_GENERATE,
^
/var/lib/dkms/jool/3.5.7/build/mod/stateful/../common/nl/nl_handler2.c: In function 'register_family':
/var/lib/dkms/jool/3.5.7/build/mod/stateful/../common/nl/nl_handler2.c:198:2: error: implicit declaration of function 'genl_register_family_with_ops_groups' [-Werror=implicit-function-declaration]
error = genl_register_family_with_ops_groups(&jool_family, ops,
^
cc1: some warnings being treated as errors
make[1]: *** [/var/lib/dkms/jool/3.5.7/build/mod/stateful/../common/nl/nl_handler2.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [_module_/var/lib/dkms/jool/3.5.7/build/mod/stateful] Error 2
make: Leaving directory `/usr/src/kernels/3.10.0-862.3.2.el7.x86_64'
hi
after update my centos 7 I got:
The log: