[PATCH] fix Re: [Linux-cluster] Compiling error against kernel-2.6.12.2

Fabio Massimo Di Nitto fabbione at fabbione.net
Fri Aug 5 05:06:26 UTC 2005


Q.L wrote:
> Hi,
> 
> When I began to "make" on the RH9.0, I can't pass following errors,
> could you help me?
> however, it seems no compiling problem happen on a host with FC1.0.
> further more, what's the special config required in kernel .config
> file for GFS cluster?
> 
> Thanks.
> 
> Q.L
> 
> cd ccs_tool && make install
> make[2]: Entering directory `/home/share/cluster-1.00.00/ccs/ccs_tool'
> gcc -Wall -I. -I../config -I../include -I../lib
> -I/home/share/cluster-1.00.00/build/incdir -Wall -O2
> -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE `xml2-config --cflags`
> -DCCS_RELEASE_NAME=\"1.00.00\" -I. -I../config -I../include -I../lib
> -I/home/share/cluster-1.00.00/build/incdir -o ccs_tool ccs_tool.c
> update.c upgrade.c old_parser.c editconf.c -L../lib `xml2-config
> --libs` -L/home/share/cluster-1.00.00/build/lib -lccs -lmagma
> -lmagmamsg -ldl
> /home/share/cluster-1.00.00/build/lib/libmagma.so: undefined reference
> to `pthread_rwlock_rdlock'
> /home/share/cluster-1.00.00/build/lib/libmagma.so: undefined reference
> to `pthread_rwlock_unlock'
> /home/share/cluster-1.00.00/build/lib/libmagma.so: undefined reference
> to `pthread_rwlock_wrlock'
> 

It appears also in Ubuntu, but i am not sure why or what did lost a link to
pthred. The patch in attachment fix the problem.

Fabio

-- 
no signature file found.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ccs_tool_and_pthread_love.dpatch
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20050805/21eb11de/attachment.ksh>


More information about the Linux-cluster mailing list