From: Zdenek Kabelac <zkabelac@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] compilation problem 2.02.125
Date: Mon, 6 Jul 2015 13:15:56 +0200 [thread overview]
Message-ID: <559A636C.7050703@redhat.com> (raw)
In-Reply-To: <1a094ba3c1585eceac30e6f76efaf878@alukardd.org>
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
prev parent reply other threads:[~2015-07-06 11:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=559A636C.7050703@redhat.com \
--to=zkabelac@redhat.com \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).