[Linux-cluster] GFS compile error on SuSE 9.0 Enterprise
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hi,
I am a newbie on Linux. I am following
the instructions to get GFS working on SuSE 9.0 Enterprise Edition. I followed
the instructions on usage.txt. All works well except that I am getting
errors on gfs compile. Can anyone point me to the right direction?
uname -a
Linux osu-ds01 2.6.5-7.108-smp #1 SMP
Wed Aug 25 13:34:40 UTC 2004 i686 i686 i386 GNU/Linux
osu-ds01:~/cluster # ./configure --kernel_src=/usr/src/linux
configure cman-kernel
Configuring Makefiles for your system...
Completed Makefile configuration
configure dlm-kernel
Configuring Makefiles for your system...
Completed Makefile configuration
configure gfs-kernel
Configuring Makefiles for your system...
Completed Makefile configuration
configure gnbd-kernel
Configuring Makefiles for your system...
Completed Makefile configuration
configure magma
Configuring Makefiles for your system...
Completed Makefile configuration
configure ccs
Configuring Makefiles for your system...
Completed Makefile configuration
configure cman
Configuring Makefiles for your system...
Completed Makefile configuration
configure dlm
Configuring Makefiles for your system...
Completed Makefile configuration
configure fence
Configuring Makefiles for your system...
Completed Makefile configuration
configure iddev
Configuring Makefiles for your system...
Completed Makefile configuration
configure gfs
Configuring Makefiles for your system...
Completed Makefile configuration
configure gnbd
Configuring Makefiles for your system...
Completed Makefile configuration
configure gulm
Configuring Makefiles for your system...
Completed Makefile configuration
configure magma-plugins
Configuring Makefiles for your system...
Completed Makefile configuration
osu-ds01:~/cluster # make
cd cman-kernel && make all
make[1]: Entering directory `/root/cluster/cman-kernel'
cd src && make all
make[2]: Entering directory `/root/cluster/cman-kernel/src'
rm -f cluster
ln -s . cluster
make -C /usr/src/linux M=/root/cluster/cman-kernel/src
modules USING_KBUILD=yes
make[3]: Entering directory `/usr/src/linux-2.6.5-7.108'
Building modules, stage 2.
MODPOST
*** Warning: "sock_create_kern"
[/root/cluster/cman-kernel/src/cman.ko] undefined!
*** Warning: "kthread_stop"
[/root/cluster/cman-kernel/src/cman.ko] undefined!
*** Warning: "kthread_should_stop"
[/root/cluster/cman-kernel/src/cman.ko] undefined!
*** Warning: "kthread_create"
[/root/cluster/cman-kernel/src/cman.ko] undefined!
make[3]: Leaving directory `/usr/src/linux-2.6.5-7.108'
make[2]: Leaving directory `/root/cluster/cman-kernel/src'
make[1]: Leaving directory `/root/cluster/cman-kernel'
cd dlm-kernel && make all
make[1]: Entering directory `/root/cluster/dlm-kernel'
cd src && make all
make[2]: Entering directory `/root/cluster/dlm-kernel/src'
if [ ! -e cluster ]; then ln -s . cluster;
fi
if [ ! -e service.h ]; then cp //usr/include/cluster/service.h
.; fi
if [ ! -e cnxman.h ]; then cp //usr/include/cluster/cnxman.h
.; fi
if [ ! -e cnxman-socket.h ]; then cp
//usr/include/cluster/cnxman-socket.h .; fi
make -C /usr/src/linux M=/root/cluster/dlm-kernel/src
modules USING_KBUILD=yes
make[3]: Entering directory `/usr/src/linux-2.6.5-7.108'
Building modules, stage 2.
MODPOST
*** Warning: "msleep" [/root/cluster/dlm-kernel/src/dlm.ko]
undefined!
*** Warning: "kcl_addref_cluster"
[/root/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_get_node_by_addr"
[/root/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_get_node_addresses"
[/root/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "sock_create_kern"
[/root/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_releaseref_cluster"
[/root/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kthread_stop"
[/root/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_get_current_interface"
[/root/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_get_node_by_nodeid"
[/root/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_leave_service"
[/root/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_remove_callback"
[/root/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_global_service_id"
[/root/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_unregister_service"
[/root/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_join_service"
[/root/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_start_done"
[/root/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kthread_should_stop"
[/root/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kthread_create"
[/root/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_add_callback"
[/root/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_register_service"
[/root/cluster/dlm-kernel/src/dlm.ko] undefined!
make[3]: Leaving directory `/usr/src/linux-2.6.5-7.108'
make[2]: Leaving directory `/root/cluster/dlm-kernel/src'
make[1]: Leaving directory `/root/cluster/dlm-kernel'
cd gfs-kernel && make all
make[1]: Entering directory `/root/cluster/gfs-kernel'
cd src && make all
make[2]: Entering directory `/root/cluster/gfs-kernel/src'
cd harness && make all
make[3]: Entering directory `/root/cluster/gfs-kernel/src/harness'
rm -f linux
ln -s . linux
make -C /usr/src/linux M=/root/cluster/gfs-kernel/src/harness
modules USING_KBUILD=yes
make[4]: Entering directory `/usr/src/linux-2.6.5-7.108'
Building modules, stage 2.
MODPOST
make[4]: Leaving directory `/usr/src/linux-2.6.5-7.108'
make[3]: Leaving directory `/root/cluster/gfs-kernel/src/harness'
cd nolock && make all
make[3]: Entering directory `/root/cluster/gfs-kernel/src/nolock'
rm -f linux lm_interface.h
ln -s . linux
ln -s ../../src/harness/lm_interface.h
.
make -C /usr/src/linux M=/root/cluster/gfs-kernel/src/nolock
modules USING_KBUILD=yes
make[4]: Entering directory `/usr/src/linux-2.6.5-7.108'
Building modules, stage 2.
MODPOST
*** Warning: "lm_register_proto"
[/root/cluster/gfs-kernel/src/nolock/lock_nolock.ko] undefined!
*** Warning: "lm_unregister_proto"
[/root/cluster/gfs-kernel/src/nolock/lock_nolock.ko] undefined!
make[4]: Leaving directory `/usr/src/linux-2.6.5-7.108'
make[3]: Leaving directory `/root/cluster/gfs-kernel/src/nolock'
cd dlm && make all
make[3]: Entering directory `/root/cluster/gfs-kernel/src/dlm'
if [ ! -e linux ]; then ln -s . linux;
fi
if [ ! -e cluster ]; then ln -s . cluster;
fi
if [ ! -e lm_interface.h ]; then ln
-s ../../src/harness/lm_interface.h .; fi
if [ ! -e dlm.h ]; then cp //usr/include/cluster/dlm.h
.; fi
if [ ! -e cnxman.h ]; then cp //usr/include/cluster/cnxman.h
.; fi
if [ ! -e cnxman-socket.h ]; then cp
//usr/include/cluster/cnxman-socket.h .; fi
if [ ! -e service.h ]; then cp //usr/include/cluster/service.h
.; fi
make -C /usr/src/linux M=/root/cluster/gfs-kernel/src/dlm
modules USING_KBUILD=yes
make[4]: Entering directory `/usr/src/linux-2.6.5-7.108'
Building modules, stage 2.
MODPOST
*** Warning: "strchr" [/root/cluster/gfs-kernel/src/dlm/lock_dlm.ko]
undefined!
*** Warning: "kcl_addref_cluster"
[/root/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kcl_get_services"
[/root/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kcl_cluster_name"
[/root/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "dlm_lock" [/root/cluster/gfs-kernel/src/dlm/lock_dlm.ko]
undefined!
*** Warning: "kcl_releaseref_cluster"
[/root/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kcl_get_members"
[/root/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "dlm_query" [/root/cluster/gfs-kernel/src/dlm/lock_dlm.ko]
undefined!
*** Warning: "kthread_stop"
[/root/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kcl_leave_service"
[/root/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "dlm_locks_dump"
[/root/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "lm_register_proto"
[/root/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "lm_unregister_proto"
[/root/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kcl_unregister_service"
[/root/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kcl_join_service"
[/root/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "dlm_release_lockspace"
[/root/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kcl_start_done"
[/root/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kthread_should_stop"
[/root/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kthread_create"
[/root/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "dlm_unlock"
[/root/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kcl_register_service"
[/root/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "dlm_new_lockspace"
[/root/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "dlm_debug_dump"
[/root/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
make[4]: Leaving directory `/usr/src/linux-2.6.5-7.108'
make[3]: Leaving directory `/root/cluster/gfs-kernel/src/dlm'
cd gulm && make all
make[3]: Entering directory `/root/cluster/gfs-kernel/src/gulm'
rm -f linux lm_interface.h
ln -s . linux
ln -s ../../src/harness/lm_interface.h
.
make -C /usr/src/linux M=/root/cluster/gfs-kernel/src/gulm
modules USING_KBUILD=yes
make[4]: Entering directory `/usr/src/linux-2.6.5-7.108'
Building modules, stage 2.
MODPOST
*** Warning: "strchr" [/root/cluster/gfs-kernel/src/gulm/lock_gulm.ko]
undefined!
*** Warning: "lm_register_proto"
[/root/cluster/gfs-kernel/src/gulm/lock_gulm.ko] undefined!
*** Warning: "lm_unregister_proto"
[/root/cluster/gfs-kernel/src/gulm/lock_gulm.ko] undefined!
make[4]: Leaving directory `/usr/src/linux-2.6.5-7.108'
make[3]: Leaving directory `/root/cluster/gfs-kernel/src/gulm'
cd gfs && make all
make[3]: Entering directory `/root/cluster/gfs-kernel/src/gfs'
rm -f linux lm_interface.h
ln -s . linux
ln -s ../../src/harness/lm_interface.h
.
make -C /usr/src/linux M=/root/cluster/gfs-kernel/src/gfs
modules USING_KBUILD=yes
make[4]: Entering directory `/usr/src/linux-2.6.5-7.108'
CC [M] /root/cluster/gfs-kernel/src/gfs/acl.o
/root/cluster/gfs-kernel/src/gfs/acl.c:
In function `gfs_acl_validate_remove':
/root/cluster/gfs-kernel/src/gfs/acl.c:89:
error: structure has no member named `ar_posix_acls'
/root/cluster/gfs-kernel/src/gfs/acl.c:
In function `gfs_acl_new_prep':
/root/cluster/gfs-kernel/src/gfs/acl.c:184:
error: structure has no member named `ar_posix_acls'
make[5]: *** [/root/cluster/gfs-kernel/src/gfs/acl.o]
Error 1
make[4]: *** [_module_/root/cluster/gfs-kernel/src/gfs]
Error 2
make[4]: Leaving directory `/usr/src/linux-2.6.5-7.108'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/root/cluster/gfs-kernel/src/gfs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/cluster/gfs-kernel/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/cluster/gfs-kernel'
make: *** [all] Error 2
Richard Loh
System Administrator
MCSE, CNE, CCNA
Oklahoma State University
405-744-5173
[Index of Archives]
[Corosync Cluster Engine]
[GFS]
[Linux Virtualization]
[Centos Virtualization]
[Centos]
[Linux RAID]
[Fedora Users]
[Fedora SELinux]
[Big List of Linux Books]
[Yosemite Camping]