I am trying to install daemontools on my RHEL3 box and get the
following errors during the install

Linking ./src/* into ./compile...
Compiling everything in ./compile...
../load envdir unix.a byte.a
envdir.o(.text+0xca): In function `main':
: undefined reference to `errno'
envdir.o(.text+0x1ea): In function `main':
: undefined reference to `errno'
unix.a(openreadclose.o)(.text+0x3b): In function `openreadclose':
: undefined reference to `errno'
unix.a(pathexec_run.o)(.text+0xf6): In function `pathexec_run':
: undefined reference to `errno'
unix.a(pathexec_run.o)(.text+0x13a): In function `pathexec_run':
: undefined reference to `errno'
unix.a(readclose.o)(.text+0x42): 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

Anyone got a clue what this means? Am I missing something? Any help
would be appreciated