Pádraig Brady wrote:
>
> So the above confirms that timeout and kill are being
> compiled and linked
> with the same options. Therefore it must be something
> particular to kill.c
> that's causing this.  A quick look shows that kill.c
> uses strsignal()
> while timeout doesn't and I can now see that the
> gnulib replacement for
> this function is implemented using thread local
> storage.
>
> gnulib/modules/tls says to link $(LIBTHREAD), so could
> you try the following.
> It that doesn't work, could you change $(LIBTHREAD) to
> $(LIBMULTITHREAD).

Indeed, that does the trick! Adding either of $(LIBTHREAD) or 
$(LIBMULTITHREAD) to kill_LDADD allows the program to link successfully.


--Daniel






Reply via email to