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

[Linux-cluster] cluster-2.01.00 compilation problem




hi,

i tryied to install cluster-2.01.00 on gentoo and archlinux linux distribution ... but i have
   the some errors
i have linux-2.6.22 headers and gcc 4.1.2 on gentoo machines and gcc 4.2.1 on archlinux machines
i successfully installed openais-0.80.3 (make && make install DESTDIR=/)

here is the configure command for cluster-2.01.00:
./configure --prefix=/usr/local/cluster --libdir=/usr/local/cluster/lib \
--libexecdir=/usr/local/cluster/libexec --mandir=/usr/local/cluster/man \
--sharedir=/usr/local/cluster/share --incdir=/usr/local/cluster/include  \
--openaisincdir=/usr/include --openaislibdir=/usr/lib/openais \
--ncursesincdir=/usr/include --ncurseslibdir=/usr/lib \
--readlineincdir=/usr/include/readline --readlinelibdir=/usr/lib \
--nssincdir=/usr/include/nss --nsslibdir=/usr/lib/nss  \
--nsprincdir=/usr/include/nspr --nsprlibdir=/usr/lib/nspr \
--cflags="-O2 -march=i686 -mtune=i686 -fomit-frame-pointer"


here is the errors from make fence command:
------------------------
make[1]: Entering directory `/root/cluster-2.01.00/dlm'
set -e && \
        for i in lib tool; do \
                make -C $i all; \
        done
make[2]: Entering directory `/root/cluster-2.01.00/dlm/lib'
gcc -O2 -march=i686 -mtune=i686 -fomit-frame-pointer -I/root/cluster-2.01.00/config -g -O2  -I. -I/usr/local/cluster/include -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: 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: 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:1417: error: invalid use of undefined type 'struct dlm_device_version'
libdlm.c: In function 'dlm_kernel_version':
libdlm.c:1503: error: invalid use of undefined type 'struct dlm_device_version'
libdlm.c:1504: error: invalid use of undefined type 'struct dlm_device_version'
libdlm.c:1505: error: invalid use of undefined type 'struct dlm_device_version'
make[2]: *** [libdlm.o] Error 1
make[2]: Leaving directory `/root/cluster-2.01.00/dlm/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/cluster-2.01.00/dlm'
make: *** [dlm] Error 2
-------------------------------

can someone give me some hints ?

regards,
cosmih
--
Linux-cluster mailing list
Linux-cluster redhat com
https://www.redhat.com/mailman/listinfo/linux-cluster

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