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

[Linux-cluster] clvmd Compile problem RHEL4



After checking out LVM2 from the redhat cvs I am have problems getting this to compile on RHEL4 cluster and device-mapper compile fine but LVM errors out with.

 

 T_INTERNAL -DMIRRORED_INTERNAL -DDEVMAPPER_SUPPORT -DO_DIRECT_SUPPORT -DHAVE_LIBDL -DHAVE_GETOPTLONG -DMODPROBE_CMD=\"/sbin/modprobe\" -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -O2 -D_REENTRANT -fno-strict-aliasing clvmd.c -o clvmd.o

clvmd-command.c: In function `lock_vg':

clvmd-command.c:157: warning: implicit declaration of function `hash_create'

clvmd-command.c:157: warning: nested extern declaration of `hash_create'

clvmd-command.c:157: warning: assignment makes pointer from integer without a cast

clvmd-command.c:170: warning: implicit declaration of function `hash_lookup'

clvmd-command.c:170: warning: nested extern declaration of `hash_lookup'

clvmd-command.c:178: warning: implicit declaration of function `hash_remove'

clvmd-command.c:178: warning: nested extern declaration of `hash_remove'

clvmd-command.c:186: warning: implicit declaration of function `hash_insert'

clvmd-command.c:186: warning: nested extern declaration of `hash_insert'

clvmd-command.c: In function `cmd_client_cleanup':

clvmd-command.c:274: warning: implicit declaration of function `hash_iterate'

clvmd-command.c:274: warning: nested extern declaration of `hash_iterate'

clvmd-command.c:274: error: syntax error before '{' token

clvmd-command.c:276: warning: implicit declaration of function `hash_get_key'

clvmd-command.c:276: warning: nested extern declaration of `hash_get_key'

clvmd-command.c:276: warning: initialization makes pointer from integer without a cast

clvmd-command.c:279: error: `lkid' undeclared (first use in this function)

clvmd-command.c:279: error: (Each undeclared identifier is reported only once

clvmd-command.c:279: error: for each function it appears in.)

clvmd-command.c:282: warning: implicit declaration of function `hash_destroy'

clvmd-command.c:282: warning: nested extern declaration of `hash_destroy'

clvmd-command.c:282: error: `lock_hash' undeclared (first use in this function)

clvmd-command.c: At top level:

clvmd-command.c:285: error: syntax error before '}' token

make[2]: *** [clvmd-command.o] Error 1

make[2]: *** Waiting for unfinished jobs....

make[2]: Leaving directory `/cvs/LVM2/daemons/clvmd'

make[1]: *** [clvmd] Error 2

make[1]: Leaving directory `/cvs/LVM2/daemons'

make: *** [daemons] Error 2

 

[root lnewlep LVM2]# uname -a

Linux lnewlep 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:30:39 EST 2005 i686 i686 i386 GNU/Linux

 

My configure options were.  ./configure --with-clvmd=all  --with-cluster=shared --disable-selinux

 

Thanks in Advance

 

Shane

 

 

 

 

 


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