[lug] (no subject)

rm at fabula.de rm at fabula.de
Thu May 8 06:28:09 MDT 2003


Hello Paul,

On Thu, May 08, 2003 at 04:52:40AM -0400, Paul Nowosielski wrote:
> Hello All,
> 
>  I'm trying to build qmail/tcpd  for a mail server and I keep getting
> the build error:
> 
>  undefined reference to `errno' in qmail and tcpd.
> 
> I'm using Mandrake 9.1 .
> 
> I added ------> include error.h 
> to the header of the .c file giving the error with the same results.
> I've done some googleing and it seems others have had the same problem
> with other distro's when installing qmail. But then why would it crop up
> in tcpd(same error)?? 

That's not enough, i'm affraid. You also need to add
 
 extern int errno;
 
to the source code (man 3 errno).

hth ralfd



More information about the LUG mailing list