compile error with lvm2: '_raid_target_present' undeclared
Hi list,
my compilation of the last git (today) results a compiling error:
raid/raid.c:384:20: error: '_raid_target_percent' undeclared here (not in a function)raid/raid.c:385:20: error: '_raid_target_present' undeclared here (not in a function)
The complete compile step:
http://paste.ubuntu.com/6168893/
The thin-provisioning-tools are from today, too.
my configure-line from lvm is:
./configure --enable-udev_sync --enable-udev_rules --with-thin=internal
Whats wrong here?
Tfh!
Oliver
Quoted 11 lines · Oliver Rath
Hi list,
my compilation of the last git (today) results a compiling error:
raid/raid.c:384:20: error: '_raid_target_percent' undeclared here (not in a function)raid/raid.c:385:20: error: '_raid_target_present' undeclared here (not in a function)The complete compile step:
Quoted 8 lines
http://paste.ubuntu.com/6168893/
The thin-provisioning-tools are from today, too.
my configure-line from lvm is:
./configure --enable-udev_sync --enable-udev_rules --with-thin=internal
There's been a patch added recently to fix compilation with configure --disable-devmapper:
https://git.fedorahosted.org/cgit/lvm2.git/commit/?id=b4637bd298a7a12e0ce9f15104d41158b96cb642
Though it broke the configure --disable-dmeventd (which is used by default and you don't use --enable-dmeventd in your configure).
Should be fixed now with:
https://git.fedorahosted.org/cgit/lvm2.git/commit/?id=e02ff3226021ddaf0861f65637d9be65d855506b
Thanks for the report.
Peter