djbdns
[Top] [All Lists]

RE: compile problems - daemontools

To: <dns@list.cr.yp.to>
Subject: RE: compile problems - daemontools
From: Peña, Botp <botp@delmonte-phil.com>
Date: Sat, 11 Nov 2006 11:55:31 +0800
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-djbdns@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list dns@list.cr.yp.to
In-reply-to: <20061110191746.5f63bdf2@ribeye.akwireless.net>
Mailing-list: contact dns-help@list.cr.yp.to; run by ezmlm
: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

<Prev in Thread] Current Thread [Next in Thread>