Daemontools problem
Bruno Wolff III
bruno at wolff.to
Sun Jul 11 23:07:32 UTC 2004
On Mon, Jul 12, 2004 at 01:02:32 +0800,
Fe De <flight at linuxmail.org> wrote:
> Fc 1 and daemoontools i need help
> unix.a(readclose.o)(.text+0x63): more undefined references to
> `errno' follow
> collect2: ld returned 1 exit status
> make: *** [envdir] Error 1
> Copying commands into ./command...
> cp: cannot stat `compile/svscan': No such file or directory
You need to include <errno.h>. There is was in the netqmail-1.05 distro:
diff -ur daemontools-0.76.old/src/error.h daemontools-0.76/src/error.h
--- daemontools-0.76.old/src/error.h 2001-07-12 11:49:49.000000000 -0500
+++ daemontools-0.76/src/error.h 2003-01-09 21:52:01.000000000 -0600
@@ -3,7 +3,7 @@
#ifndef ERROR_H
#define ERROR_H
-extern int errno;
+#include <errno.h>
extern int error_intr;
extern int error_nomem;
There was a similar patch for ucspi there as well.
For djbdns I got one from tinydns.org. They are all pretty much the same
though, so you can make the changes manually.
More information about the users
mailing list