[linux-lvm] errors compiling on redhat 7.3

Luca Berra bluca at comedia.it
Tue May 28 10:26:50 UTC 2002


On Tue, May 28, 2002 at 08:43:55AM +0200, Pierluigi Godi wrote:
> gcc -c -pipe -g -O0 -Wall -DDEBUG -I../tools/lib -I../tools -I/opt/LVM/LVM/1.0.4/tools/lib -o e2fsadm.o e2fsadm.c
> In file included from ../tools/lib/liblvm.h:59,
>                  from ../tools/lvm_user.h:43,
>                  from e2fsadm.c:55:
> /usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in userspace

mkdir tools/lib/linux
vi tools/lib/linux
#define THIS_IS_A_DUMMY_AUTOCONF_H
:wq

	L.

-- 
Luca Berra -- bluca at comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \




More information about the linux-lvm mailing list