* [linux-lvm] compilation problem 2.02.125
@ 2015-07-06 8:56 Alexey
2015-07-06 11:13 ` Alexey
2015-07-06 11:15 ` Zdenek Kabelac
0 siblings, 2 replies; 3+ messages in thread
From: Alexey @ 2015-07-06 8:56 UTC (permalink / raw)
To: Linux lvm
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] compilation problem 2.02.125
2015-07-06 8:56 [linux-lvm] compilation problem 2.02.125 Alexey
@ 2015-07-06 11:13 ` Alexey
2015-07-06 11:15 ` Zdenek Kabelac
1 sibling, 0 replies; 3+ messages in thread
From: Alexey @ 2015-07-06 11:13 UTC (permalink / raw)
To: Linux lvm
We found that is my fault of git merge. I lost part of source code.
Sorry.
On 2015-07-06 11:56, Alexey wrote:
> 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
>
> _______________________________________________
> 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/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] compilation problem 2.02.125
2015-07-06 8:56 [linux-lvm] compilation problem 2.02.125 Alexey
2015-07-06 11:13 ` Alexey
@ 2015-07-06 11:15 ` Zdenek Kabelac
1 sibling, 0 replies; 3+ messages in thread
From: Zdenek Kabelac @ 2015-07-06 11:15 UTC (permalink / raw)
To: LVM general discussion and development
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-07-06 11:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-06 8:56 [linux-lvm] compilation problem 2.02.125 Alexey
2015-07-06 11:13 ` Alexey
2015-07-06 11:15 ` Zdenek Kabelac
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).