the reference is found in the source..

from crt.c
#include <errno.h>

Regards,
-Martin

----- Original Message ----- 
From: "Jeff Gordon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, December 14, 2003 3:57 PM
Subject: Re: "undefined reference to `errno'"


> On Sun, Dec 14, 2003 at 02:28:36AM -0600, Bill Runge wrote:
> > 
> > <Then issue "make">
> > 
> > /usr/lib/mysql//libmysqlclient.a(my_malloc.o)(.text+0x23): In function 
> > `my_malloc':
> > : undefined reference to `errno'
> 
> > collect2: ld returned 1 exit status
> > make: *** [error] Error 1
> > make: *** [update] Error 1
> 
> (Hi, Bill.)  I might be talkin' through my hat, here, but this is very
> similar to problems being encountered with compiling Bernstein's
> software items, qmail, ucspi-tcp, daemontools, et al.
> 
> In the case of those software items, the problem arises from a
> difference in specification of the _newest_ gcc and libraries.
> 
> I don't 'speak' C/gcc, but I gather the source had been coded to make
> direct use of 'errorno.h', and newest gcc considers that a no-no.  Your
> error message is "undefined reference to 'errno'", which is not the
> same error message I've seen when compiling the Bernstein items, but
> thought I should mention this anomaly in case it applies to your
> situation, somehow.
> 
> -- 
> 
>  -- Jeff --   <http://www.wellnow.com>
> 
>  "There's nothing left in the world to prove.  All that's worth doing
>   is to love one another, using whatever means are available to serve."
> 
> -- 
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]
> 
> 

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to