Re: compilation problem 2.02.125

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dne 6.7.2015 v 10:56 Alexey napsal(a):
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...

Please attach your whole  configure options and log.

Normally you do not need libdevmapper-dev - since whole libdm is emebeded into lvm2 so for compilation you are always using headers from the same source tree.

Regards

Zdenek


_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/



[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux