djbdns
[Top] [All Lists]

RE: compile problems - daemontools

To: dns@list.cr.yp.to
Subject: RE: compile problems - daemontools
From: "W.D.McKinney" <dee@akwireless.net>
Date: Sun, 12 Nov 2006 14:56:54 -0900
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: 20061111035459.9CE42B71C@mx1.delmonte-phil.com
Mailing-list: contact dns-help@list.cr.yp.to; run by ezmlm
----- Original Message -----
From: Peña, Botp
[mailto:botp@delmonte-phil.com]
To: dns@list.cr.yp.to
Sent: Fri, 10 Nov 2006
18:55:31 -0900
Subject: RE: compile problems - daemontools


> :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


Well I am now compiling things fine. Nothing like finding what was the trouble.
Thanks!

-Dee
> 

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