[PLUG] DJB's Caching DNS

Ian Burrell ian at znark.com
Mon Sep 27 13:15:03 PDT 2004


On Mon, Sep 27, 2004 at 10:12:23AM -0700, Rich Shepard wrote:
>   Rather than trying to find all the pieces for Dan Bernstein's caching dns
> server on the tape backup I decided to rebuild it on the new system. I'm
> stuck at the first step: building and installing daemontools. I followed all
> instructions on the appropriate Web page and get compilation errors:
> 
> [root at salmo /package/admin/daemontools-0.76]# package/install 
> Linking ./src/* into ./compile...
> Compiling everything in ./compile...
> ./load envdir unix.a byte.a 
> envdir.o(.text+0xe6): In function `main':
> : undefined reference to `errno'
> envdir.o(.text+0x235): In function `main':
> : undefined reference to `errno'
> unix.a(openreadclose.o)(.text+0x47): In function `openreadclose':
> : undefined reference to `errno'
> unix.a(pathexec_run.o)(.text+0x119): In function `pathexec_run':
> : undefined reference to `errno'
> unix.a(pathexec_run.o)(.text+0x15d): In function `pathexec_run':
> : undefined reference to `errno'
> unix.a(readclose.o)(.text+0x67): 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
> 
>   Has anyone a suggestion? It built fine on the old RH 7.3 so I don't
> understand why it is breaking now. I find a reference to 'make' in
> package/compile but I see no function 'main'.
> 

djbdns has a bug where it assumes errno is an actual integer.  This
worked fine on older glibc, but breaks with newer glibc.  I have seen
patches for this.

 - Ian

-- 
ian at znark.com
http://www.znark.com/




More information about the PLUG mailing list