On 2 Oct 2014, at 6:23 pm, Dmitry Pozdeiev <p...@cybernet.su> wrote:

> Andrew Beekhof <andrew@...> writes:
> 
>> On 30 Sep 2014, at 5:32 am, Dmitry Pozdeiev <pda@...> wrote:
>> 
>>> Forgot provide system info.
>>> 
>>> Gentoo Linux 3.14.14 x86_64
>>> systemd 215-r3
>>> netctl 1.9
>>> corosync 2.3.3
>>> pacemaker 1.1.10
>> 
>> ^^ systemd support has been a bit of a recurring thorn of late.
>> 
>> You probably need to upgrade pacemaker all the way up to the current git
> master (I was literally fixing
>> systemd related code an hour ago).
> 
> Can't compile, error at 'help2man mcp/pacemakerd', because:
> 
> $ mcp/pacemakerd --help
> mcp/.libs/pacemakerd: symbol lookup error:
> lib/cluster/.libs/libcrmcluster.so.4: undefined symbol: crm_strcase_hash
> 
> Can you help me how to fix it?


Unclear.
The function certainly exists:

./lib/common/utils.c-2462-guint
./lib/common/utils.c:2463:crm_strcase_hash(gconstpointer v)
./lib/common/utils.c-2464-{
./lib/common/utils.c-2465-    const signed char *p;
./lib/common/utils.c-2466-    guint32 h = 0;

Sounds like a compiler over-optimization.
Perhaps swap the order of the libraries in Makefile.am:

pacemakerd_LDADD        = $(top_builddir)/lib/cluster/libcrmcluster.la 
$(top_builddir)/lib/common/libcrmcommon.la



> 
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to