cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] Error when compiling dlm from cman
@ 2011-10-26  1:47 Nick Khamis
  2011-10-26  2:59 ` Bob Peterson
  2011-10-26  3:25 ` Fabio M. Di Nitto
  0 siblings, 2 replies; 15+ messages in thread
From: Nick Khamis @ 2011-10-26  1:47 UTC (permalink / raw)
  To: cluster-devel.redhat.com

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.



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2011-10-26 20:46 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-26  1:47 [Cluster-devel] Error when compiling dlm from cman Nick Khamis
2011-10-26  2:59 ` Bob Peterson
2011-10-26  3:25 ` Fabio M. Di Nitto
     [not found]   ` <CAGWRaZZPDoXRcTUjSgWBWVXZQeDU-btkcpOgqwX7uw=MdqnOmQ@mail.gmail.com>
2011-10-26 18:09     ` Fabio M. Di Nitto
2011-10-26 18:12       ` Nick Khamis
2011-10-26 18:14         ` Fabio M. Di Nitto
2011-10-26 18:17         ` Nick Khamis
2011-10-26 18:19           ` Fabio M. Di Nitto
2011-10-26 18:29             ` Nick Khamis
2011-10-26 18:34               ` Nick Khamis
2011-10-26 18:36                 ` Fabio M. Di Nitto
2011-10-26 18:38                   ` Nick Khamis
2011-10-26 18:41                     ` Fabio M. Di Nitto
2011-10-26 20:46                       ` Nick Khamis
2011-10-26 18:34               ` Fabio M. Di Nitto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).