On 04/16/2011 11:34 AM, "C. Bergström" wrote:
Can someone apply this if it's a proper fix ------------- diff --git a/autogen.sh b/autogen.sh old mode 100644 new mode 100755 diff --git a/testing/Makefile.am b/testing/Makefile.am index 404ced0..103d8bf 100644 --- a/testing/Makefile.am +++ b/testing/Makefile.am @@ -81,7 +81,7 @@ TOOLS= \ noinst_PROGRAMS+=$(TOOLS)
INCLUDES=-I$(top_builddir) -I$(top_srcdir) -LDADD=libtest.la ../src/libdispatch.la +LDADD=libtest.la ../src/libdispatch.la ../src/libshims.la CFLAGS=-Wall $(MARCH_FLAGS) $(CBLOCKS_FLAGS) CXXFLAGS=-Wall $(MARCH_FLAGS) $(CXXBLOCKS_FLAGS) ---------
Hi, Can you provide more details about the compilation problem you are seeing, and give a little information about your Linux distribution and the versions of Automake/Autoconf/Libtool? According to src/Makefile.am: libdispatch_la_DEPENDENCIES=libshims.la This has been sufficient to get the unit tests to build on Debian and Fedora. If I had to guess, I would say your libtool isn't adding the dependency on libshims.la.
I also get a test failure with make check --------- LOW: 68 ******************************************* DEFAULT: 63 **************************************** HIGH: 61 *************************************** Actual: 192 Expected: 192 [PASS] blocks completed Actual: 68 Expected: <61 [FAIL] high priority precedence (../../testing/dispatch_priority.c:83) ../../testing/dispatch_priority.c:83 PASS: dispatch_priority ================================================== [TEST] Dispatch Priority (Set Target Queue) [PID] 541 ================================================== --------- Is this an out of sync test case or a legitimate failure?
Are you using the HEAD of libkqueue from Subversion? This looks like a regression that was recently introduced. Please try again with the libkqueue v1.0.2 tarball. Regards, - Mark