[linux-lvm] compilation problem 2.02.125

Alexey alukardd at alukardd.org
Mon Jul 6 08:56:03 UTC 2015


Hello.

I cloned master branch and tried to compile it.
But I got the following errors:
lvconvert.c:732:64: error: invalid application of 'sizeof' to incomplete 
type 'struct poll_operation_id'
lvconvert.c:740:3: warning: passing argument 2 of '_destroy_id' from 
incompatible pointer type [enabled by default]
lvconvert.c:718:13: note: expected 'struct poll_operation_id *' but 
argument is of type 'struct poll_operation_id *'
lvconvert.c:744:4: error: dereferencing pointer to incomplete type
lvconvert.c:745:4: error: dereferencing pointer to incomplete type
lvconvert.c:746:4: error: dereferencing pointer to incomplete type
lvconvert.c:746:18: error: dereferencing pointer to incomplete type
lvconvert.c:746:106: error: dereferencing pointer to incomplete type
lvconvert.c:746:165: error: dereferencing pointer to incomplete type
lvconvert.c:746:208: error: dereferencing pointer to incomplete type
lvconvert.c:747:4: error: dereferencing pointer to incomplete type
lvconvert.c:749:9: error: dereferencing pointer to incomplete type
lvconvert.c:749:25: error: dereferencing pointer to incomplete type
lvconvert.c:749:41: error: dereferencing pointer to incomplete type
lvconvert.c:749:62: error: dereferencing pointer to incomplete type
lvconvert.c:774:5: error: too few arguments to function 'poll_daemon'

I tried to compile it under debian wheezy 
environment(linux-headers-3.2.0, libdevmapper-dev 1.02.74) and under 
debian jessie environment(linux-headers-3.16.0, libdevmapper-dev 
1.02.90) and got same error in both situations.

I can't understand where I'm wrong...

Regards,
Alexey Mochkin




More information about the linux-lvm mailing list