<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I'm trying to build libdispatch on debian. &nbsp;Make apparently works:<div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class="">source.c:2486:1: warning: unused function '_dispatch_mgr_kevent_reenable' [-Wunused-function]</div><div class="">_dispatch_mgr_kevent_reenable(_dispatch_kevent_qos_s *ke)</div><div class="">^</div><div class="">22 warnings generated.</div><div class="">/bin/bash ../libtool &nbsp;--tag=CC &nbsp; --mode=compile clang-3.5 -DHAVE_CONFIG_H -I. -I../config &nbsp;-I.. -I.. -I../private -I../os &nbsp;-Wall -fvisibility=hidden -momit-leaf-frame-pointer &nbsp;-I/usr/include/kqueue &nbsp;-isystem /usr/include/bsd -DLIBBSD_OVERLAY &nbsp;-fblocks&nbsp;-g -O2 -c -o time.lo time.c</div><div class="">libtool: compile: &nbsp;clang-3.5 -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -I../private -I../os -Wall -fvisibility=hidden -momit-leaf-frame-pointer -I/usr/include/kqueue -isystem /usr/include/bsd -DLIBBSD_OVERLAY -fblocks -g -O2 -c time.c &nbsp;-fPIC -DPIC -o&nbsp;.libs/time.o</div><div class="">/bin/bash ../libtool &nbsp;--tag=CC &nbsp; --mode=compile clang-3.5 -DHAVE_CONFIG_H -I. -I../config &nbsp;-I.. -I.. -I../private -I../os &nbsp;-Wall -fvisibility=hidden -momit-leaf-frame-pointer &nbsp;-I/usr/include/kqueue &nbsp;-isystem /usr/include/bsd -DLIBBSD_OVERLAY &nbsp;-fblocks&nbsp;-g -O2 -c -o transform.lo transform.c</div><div class="">libtool: compile: &nbsp;clang-3.5 -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -I../private -I../os -Wall -fvisibility=hidden -momit-leaf-frame-pointer -I/usr/include/kqueue -isystem /usr/include/bsd -DLIBBSD_OVERLAY -fblocks -g -O2 -c transform.c &nbsp;-fPIC -DPIC -o .libs/transform.o</div><div class="">/bin/bash ../libtool &nbsp;--tag=CC &nbsp; --mode=compile clang-3.5 -DHAVE_CONFIG_H -I. -I../config &nbsp;-I.. -I.. -I../private -I../os &nbsp;-Wall -fvisibility=hidden -momit-leaf-frame-pointer &nbsp;-I/usr/include/kqueue &nbsp;-isystem /usr/include/bsd -DLIBBSD_OVERLAY &nbsp;-fblocks&nbsp;-g -O2 -c -o voucher.lo voucher.c</div><div class="">libtool: compile: &nbsp;clang-3.5 -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -I../private -I../os -Wall -fvisibility=hidden -momit-leaf-frame-pointer -I/usr/include/kqueue -isystem /usr/include/bsd -DLIBBSD_OVERLAY -fblocks -g -O2 -c voucher.c &nbsp;-fPIC -DPIC -o .libs/voucher.o</div><div class="">/bin/bash ../libtool &nbsp;--tag=CC &nbsp; --mode=compile clang-3.5 -DHAVE_CONFIG_H -I. -I../config &nbsp;-I.. -I.. -I../private -I../os &nbsp;-Wall -fvisibility=hidden -momit-leaf-frame-pointer &nbsp;-I/usr/include/kqueue &nbsp;-isystem /usr/include/bsd -DLIBBSD_OVERLAY &nbsp;-fblocks&nbsp;-g -O2 -c -o shims/linux_stubs.lo shims/linux_stubs.c</div><div class="">libtool: compile: &nbsp;clang-3.5 -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -I../private -I../os -Wall -fvisibility=hidden -momit-leaf-frame-pointer -I/usr/include/kqueue -isystem /usr/include/bsd -DLIBBSD_OVERLAY -fblocks -g -O2 -c shims/linux_stubs.c &nbsp;-fPIC -DPIC -o shims/.libs/linux_stubs.o</div><div class="">/bin/bash ../libtool &nbsp;--tag=CXX &nbsp; --mode=link g++ &nbsp; -avoid-version &nbsp; &nbsp;-o libdispatch.la -rpath /usr/local/lib allocator.lo apply.lo&nbsp;benchmark.lo data.lo introspection.lo init.lo io.lo object.lo once.lo queue.lo semaphore.lo source.lo time.lo transform.lo&nbsp;voucher.lo shims/linux_stubs.lo &nbsp; &nbsp;-lkqueue &nbsp;-lpthread_workqueue -lbsd &nbsp;-lpthread &nbsp;-lBlocksRuntime</div><div class="">libtool: link: ( cd ".libs" &amp;&amp; rm -f "libdispatch.la" &amp;&amp; ln -s "../libdispatch.la" "libdispatch.la" )</div><div class="">make[2]: Leaving directory '/libdispatch/swift-corelibs-libdispatch/src'</div><div class="">make[1]: Leaving directory '/libdispatch/swift-corelibs-libdispatch/src'</div><div class="">$ echo $?</div><div class="">0</div></blockquote><div class=""><br class=""></div><div class="">However make install does not:</div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class="">ake[3]: Entering directory '/libdispatch/swift-corelibs-libdispatch/src'</div><div class="">&nbsp;/bin/mkdir -p '/usr/local/lib'</div><div class="">&nbsp;/bin/bash ../libtool &nbsp; --mode=install /usr/bin/install -c &nbsp; libdispatch.la '/usr/local/lib'</div><div class="">libtool: install: /usr/bin/install -c .libs/libdispatch.so /usr/local/lib/libdispatch.so</div><div class="">/usr/bin/install: cannot stat '.libs/libdispatch.so': No such file or directory</div><div class=""><br class=""></div></blockquote>Indeed, there is no libdispatch.so anywhere. &nbsp;src/.libs contains:<div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class="">$ ls -la src/.libs/</div><div class="">total 1348</div><div class="">drwxr-xr-x 2 root root &nbsp; 4096 Jan 18 17:16 .</div><div class="">drwxr-xr-x 4 root root &nbsp; 4096 Jan 18 17:16 ..</div><div class="">-rw-r--r-- 1 root root &nbsp; 6472 Jan 18 17:16 allocator.o</div><div class="">-rw-r--r-- 1 root root &nbsp;60520 Jan 18 17:16 apply.o</div><div class="">-rw-r--r-- 1 root root &nbsp;11608 Jan 18 17:16 benchmark.o</div><div class="">-rw-r--r-- 1 root root &nbsp;73992 Jan 18 17:16 data.o</div><div class="">-rw-r--r-- 1 root root 136960 Jan 18 17:16 init.o</div><div class="">-rw-r--r-- 1 root root &nbsp; 2200 Jan 18 17:16 introspection.o</div><div class="">-rw-r--r-- 1 root root 288000 Jan 18 17:16 io.o</div><div class="">lrwxrwxrwx 1 root root &nbsp; &nbsp; 17 Jan 18 17:16 libdispatch.la -&gt; ../libdispatch.la</div><div class="">-rw-r--r-- 1 root root &nbsp; 1001 Jan 18 17:16 libdispatch.lai</div><div class="">-rw-r--r-- 1 root root &nbsp;45640 Jan 18 17:16 object.o</div><div class="">-rw-r--r-- 1 root root &nbsp;11584 Jan 18 17:16 once.o</div><div class="">-rw-r--r-- 1 root root 308616 Jan 18 17:16 queue.o</div><div class="">-rw-r--r-- 1 root root &nbsp;67968 Jan 18 17:16 semaphore.o</div><div class="">-rw-r--r-- 1 root root 206328 Jan 18 17:16 source.o</div><div class="">-rw-r--r-- 1 root root &nbsp;10344 Jan 18 17:16 time.o</div><div class="">-rw-r--r-- 1 root root &nbsp;92416 Jan 18 17:16 transform.o</div><div class="">-rw-r--r-- 1 root root &nbsp;14880 Jan 18 17:16 voucher.o</div></blockquote><div class=""><br class=""></div><div class="">Any thoughts on why I don't get a libdispatch.so?</div><div class=""><br class=""></div><div class="">Drew</div><div class=""><br class=""></div></body></html>