rpm -ivh veeamsnap-1.0.0.678-1.noarch.rpm
Preparing... ################################# [100%]
Updating / installing...
1:veeamsnap-1.0.0.678-1 ################################# [100%]
Loading new veeamsnap-1.0.0.678 DKMS files...
Building for 3.10.0-229.20.1.el7.x86_64
Module build for kernel 3.10.0-229.20.1.el7.x86_64 was skipped since the
kernel headers for this kernel does not seem to be installed.
WARNING: Package not configured! See output!
warning: %post(veeamsnap-1.0.0.678-1.noarch) scriptlet failed, exit status 1
Also sharing this, as I seen it was requested in similar posts...
As you can see, you are currently running kernel 3.10.0-229.20.1.el7.x86_64 but the kernel headers package installed is newer, 3.10.0-327.36.3.el7.x86_64. You need to either reboot the system into the newer kernel, or manually install the older kernel-header package that matches the one you are actually running.
The rpm package for Fedora/Rhel/CentOS should also list kernel-devel as dependencies as the required headers are there not in the kernel-headers package. But this doesn't help much as:
/var/lib/dkms/veeamsnap/1.0.0.678/build/blk_dev_utile.c: Funktio ”blk_dev_redirect_part”:
/var/lib/dkms/veeamsnap/1.0.0.678/build/blk_dev_utile.c:338:14: virhe: ”BIO_MAX_SECTORS” esittelemättä (ensimmäinen käyttökerta tässä funktiossa)
max_sect = BIO_MAX_SECTORS;
^
/var/lib/dkms/veeamsnap/1.0.0.678/build/blk_dev_utile.c:338:14: huom: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/veeamsnap/1.0.0.678/build/blk_dev_utile.c: Funktio ”blk_dev_redirect_submit”:
/var/lib/dkms/veeamsnap/1.0.0.678/build/blk_dev_utile.c:477:15: varoitus: argumentin 1 antaminen funktiolle ”submit_bio” tekee kokonaisluvusta osoittimen ilman tyyppimuunnosta [-Wint-conversion]
submit_bio( bio_data_dir( rq_endio->bio ), curr->this );
^
In file included from /var/lib/dkms/veeamsnap/1.0.0.678/build/stdafx.h:7:0,
from /var/lib/dkms/veeamsnap/1.0.0.678/build/blk_dev_utile.c:1:
./include/linux/fs.h:2769:17: huom: odotettiin ”struct bio *”, mutta argumentti on tyyppiä ”int”
extern blk_qc_t submit_bio(struct bio *);
^
/var/lib/dkms/veeamsnap/1.0.0.678/build/blk_dev_utile.c:477:3: virhe: liian monta argumenttia funktiolle ”submit_bio”
submit_bio( bio_data_dir( rq_endio->bio ), curr->this );
^
In file included from /var/lib/dkms/veeamsnap/1.0.0.678/build/stdafx.h:7:0,
from /var/lib/dkms/veeamsnap/1.0.0.678/build/blk_dev_utile.c:1:./include/linux/fs.h:2769:17: huom: esitelty täällä
extern blk_qc_t submit_bio(struct bio *);
^
/var/lib/dkms/veeamsnap/1.0.0.678/build/blk_dev_utile.c: Funktio ”blk_dev_redirect_request”:
/var/lib/dkms/veeamsnap/1.0.0.678/build/blk_dev_utile.c:512:14: virhe: ”BIO_MAX_SECTORS” esittelemättä (ensimmäinen käyttökerta tässä funktiossa)
max_sect = BIO_MAX_SECTORS;
^
In file included from ./include/linux/list.h:8:0,
from ./include/linux/module.h:9,
from /var/lib/dkms/veeamsnap/1.0.0.678/build/stdafx.h:5,
from /var/lib/dkms/veeamsnap/1.0.0.678/build/blk_dev_utile.c:1:
/var/lib/dkms/veeamsnap/1.0.0.678/build/blk_dev_utile.c: Funktio ”__dev_direct_submit_pages”:
/var/lib/dkms/veeamsnap/1.0.0.678/build/blk_dev_utile.c:762:47: virhe: ”BIO_MAX_SECTORS” esittelemättä (ensimmäinen käyttökerta tässä funktiossa)
size_sector = min_t( sector_t, size_sector, BIO_MAX_SECTORS );
^
./include/linux/kernel.h:783:17: huom: in definition of macro ”min_t”
type __min2 = (y); \
And of course this causes more trouble in compilation. Conclusion: Too much hassle to find out if I can fix this or not by myself to test this with FC23. Too bad because I would have needed a reliable backup for upgrading from 23->25 but I guess I will just backup my homedir with smbtar and see how it goes.