Am 14.08.2012 um 04:34 schrieb Liu Yuan <namei.unix at gmail.com>: > On 08/14/2012 03:13 AM, Thomas Merkel wrote: >> >> >> Signed-off-by: Thomas Merkel <tm at core.io> >> --- >> configure.ac | 1 + >> sheep/Makefile.am | 2 +- >> 2 files changed, 2 insertions(+), 1 deletion(-) >> >> diff --git a/configure.ac b/configure.ac >> index 91126e2..0ebe852 100644 >> --- a/configure.ac >> +++ b/configure.ac >> @@ -258,6 +258,7 @@ if test "x${enable_corosync}" = xyes; then >> PKG_CHECK_MODULES([corosync],[corosync]) >> PKG_CHECK_MODULES([libcpg],[libcpg]) >> PKG_CHECK_MODULES([libcfg],[libcfg]) >> + PKG_CHECK_MODULES([libcoroipcc],[libcoroipcc]) >> AC_DEFINE_UNQUOTED([HAVE_COROSYNC], 1, [have corosync]) >> PACKAGE_FEATURES="$PACKAGE_FEATURES corosync" >> fi >> diff --git a/sheep/Makefile.am b/sheep/Makefile.am >> index 16c79f0..f425190 100644 >> --- a/sheep/Makefile.am >> +++ b/sheep/Makefile.am >> @@ -45,7 +45,7 @@ sheep_SOURCES += trace/trace.c trace/mcount.S trace/stabs.c trace/graph.c >> endif >> >> sheep_LDADD = ../lib/libsheepdog.a -lpthread \ >> - $(libcpg_LIBS) $(libcfg_LIBS) $(libacrd_LIBS) $(LIBS) >> + $(libcpg_LIBS) $(libcfg_LIBS) $(libacrd_LIBS) $(libcoroipcc_LIBS) $(LIBS) >> sheep_DEPENDENCIES = ../lib/libsheepdog.a >> >> >> > > As far as I know, Sheepdog doesn't use coroipc at all. I can compile on > Ubuntu 10.10 without error. Could you please detail the error output? > > Thanks, > Yuan On Ubuntu 12.04 LTS i receiving the following error in the "sheep" folder by building sheepdog: -->8-- /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib/libcfg.a(cfg.o): In function `corosync_cfg_crypto_set': (.text+0x2c6d): undefined reference to `coroipcc_msg_send_reply_receive' --8<-- Attached on the mail you will find the complete configure and compile output. I found also one bug in the old version with Ubuntu precise: https://bugs.launchpad.net/ubuntu/+source/sheepdog/+bug/935442 Best regards, Thomas -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: sheepdog-git-configure-output.txt URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20120814/f63d67bd/attachment.txt> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: sheepdog-git-make-output.txt URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20120814/f63d67bd/attachment-0001.txt> |