Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] problems compiling andreas' 3.4 userland tools under test11-pre1
@ 2000-11-09  0:07 Patrick Michael Kane
  2000-11-09  3:23 ` Andreas Dilger
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Michael Kane @ 2000-11-09  0:07 UTC (permalink / raw)
  To: linux-lvm

Hello all!

I'm trying to get the 0.8final-3.4 to compile under test11-pre1, with no
luck.  I get all sorts of gcc parse errors in linux/lvm.h and liblvm.h.

I've tried compiling the tools with and without Andreas' 2.4 patch.  It
fails both ways.

Help?
-- 
Patrick Michael Kane
<modus@pr.es.to>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] problems compiling andreas' 3.4 userland tools under test11-pre1
  2000-11-09  0:07 [linux-lvm] problems compiling andreas' 3.4 userland tools under test11-pre1 Patrick Michael Kane
@ 2000-11-09  3:23 ` Andreas Dilger
  2000-11-09  3:32   ` Patrick Michael Kane
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Dilger @ 2000-11-09  3:23 UTC (permalink / raw)
  To: Patrick Michael Kane; +Cc: linux-lvm

Patrick Kane writes:
> I'm trying to get the 0.8final-3.4 to compile under test11-pre1, with no
> luck.  I get all sorts of gcc parse errors in linux/lvm.h and liblvm.h.
> 
> I've tried compiling the tools with and without Andreas' 2.4 patch.  It
> fails both ways.

The 2.4 patch you refer to is lvm-0.8final-2.4-kernel.diff?  Is it
possible you applied it to /usr/src/linux-2.4*/include/linux/lvm.h but
there isn't a symlink /usr/include/linux -> /usr/src/linux/include/linux
(i.e. you are running Debian or something)?

Alternately, you can simply change linux/lvm.h to lib/lvm.h and it should
compile.

Cheers, Andreas
-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] problems compiling andreas' 3.4 userland tools under test11-pre1
  2000-11-09  3:23 ` Andreas Dilger
@ 2000-11-09  3:32   ` Patrick Michael Kane
  0 siblings, 0 replies; 3+ messages in thread
From: Patrick Michael Kane @ 2000-11-09  3:32 UTC (permalink / raw)
  To: Andreas Dilger; +Cc: linux-lvm

* Andreas Dilger (adilger@turbolinux.com) [001108 19:23]:
> Patrick Kane writes:
> > I'm trying to get the 0.8final-3.4 to compile under test11-pre1, with no
> > luck.  I get all sorts of gcc parse errors in linux/lvm.h and liblvm.h.
> > 
> > I've tried compiling the tools with and without Andreas' 2.4 patch.  It
> > fails both ways.
> 
> The 2.4 patch you refer to is lvm-0.8final-2.4-kernel.diff?  Is it
> possible you applied it to /usr/src/linux-2.4*/include/linux/lvm.h but
> there isn't a symlink /usr/include/linux -> /usr/src/linux/include/linux
> (i.e. you are running Debian or something)?

No, test11-1 is definately living in /usr/src/linux and the symlinks from
/usr/include/linux point to the right spot.  All of the other third party
modules I need compile up fine, for what it's worth.

> Alternately, you can simply change linux/lvm.h to lib/lvm.h and it should
> compile.

This fixed it.  It may well be that I'm not fixing the rejection in the
final-2.4-kernel.diff file correctly.

Best,
-- 
Patrick Michael Kane
<modus@pr.es.to>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-11-09  3:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-09  0:07 [linux-lvm] problems compiling andreas' 3.4 userland tools under test11-pre1 Patrick Michael Kane
2000-11-09  3:23 ` Andreas Dilger
2000-11-09  3:32   ` Patrick Michael Kane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox