On Tue, 2007-06-12 at 15:11 -0400, Christopher Barry wrote: > On Tue, 2007-06-12 at 11:19 -0700, Steven Dake wrote: > > On Tue, 2007-06-12 at 14:12 -0400, Christopher Barry wrote: > > > Greetings All, > > > > > > I'm having an incredibly difficult time simply compiling this software. > > > I have followed a couple of 'usage.txt' versions, and well - they just > > > do not work for me. I've tried HEAD and RHEL5. > > > > > > Can someone tell me what branch of cvs code compiles against the stock > > > RHEL5 2.6.18-8 kernel source? > > > > > > > When installing openais, you should use: > > > > make install DESTDIR=/ > > ...snip Thanks Steve. That gets me to the dlm dir, which fails with the errors below. This is cvs RHEL5 against the stock RHEL5 kernel 2.6.18-8.el5 Any thoughts on this? I googled this failure, but nothing relevant comes up. gcc -Wall -g -I. -O2 -D_REENTRANT -c -o libdlm.o libdlm.c libdlm.c: In function ‘set_version_v5’: libdlm.c:324: error: invalid use of undefined type ‘struct dlm_device_version’ libdlm.c:325: error: invalid use of undefined type ‘struct dlm_device_version’ libdlm.c:326: error: invalid use of undefined type ‘struct dlm_device_version’ libdlm.c: In function ‘set_version_v6’: libdlm.c:335: error: invalid use of undefined type ‘struct dlm_device_version’ libdlm.c:336: error: invalid use of undefined type ‘struct dlm_device_version’ libdlm.c:337: error: invalid use of undefined type ‘struct dlm_device_version’ libdlm.c: In function ‘detect_kernel_version’: libdlm.c:443: error: storage size of ‘v’ isn’t known libdlm.c:446: error: invalid application of ‘sizeof’ to incomplete type ‘struct dlm_device_version’ libdlm.c:448: error: invalid use of undefined type ‘struct dlm_device_version’ libdlm.c:449: error: invalid use of undefined type ‘struct dlm_device_version’ libdlm.c:450: error: invalid use of undefined type ‘struct dlm_device_version’ libdlm.c:452: error: invalid use of undefined type ‘struct dlm_device_version’ libdlm.c:453: error: invalid use of undefined type ‘struct dlm_device_version’ libdlm.c:454: error: invalid use of undefined type ‘struct dlm_device_version’ libdlm.c:443: warning: unused variable ‘v’ libdlm.c: In function ‘do_dlm_dispatch’: libdlm.c:590: error: invalid use of undefined type ‘struct dlm_device_version’ libdlm.c: In function ‘ls_lock_v6’: libdlm.c:835: error: ‘struct dlm_lock_params’ has no member named ‘xid’ libdlm.c:837: error: ‘struct dlm_lock_params’ has no member named ‘timeout’ libdlm.c: In function ‘ls_lock’: libdlm.c:892: error: invalid use of undefined type ‘struct dlm_device_version’ libdlm.c: In function ‘dlm_ls_lockx’: libdlm.c:916: error: invalid use of undefined type ‘struct dlm_device_version’ libdlm.c: In function ‘dlm_ls_unlock’: libdlm.c:1067: error: invalid use of undefined type ‘struct dlm_device_version’ libdlm.c: In function ‘dlm_ls_deadlock_cancel’: libdlm.c:1099: error: invalid use of undefined type ‘struct dlm_device_version’ libdlm.c:1115: error: ‘DLM_USER_DEADLOCK’ undeclared (first use in this function) libdlm.c:1115: error: (Each undeclared identifier is reported only once libdlm.c:1115: error: for each function it appears in.) libdlm.c: In function ‘dlm_ls_purge’: libdlm.c:1134: error: invalid use of undefined type ‘struct dlm_device_version’ libdlm.c:1145: error: ‘DLM_USER_PURGE’ undeclared (first use in this function) libdlm.c:1146: error: ‘union <anonymous>’ has no member named ‘purge’ libdlm.c:1147: error: ‘union <anonymous>’ has no member named ‘purge’ libdlm.c: In function ‘create_lockspace’: libdlm.c:1311: error: invalid use of undefined type ‘struct dlm_device_version’ libdlm.c: In function ‘release_lockspace’: libdlm.c:1415: error: invalid use of undefined type ‘struct dlm_device_version’ libdlm.c: In function ‘dlm_kernel_version’: libdlm.c:1501: error: invalid use of undefined type ‘struct dlm_device_version’ libdlm.c:1502: error: invalid use of undefined type ‘struct dlm_device_version’ libdlm.c:1503: error: invalid use of undefined type ‘struct dlm_device_version’ make[2]: *** [libdlm.o] Error 1 make[2]: Leaving directory `/usr/src/cluster/dlm/lib' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/cluster/dlm' make: *** [all] Error 2 [root@localhost cluster]# -- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster