[linux-lvm] lvm 1.05 does not compile

Patrick Caulfield caulfield at sistina.com
Mon Aug 12 03:27:02 UTC 2002


On Mon, Aug 12, 2002 at 11:04:32AM +0300, VLADIMIR DUBNIKOV wrote:
> Hi.
> I received next errors in the time of compilation of LVM 1.0.5
> 
> make[1]: Entering directory `/usr/src/LVM/1.0.5/tools'
> make[2]: Entering directory `/usr/src/LVM/1.0.5/tools/lib'
> make[3]: Entering directory `/usr/src/LVM/1.0.5/tools/lib'
> gcc -c -pipe -g -O0 -Wall -DDEBUG -I../../tools/lib -I../../tools
> -I/usr/src/LVM
> /1.0.5/tools/lib -o basename.o basename.c
> In file included from ../../tools/lib/liblvm.h:59,
>                  from basename.c:34:
> /usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included

let me guess...Redhat.

Remove the #include <linux/autoconf.h> from tools/lib/liblvm.h

patrick





More information about the linux-lvm mailing list