From: AJ Lewis <lewis@sistina.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] LVM2 compilation problem
Date: Thu Oct 16 10:48:01 2003 [thread overview]
Message-ID: <20031016143702.GA15657@antimony.eng> (raw)
In-Reply-To: <1066307106.1480.59.camel@pc112b.fzu.cz>
[-- Attachment #1: Type: text/plain, Size: 1514 bytes --]
On Thu, Oct 16, 2003 at 02:25:06PM +0200, Jan Švec wrote:
> I'm having trouble compiling the LVM2 ver. 2.2.00.07. During make
> install I receive this error:
>
> device/dev-io.c: In function `dev_get_size':
> device/dev-io.c:215: `BLKGETSIZE64' undeclared (first use in this
> function)
> device/dev-io.c:215: (Each undeclared identifier is reported only once
> device/dev-io.c:215: for each function it appears in.)
> make[1]: *** [device/dev-io.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make[1]: Leaving directory `/root/LVM2.2.00.07/lib'
> make: *** [lib] Error 2
>
> The kernel is 2.6.0 test6. I also tried to make the link
> /usr/src/linux-2.6.0-test6/include/linux -> /usr/include/linux, but then
> I receive another error message:
<snip>
> Anyone have any idea how to solve this problem ?
The quickest and easiest way i can think of is to grab a 2.4.22
kernel, untar it, and link that include/linux directory into your
/usr/include/ dir. As you saw, 2.6 doesn't allow kernel headers to be
used in userspace, but 2.4 still does. It's ugly, but it works.
Regards,
--
AJ Lewis
Sistina Software Inc. http://www.sistina.com
720 Washington Ave, Suite 200 Voice: 612-638-0500
Minneapolis, MN 55414 E-Mail: lewis_NOSPAM_(AT)sistina(DOT)com
Current GPG fingerprint = B8F8 CEC8 9B0B B169 C5E2 8589 867E 54C8 4984 3813
Grab the key at: http://people.sistina.com/~lewis/gpg.html or one of the
many keyservers out there...
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-10-16 10:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-16 7:26 [linux-lvm] LVM2 compilation problem Jan Švec
2003-10-16 10:48 ` AJ Lewis [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-11-30 10:45 Arkadiusz Miskiewicz
2003-11-30 11:20 ` Alasdair G Kergon
2003-12-01 3:45 ` Arkadiusz Miskiewicz
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=20031016143702.GA15657@antimony.eng \
--to=lewis@sistina.com \
--cc=linux-lvm@sistina.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