[linux-lvm] lvm2 install problem

Moha Snipa1 snipa1 at freemail.hu
Mon Jun 21 08:00:05 UTC 2004


hello,

i have a problem when I try to install the LVM2!
well, I use a 2.6.7 kernel with device mapper support...
I have installed device-mapper.1.00.07 and now i try to install LVM2.2.
00.16 but I get this error message!


gcc -c -I. -I../include -DLVM1_INTERNAL -DSNAPSHOT_INTERNAL 
-DMIRRORED_INTERNAL -DDEVMAPPER_SUPPORT -DO_DIRECT_SUPPORT 
-DHAVE_LIBDL -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wshadow 
-Wcast-align -Wwrite-strings -Wmissing-prototypes 
-Wmissing-declarations -Wnested-externs -Winline -O2 cache/lvmcache.
c -o cache/lvmcache.o
activate/activate.c: In function `target_present':
activate/activate.c:302: `DM_DEVICE_LIST_VERSIONS' undeclared (first 
use in this function)
activate/activate.c:302: (Each undeclared identifier is reported only once
activate/activate.c:302: for each function it appears in.)
activate/activate.c:313: warning: implicit declaration of function 
`dm_task_get_versions'
activate/activate.c:313: warning: assignment makes pointer from 
integer without a cast
activate/activate.c:318: dereferencing pointer to incomplete type
activate/activate.c:318: dereferencing pointer to incomplete type
activate/activate.c:318: dereferencing pointer to incomplete type
activate/activate.c:318: dereferencing pointer to incomplete type
activate/activate.c:318: dereferencing pointer to incomplete type
activate/activate.c:318: dereferencing pointer to incomplete type
activate/activate.c:318: dereferencing pointer to incomplete type
activate/activate.c:318: dereferencing pointer to incomplete type
activate/activate.c:318: dereferencing pointer to incomplete type
activate/activate.c:318: dereferencing pointer to incomplete type
activate/activate.c:318: dereferencing pointer to incomplete type
activate/activate.c:318: dereferencing pointer to incomplete type
activate/activate.c:318: dereferencing pointer to incomplete type
activate/activate.c:318: dereferencing pointer to incomplete type
activate/activate.c:318: dereferencing pointer to incomplete type
activate/activate.c:318: dereferencing pointer to incomplete type
activate/activate.c:318: dereferencing pointer to incomplete type
activate/activate.c:318: dereferencing pointer to incomplete type
activate/activate.c:318: dereferencing pointer to incomplete type
activate/activate.c:318: dereferencing pointer to incomplete type
activate/activate.c:318: dereferencing pointer to incomplete type
activate/activate.c:318: dereferencing pointer to incomplete type
activate/activate.c:318: dereferencing pointer to incomplete type
activate/activate.c:318: dereferencing pointer to incomplete type
activate/activate.c:318: dereferencing pointer to incomplete type
activate/activate.c:318: dereferencing pointer to incomplete type
activate/activate.c:323: dereferencing pointer to incomplete type
make[1]: *** [activate/activate.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/usr/local/src/LVM2.2.00.16/lib'
make: *** [lib] Error 2


what's the problem? can anyone help me?

Snipa



More information about the linux-lvm mailing list