Re: compiling daemontools errors

Charles Cazabon <[email protected]> Wed, 25 May 2005 22:20:30 -0600
Newsgroups gmane.org.djb.miscellaneous
Message-ID <[email protected]>
Ken Godee <[email protected]> wrote:
> Not sure if right list, but closest one I could find.

The [email protected] is the best place for discussions of daemontools; MFT
set.

> I'm having problems compiling daemontools
[...]
> ./load envdir unix.a byte.a 
> envdir.o(.text+0xca): In function `main':
> : undefined reference to `errno'

Actually, that's a linking error, not a compiling error -- but regardless,
this is the errno issue.  Search the list archives for pretty much any of
djb's lists for the solution.  Hint: replace 'extern int errno;' in error.h
with '#include <errno.h>'.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                         <[email protected]>
-----------------------------------------------------------------------