-
Notifications
You must be signed in to change notification settings - Fork 14
make[1]: *** [src/lvm_la-lvm.lo] Error 1 #7
Copy link
Copy link
Open
Description
- Version of collectd: 5.110
- Operating system / distribution: CentOS7.7
Expected behavior
Compiles without error.
Actual behavior
Compile/make fails with the error as below.
In file included from src/lvm.c:24:0:
/usr/include/lvm2app.h:22:2: error: #warning "liblvm2app is deprecated, use D-Bus API instead." [-Werror=cpp]
#warning "liblvm2app is deprecated, use D-Bus API instead."
^
cc1: all warnings being treated as errors
make[1]: *** [src/lvm_la-lvm.lo] Error 1
make[1]: Leaving directory
Steps to reproduce
Run make
Temporary and dirty fix to run the make task is to edit the /etc/src/lvm2app.h header file and patch a few lines as below.
/*
#ifndef _BUILDING_LVM
#warning "liblvm2app is deprecated, use D-Bus API instead."
#endif
*/
But this can only be a temporary workaround.
Cheers!
Andreas
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels