:fr W.D.McKinney [mailto:dee@akwireless.net]
# I have new server that I need to get tinydns on it. I am
# running "ubuntu server" on it has all the libs, gcc, make
# etc., installed. Yet I keep getting this:
#
# # cd admin/daemontools-0.76/
# root@bacon:/package/admin/daemontools-0.76# package/install
# Linking ./src/* into ./compile...
# Compiling everything in ./compile...
# ./load envdir unix.a byte.a
# envdir.o: In function `main':envdir.c:(.text+0x118):
# undefined reference to `errno'
is errno in your errno.h?
mine, i have,
:/package# grep -i errno /usr/include/errno.h
* ISO C99 Standard: 7.5 Errors <errno.h>
#ifndef _ERRNO_H
# define _ERRNO_H 1
This file will test __need_Emath and _ERRNO_H. */
#include <bits/errno.h>
#ifdef _ERRNO_H
/* Declare the `errno' variable, unless it's defined as a macro by
bits/errno.h. This is the case in GNU, where it is a per-thread
#ifndef errno
extern int errno;
#endif /* _ERRNO_H */
#endif /* _ERRNO_H */
/* The Hurd <bits/errno.h> defines `error_t' as an enumerated type so
:/package#
Also, have you already installed build-essential before compiling, ie, apt-get
install build-essential?
kind regards -botp
|