All of lore.kernel.org
 help / color / mirror / Atom feed
* compile error with lvm2: '_raid_target_present' undeclared
@ 2013-09-28 22:35 Oliver Rath
  2013-09-30  6:28 ` Peter Rajnoha
  0 siblings, 1 reply; 2+ messages in thread
From: Oliver Rath @ 2013-09-28 22:35 UTC (permalink / raw)
  To: lvm-devel

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* compile error with lvm2: '_raid_target_present' undeclared
  2013-09-28 22:35 compile error with lvm2: '_raid_target_present' undeclared Oliver Rath
@ 2013-09-30  6:28 ` Peter Rajnoha
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Rajnoha @ 2013-09-30  6:28 UTC (permalink / raw)
  To: lvm-devel

On 09/29/2013 12:35 AM, Oliver Rath wrote:
> 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
> 

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-09-30  6:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-28 22:35 compile error with lvm2: '_raid_target_present' undeclared Oliver Rath
2013-09-30  6:28 ` Peter Rajnoha

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.