[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] lvm 1.05 does not compile



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




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]