Re: Daemontools problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 12, 2004 at 01:02:32 +0800,
  Fe De <flight@xxxxxxxxxxxxx> 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.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux