[Pacemaker] Linking lib/cib and lib/pengine to each other?
Viacheslav Dubrovskyi
dubrsl at gmail.com
Mon Mar 25 11:55:16 UTC 2013
23.03.2013 08:27, Viacheslav Dubrovskyi пишет:
> Hi.
>
> I'm building a package for my distributive. Everything is built, but the
> package does not pass our internal tests. I get errors like this:
> verify-elf: ERROR: ./usr/lib/libpe_status.so.4.1.0: undefined symbol:
> get_object_root
>
> It mean, that libpe_status.so not linked with libcib.so where defined
> get_object_root. I can easy fix it adding
> libpe_status_la_LIBADD = $(top_builddir)/lib/cib/libcib.la
> in lib/pengine/Makefile.am
>
> But for this I need build libcib before lib/pengine. And it's impossible
> too, because libcib used symbols from lib/pengine. So we have situation,
> when two library must be linked to each other.
>
> And this is very bad because then the in fact it should be one library.
> Or symbols should be put in a third library, such as common.
>
> Can anyone comment on this situation?
Patch for fix this error.
--
WBR,
Viacheslav Dubrovskyi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pacemaker-1.1.9-alt.patch
Type: text/x-patch
Size: 3480 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130325/bf77a98e/attachment-0004.bin>
More information about the Pacemaker
mailing list