octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: building from urlwrite gives undefined reference to `_errno()' (MinG


From: Tatsuro MATSUOKA
Subject: Re: building from urlwrite gives undefined reference to `_errno()' (MinGW build 3.3.50+)
Date: Mon, 11 Jan 2010 08:10:34 +0900 (JST)

Hello

In urlwrite, I found 

  std::string lasterror (void) const
    {
      CURLcode errno;

      curl_easy_getinfo (rep->handle(), CURLINFO_OS_ERRNO, &errno);
      
      return std::string (curl_easy_strerror (errno));
    }

Perhaps the link error comes from curl library I am using.

Regards

Tatsuro

--- Tatsuro MATSUOKA wrote:

> Hello
> 
> --- Benjamin Lindner wrote:
> 
> > > 
> > > The libtool link command includes '-liberty'.  In libiberty.a, I found  
> > > symbol '__errno'.
> > 
> > This originated from the requirement of mktemps on mingw. Perhaps this
> > is covered by gnulib now, and -liberty is no longer necessary any more.
> > 
> > I would expect errno() to be defined in the ms C runtime library and not
> > solely in libiberty, so this looks like there is a library missing at
> > link stage.
> 
> I'll try to fix with your advise. 
> 
> Thanks!
> 
> Tatsuro
> 
> --------------------------------------
> Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
> http://pr.mail.yahoo.co.jp/ie8/
> 


--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]