lvm2 sie nie buduje NEST

Arkadiusz Patyk areq w pld.org.pl
Sob, 25 Paź 2003, 13:54:09 CEST


Witam

lvm2 HEAD w otoczeniu:
kernel-headers-2.4.22-1.4
glibc-kernel-headers-2.3.2-5
kernel-source-2.4.22-1.4

i386-pld-linux-gcc -c -I. -I../include -DLVM1_INTERNAL
-DDEVMAPPER_SUPPORT -DHAVE_LIBDL -DHAVE_GETOPTLONG -fPIC -Wall -Wundef
-Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Winline -O2 device/dev-io.c
-o device/dev-io.o
device/dev-io.c: In function `dev_get_size':
device/dev-io.c:215: error: `BLKGETSIZE64' undeclared (first use in
this function)
device/dev-io.c:215: error: (Each undeclared identifier is reported
only once
device/dev-io.c:215: error: for each function it appears in.)
make[1]: *** [device/dev-io.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/areq/rpm/BUILD/LVM2.2.00.07/lib'
make: *** [lib] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.58744 (%build)

BLKGETSIZE64 jest zdefiniowane w:
/usr/src/linux/include/linux/fs.h:#define BLKGETSIZE64
_IOR(0x12,114,sizeof(u64))       /* return device size in bytes (u64
*arg) */

Jak to fachowo poprawić ?

-- 
Arkadiusz Patyk [areq(at)pld-linux.org] [http://rescuecd.pld-linux.org/]
[IRC:areq ICQ:16231667  GG:1383]  [AP3-6BONE] [AP14126-RIPE]



Więcej informacji o liście dyskusyjnej pld-devel-pl