ï
the
correct command is:
Example:
./configure
--kernel_src=/local_source_kernel
Correct command:
./configure
--kernel_src=/usr/src/linux-2.6.8.1
make install
Wrong
command:
./configure
âkernel_src=/lib/modules/2.6.8.1/build/bigger>/bigger>/fontfamily>
------------------------------------------------------------------------
Jefferson Maximo da Silva Âv LSITEC - LaboratÃrio de
Sistemas Integraveis /(_)\ Fone: +55 11 3091-9727 ^
^ jmaximo@xxxxxxxxxx
------------------------------------------------------------------------
----- Original Message -----
Sent: Thursday, October 28, 2004 6:41
PM
Subject: Re: çå: [Linux-cluster] Compile
problem under Fedora Core2 2.6.5-1.358
You have an old version of the source code, I
think.
This bug (GFS_EATYPE_LAST) has been fixed
recently.
brassow
On Oct 18, 2004, at 4:03 AM, Rocty Wang
wrote:
Hi,
Jefferson,/fontfamily>/bigger>/bigger>
/bigger>/bigger>/fontfamily>
I have upgraded my FC2 kernel to 2.6.8.1, but after I done all patches under
/cluster folder on this version
kernel,/bigger>/bigger>/fontfamily>
I
do the below operations:/bigger>/bigger>/fontfamily>
./configure âkernel_src=/lib/modules/2.6.8.1/build/bigger>/bigger>/fontfamily>
make install/bigger>/bigger>/fontfamily>
/bigger>/bigger>/fontfamily>
But it also occurred the following
error:/bigger>/bigger>/fontfamily>
----------------------------------------/bigger>/bigger>/fontfamily>
The
file \cluster\gfs\gfs_fsck\pass2.c'
:/bigger>/bigger>/fontfamily>
Line
139 ea_name, ea_hdr->ea_type,
GFS_EATYPE_LAST);/bigger>/bigger>/fontfamily>
Error: â/fontfamily>GFS_EATYPE_LASTâ/fontfamily>
undeclared/bigger>/bigger>
/bigger>/bigger>
Also
I only found this symbol will be patched under the kernel 2.6.9-rc1-mm3/bigger>/bigger>
in the file of
/gfs-kernel/patches/2.6.9-rc1-mm3/gfs.patch, no any such patches in kernel
2.6.8.1/bigger>/bigger>
/bigger>/bigger>
Line
33730: +#define GFS_EATYPE_LAST
(2)/bigger>/bigger>
Line 33735: +#define
GFS_EATYPE_VALID(x) ((x) && (x) <=
GFS_EATYPE_LAST)/bigger>/bigger>
/bigger>/bigger>
So
how can I solve them? Any Help will be
appreciated./bigger>/bigger>
/bigger>/bigger>
Rocty
Wang/bigger>/bigger>
2004-10-18/bigger>/bigger>
???/x-tad-bigger>/fontfamily>:/x-tad-bigger>
linux-cluster-bounces@xxxxxxxxxx [mailto:linux-cluster-bounces@xxxxxxxxxx] /x-tad-bigger>??/x-tad-bigger>/fontfamily>
/x-tad-bigger>Jefferson M. da Silva - LSI/x-tad-bigger> ????/x-tad-bigger>/fontfamily>:/x-tad-bigger>
2004/x-tad-bigger>?/x-tad-bigger>/fontfamily>10/x-tad-bigger>?/x-tad-bigger>/fontfamily>16/x-tad-bigger>?/x-tad-bigger>/fontfamily>
6:08/x-tad-bigger> ???/x-tad-bigger>/fontfamily>:/x-tad-bigger>
Discussion of clustering software components including
GFS/x-tad-bigger> ?/x-tad-bigger>/fontfamily>?/x-tad-bigger>/fontfamily>:/x-tad-bigger>
Re: [Linux-cluster] Compile problem under Fedora Core2 2.6.5-1.358/x-tad-bigger>
/bigger>/fontfamily>
Hi,
Rocty Wang./x-tad-bigger>/fontfamily>
/bigger>/bigger>/fontfamily>
/bigger>/bigger>/fontfamily>
Hi,
Rocty Wang./x-tad-bigger>/fontfamily>
/bigger>/bigger>/fontfamily>
the
patches work well with /x-tad-bigger>kernel org
2.6.x/x-tad-bigger>/color>, I compiled on FC2 (Kernel org
2.6.8.1) and I obtained success./x-tad-bigger>/fontfamily>
------------------------------------------------------------------------/bigger>/bigger>/fontfamily>
Jefferson Maximo da Silva /bigger>/bigger>/fontfamily> /bigger>/bigger>/fontfamily>Âv/fontfamily>Â
LSITEC - Laborat/fontfamily>Ãrio de
Sistemas Integraveis/fontfamily>/bigger>/bigger> /(_)\
Fone: +55 11 3091-9727/bigger>/bigger>/fontfamily> ^
^ jmaximo@xxxxxxxxxx/color>/bigger>/bigger>/fontfamily>
------------------------------------------------------------------------/bigger>/bigger>/fontfamily>
-----
Original Message -----/x-tad-bigger>/fontfamily>
/x-tad-bigger>From:/x-tad-bigger>
/x-tad-bigger>Rocty Wang/x-tad-bigger>/color>
/x-tad-bigger>/fontfamily>
To:/x-tad-bigger>/fontfamily>
/x-tad-bigger>linux-cluster@xxxxxxxxxx/x-tad-bigger>/color>
/x-tad-bigger>/fontfamily>
Sent:/x-tad-bigger>/fontfamily>
Wednesday, October 13, 2004 2:53 AM/x-tad-bigger>/fontfamily>
Subject:/x-tad-bigger>/fontfamily>
[Linux-cluster] Compile problem under Fedora Core2 2.6.5-1.358/x-tad-bigger>/fontfamily>
/bigger>/bigger>/fontfamily>
Hi,
all,/bigger>/bigger>/fontfamily>
/bigger>/bigger>/fontfamily>
I have downloaded (using cvs) Redhat Linux Cluster Project source code from
sources.redhat.com CVS server/bigger>/bigger>/fontfamily>
But when I compiled them under FC2(kernel2.6.5-1.358), I found that it
failed./bigger>/bigger>
/bigger>/bigger>
According to the usage.txt, I canâ/fontfamily>t find any patches
due to kernel 2.6.5 in cluster packages./bigger>/bigger>
So
I do nothing about the following steps of 1, 2, 3. Is that right?/bigger>/bigger>
/bigger>/bigger> 1.
apply kernel patches
from/bigger>/bigger>
cluster/cman-kernel/patches//bigger>/bigger>
cluster/dlm-kernel/patches//bigger>/bigger>
cluster/gfs-kernel/patches//bigger>/bigger> /bigger>/bigger> 2.
configure kernel, selecting DM, CMAN, DLM, GFS/bigger>/bigger> /bigger>/bigger> 3.
build kernel and cluster
modules/bigger>/bigger> make; make
modules_install/bigger>/bigger>
/bigger>/bigger>
the
4/bigger>/bigger>th/x-tad-bigger>
step I do as the below: (if set the kernel source directory as
/usr/src/linux-2.6.5-1.358, it failed)/bigger>/bigger>
cd cluster/bigger>/bigger>
./configure â/fontfamily>kernel_src=/lib/modules/2.6.5-1.358/build/bigger>/bigger>
make
install/bigger>/bigger>
/bigger>/bigger>
then
the following warnings and error occur, what is the problem? Anyone can help
me? Thanks!/bigger>/bigger>
/bigger>/bigger>
/home/cluster/cman-kernel/src/membership.c:
In function `init_membership_services':/bigger>/bigger>
/home/cluster/cman-kernel/src/membership.c:640:
warning: implicit declaration of function `sock_create_kern'/bigger>/bigger>
/home/cluster/cman-kernel/src/sm_control.c:
In function
`sm_start':/bigger>/bigger>
/home/cluster/cman-kernel/src/sm_control.c:73:
warning: implicit declaration of function `sock_create_kern'/bigger>/bigger>
*** Warning:
"sock_create_kern" [/home/cluster/cman-kernel/src/cman.ko] undefined!/bigger>/bigger>
/home/cluster/dlm-kernel/src/locking.c:
In function
`dlm_lock_stage1':/bigger>/bigger>
/home/cluster/dlm-kernel/src/locking.c:508:
warning: implicit declaration of function
`msleep'/bigger>/bigger>
/home/cluster/dlm-kernel/src/lockqueue.c:
In function `process_lockqueue_reply':/bigger>/bigger>
/home/cluster/dlm-kernel/src/lockqueue.c:316:
warning: implicit declaration of function
`msleep'/bigger>/bigger>
/home/cluster/dlm-kernel/src/lowcomms.c:
In function
`connect_to_sock':/bigger>/bigger>
/home/cluster/dlm-kernel/src/lowcomms.c:581:
warning: implicit declaration of function `sock_create_kern'/bigger>/bigger>
*** Warning:
"msleep" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!/bigger>/bigger>
*** Warning:
"kcl_addref_cluster" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!/bigger>/bigger>
*** Warning:
"kcl_get_node_by_addr" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!/bigger>/bigger>
*** Warning:
"kcl_get_node_addresses" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!/bigger>/bigger>
*** Warning:
"sock_create_kern" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!/bigger>/bigger>
*** Warning:
"kcl_releaseref_cluster" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!/bigger>/bigger>
*** Warning:
"kthread_stop" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!/bigger>/bigger>
*** Warning:
"kcl_get_current_interface" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!/bigger>/bigger>
*** Warning:
"kcl_get_node_by_nodeid" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!/bigger>/bigger>
*** Warning:
"kcl_leave_service" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!/bigger>/bigger>
*** Warning:
"kcl_remove_callback" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!/bigger>/bigger>
*** Warning:
"kcl_global_service_id" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!/bigger>/bigger>
*** Warning:
"kcl_unregister_service" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!/bigger>/bigger>
*** Warning:
"kcl_join_service" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!/bigger>/bigger>
*** Warning:
"kcl_start_done" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!/bigger>/bigger>
*** Warning:
"kthread_should_stop" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!/bigger>/bigger>
*** Warning:
"kthread_create" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!/bigger>/bigger>
*** Warning:
"kcl_add_callback" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!/bigger>/bigger>
*** Warning:
"kcl_register_service" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!/bigger>/bigger>
*** Warning:
"lm_register_proto" [/home/cluster/gfs-kernel/src/nolock/lock_nolock.ko]
undefined!/bigger>/bigger>
*** Warning:
"lm_unregister_proto" [/home/cluster/gfs-kernel/src/nolock/lock_nolock.ko]
undefined!/bigger>/bigger>
*** Warning:
"kcl_addref_cluster" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko]
undefined!/bigger>/bigger>
*** Warning:
"kcl_get_services" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!/bigger>/bigger>
*** Warning:
"kcl_cluster_name" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!/bigger>/bigger>
*** Warning:
"dlm_lock" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!/bigger>/bigger>
*** Warning:
"kcl_releaseref_cluster" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko]
undefined!/bigger>/bigger>
*** Warning:
"kcl_get_members" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!/bigger>/bigger>
*** Warning:
"dlm_query" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!/bigger>/bigger>
*** Warning:
"kthread_stop" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!/bigger>/bigger>
*** Warning:
"kcl_leave_service" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko]
undefined!/bigger>/bigger>
*** Warning:
"dlm_locks_dump" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!/bigger>/bigger>
*** Warning:
"lm_register_proto" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko]
undefined!/bigger>/bigger>
*** Warning:
"lm_unregister_proto" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko]
undefined!/bigger>/bigger>
*** Warning:
"kcl_unregister_service" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko]
undefined!/bigger>/bigger>
*** Warning:
"kcl_join_service" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!/bigger>/bigger>
*** Warning:
"dlm_release_lockspace" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko]
undefined!/bigger>/bigger>
*** Warning:
"kcl_start_done" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!/bigger>/bigger>
*** Warning:
"kthread_should_stop" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko]
undefined!/bigger>/bigger>
*** Warning:
"kthread_create" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!/bigger>/bigger>
*** Warning:
"dlm_unlock" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!/bigger>/bigger>
*** Warning:
"kcl_register_service" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko]
undefined!/bigger>/bigger>
*** Warning:
"dlm_new_lockspace" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko]
undefined!/bigger>/bigger>
*** Warning:
"dlm_debug_dump" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!/bigger>/bigger>
/home/cluster/gfs-kernel/src/gulm/xdr_socket.c:
In function
`xdr_open':/bigger>/bigger>
/home/cluster/gfs-kernel/src/gulm/xdr_socket.c:27:
error: too few arguments to function
`sock_create'/bigger>/bigger>
make[5]: ***
[/home/cluster/gfs-kernel/src/gulm/xdr_socket.o] Error
1/bigger>/bigger>
make[4]: ***
[/home/cluster/gfs-kernel/src/gulm] Error 2/bigger>/bigger>
make[3]: *** [all] Error 2/bigger>/bigger>
make[2]: *** [install] Error
2/bigger>/bigger>
make[1]: *** [install] Error
2/bigger>/bigger>
make: *** [install] Error 2/bigger>/bigger>
/x-tad-bigger>/fontfamily>
/x-tad-bigger>/fontfamily>
--/bigger>/bigger>/fontfamily> Linux-cluster
mailing list/bigger>/bigger>/fontfamily> Linux-cluster@xxxxxxxxxx/bigger>/bigger>/fontfamily> http://www.redhat.com/mailman/listinfo/linux-cluster/bigger>/bigger>/fontfamily> -- Linux-cluster
mailing
list Linux-cluster@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/linux-cluster
-- Linux-cluster mailing
list Linux-cluster@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/linux-cluster
|