FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

 
 
LinkBack Thread Tools
 
Old 10-26-2011, 01:47 AM
Nick Khamis
 
Default Error when compiling dlm from cman

Hello Everyone,

I am attempting to provide ocfs2 dlm and fencing support for our
pacemaker cluster. I recieve an error when configuring using:

./configure --prefix=/usr/local --without_cman
--corosyncincdir=/usr/include/corocync
--corosynclibdir=/usr/var/lib/corosync
openaisincdir=/usr/include/openais --corosyncbin=/usr/sbin/corosync

gcc -o dlm_controld action.o cpg.o crc.o deadlock.o main.o netlink.o
plock.o group.o config.o member_cman.o logging.o ../lib/libgroup.a
-L/usr/local/src/cluster-3.1.7/common/liblogthread -llogthread
-L/usr/local/src/cluster-3.1.7/config/libs/libccsconfdb
-L/usr/local/src/cluster-3.1.7/cman/lib -lccs -lcman
-L/usr/local/src/cluster-3.1.7/dlm/libdlm
-L/usr/local/src/cluster-3.1.7/fence/libfenced -ldlm -lfenced
-L/usr/local/lib/openais -lSaCkpt -L/usr/var/lib/corosync -lcpg
-lconfdb -lpthread -L../lib -lgroup -L/usr/local/lib
/usr/bin/ld: cannot find -lcman
collect2: ld returned 1 exit status
make[2]: *** [dlm_controld] Error 1
make[2]: Leaving directory `/usr/local/src/cluster-3.1.7/group/dlm_controld'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/cluster-3.1.7/group'
make: *** [group] Error 2

Cancelling out group (--without_group), I get the following error:

In file included from /usr/local/src/cluster-3.1.7/fence/fenced/config.c:1:
/usr/local/src/cluster-3.1.7/fence/fenced/fd.h:182: error: field
cpg_ringid has incomplete type
make[2]: *** [config.o] Error 1
make[2]: Leaving directory `/usr/local/src/cluster-3.1.7/fence/fenced'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/cluster-3.1.7/fence'
make: *** [fence] Error 2

Cancelling out fence (-without_fence), I get the following error:

/usr/bin/ld: cannot find -lcman
collect2: ld returned 1 exit status
make[3]: *** [msgtest] Error 1
make[3]: Leaving directory `/usr/local/src/cluster-3.1.7/rgmanager/src/clulib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/cluster-3.1.7/rgmanager/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/cluster-3.1.7/rgmanager'

Make is successful without group, fence, and rgmanager. I did not try
to install untill getting some more light. I know the distribution I
am using may have some
implementation of libdlm however, I was asked to try using the latest
version provided by cman.

Thanks in Advance,

Nick.
 

Thread Tools




All times are GMT. The time now is 02:50 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org