You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Expected behavior
Compiles without error.
Actual behavior
Compile/make fails with the error as below.
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.But this can only be a temporary workaround.
Cheers!
Andreas
The text was updated successfully, but these errors were encountered: