My kernel has just been updated to 4.18.7 and now veeamsnap won't build
Here is my build log:
Code: Select all
[root@localhost ~]# cat /var/lib/dkms/veeamsnap/2.0.1.665/build/make.log
DKMS make.log for veeamsnap-2.0.1.665 for kernel 4.18.7-200.fc28.x86_64 (x86_64)
Sun Sep 16 11:28:36 NZST 2018
make: Entering directory '/usr/src/kernels/4.18.7-200.fc28.x86_64'
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/log.o
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/mem_alloc.o
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/sparse_array_1lv.o
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/sparse_bitmap.o
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/container.o
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/container_spinlocking.o
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/queue_spinlocking.o
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/bitmap_sync.o
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/page_array.o
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/rangelist.o
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/rangevector.o
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.o
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/blk_direct.o
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/blk_redirect.o
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/blk_deferred.o
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/defer_io.o
In file included from /var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.c:4:
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.h: In function ‘blk_bioset_create’:
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.h:121:9: error: implicit declaration of function ‘bioset_create’; did you mean ‘blk_bioset_create’? [-Werror=implicit-function-declaration]
return bioset_create(64, front_pad, BIOSET_NEED_BVECS | BIOSET_NEED_RESCUER);
^~~~~~~~~~~~~
blk_bioset_create
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.h:121:9: warning: returning ‘int’ from a function with return type ‘struct bio_set *’ makes pointer from integer without a cast [-Wint-conversion]
return bioset_create(64, front_pad, BIOSET_NEED_BVECS | BIOSET_NEED_RESCUER);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/cbt_map.o
In file included from /var/lib/dkms/veeamsnap/2.0.1.665/build/blk_direct.h:2,
from /var/lib/dkms/veeamsnap/2.0.1.665/build/blk_direct.c:2:
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.h: In function ‘blk_bioset_create’:
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.h:121:9: error: implicit declaration of function ‘bioset_create’; did you mean ‘blk_bioset_create’? [-Werror=implicit-function-declaration]
return bioset_create(64, front_pad, BIOSET_NEED_BVECS | BIOSET_NEED_RESCUER);
^~~~~~~~~~~~~
blk_bioset_create
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.h:121:9: warning: returning ‘int’ from a function with return type ‘struct bio_set *’ makes pointer from integer without a cast [-Wint-conversion]
return bioset_create(64, front_pad, BIOSET_NEED_BVECS | BIOSET_NEED_RESCUER);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_direct.c: In function ‘blk_direct_bioset_free’:
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_direct.c:26:3: error: implicit declaration of function ‘bioset_free’; did you mean ‘bvec_free’? [-Werror=implicit-function-declaration]
bioset_free( BlkDirectBioset );
^~~~~~~~~~~
bvec_free
In file included from /var/lib/dkms/veeamsnap/2.0.1.665/build/blk_redirect.c:2:
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.h: In function ‘blk_bioset_create’:
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.h:121:9: error: implicit declaration of function ‘bioset_create’; did you mean ‘blk_bioset_create’? [-Werror=implicit-function-declaration]
return bioset_create(64, front_pad, BIOSET_NEED_BVECS | BIOSET_NEED_RESCUER);
^~~~~~~~~~~~~
blk_bioset_create
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.h:121:9: warning: returning ‘int’ from a function with return type ‘struct bio_set *’ makes pointer from integer without a cast [-Wint-conversion]
return bioset_create(64, front_pad, BIOSET_NEED_BVECS | BIOSET_NEED_RESCUER);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_redirect.c: In function ‘blk_redirect_bioset_free’:
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_redirect.c:23:3: error: implicit declaration of function ‘bioset_free’; did you mean ‘bvec_free’? [-Werror=implicit-function-declaration]
bioset_free( BlkRedirectBioset );
^~~~~~~~~~~
bvec_free
In file included from /var/lib/dkms/veeamsnap/2.0.1.665/build/blk_deferred.c:3:
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.h: In function ‘blk_bioset_create’:
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.h:121:9: error: implicit declaration of function ‘bioset_create’; did you mean ‘blk_bioset_create’? [-Werror=implicit-function-declaration]
return bioset_create(64, front_pad, BIOSET_NEED_BVECS | BIOSET_NEED_RESCUER);
^~~~~~~~~~~~~
blk_bioset_create
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.h:121:9: warning: returning ‘int’ from a function with return type ‘struct bio_set *’ makes pointer from integer without a cast [-Wint-conversion]
return bioset_create(64, front_pad, BIOSET_NEED_BVECS | BIOSET_NEED_RESCUER);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/tracker.o
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_deferred.c: In function ‘blk_deferred_bioset_free’:
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_deferred.c:177:3: error: implicit declaration of function ‘bioset_free’; did you mean ‘bvec_free’? [-Werror=implicit-function-declaration]
bioset_free( BlkDeferredBioset );
^~~~~~~~~~~
bvec_free
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:317: /var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.o] Error 1
make[1]: *** Waiting for unfinished jobs....
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:317: /var/lib/dkms/veeamsnap/2.0.1.665/build/blk_direct.o] Error 1
In file included from /var/lib/dkms/veeamsnap/2.0.1.665/build/defer_io.c:6:
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.h: In function ‘blk_bioset_create’:
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.h:121:9: error: implicit declaration of function ‘bioset_create’; did you mean ‘blk_bioset_create’? [-Werror=implicit-function-declaration]
return bioset_create(64, front_pad, BIOSET_NEED_BVECS | BIOSET_NEED_RESCUER);
^~~~~~~~~~~~~
blk_bioset_create
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.h:121:9: warning: returning ‘int’ from a function with return type ‘struct bio_set *’ makes pointer from integer without a cast [-Wint-conversion]
return bioset_create(64, front_pad, BIOSET_NEED_BVECS | BIOSET_NEED_RESCUER);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:317: /var/lib/dkms/veeamsnap/2.0.1.665/build/blk_deferred.o] Error 1
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:317: /var/lib/dkms/veeamsnap/2.0.1.665/build/blk_redirect.o] Error 1
In file included from /var/lib/dkms/veeamsnap/2.0.1.665/build/tracker.c:6:
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.h: In function ‘blk_bioset_create’:
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.h:121:9: error: implicit declaration of function ‘bioset_create’; did you mean ‘blk_bioset_create’? [-Werror=implicit-function-declaration]
return bioset_create(64, front_pad, BIOSET_NEED_BVECS | BIOSET_NEED_RESCUER);
^~~~~~~~~~~~~
blk_bioset_create
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.h:121:9: warning: returning ‘int’ from a function with return type ‘struct bio_set *’ makes pointer from integer without a cast [-Wint-conversion]
return bioset_create(64, front_pad, BIOSET_NEED_BVECS | BIOSET_NEED_RESCUER);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:317: /var/lib/dkms/veeamsnap/2.0.1.665/build/defer_io.o] Error 1
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:317: /var/lib/dkms/veeamsnap/2.0.1.665/build/tracker.o] Error 1
make: *** [Makefile:1508: _module_/var/lib/dkms/veeamsnap/2.0.1.665/build] Error 2
make: Leaving directory '/usr/src/kernels/4.18.7-200.fc28.x86_64'
[root@localhost ~]#
Thanks,
Roland.