autoconf
[Top][All Lists]
Advanced

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

Re: autoconf on Solaris 8


From: Lars Hecking
Subject: Re: autoconf on Solaris 8
Date: Tue, 4 Feb 2003 10:13:39 +0000
User-agent: Mutt/1.5.2i

ti chi writes:
> 
> nm libsresolv.so | grep hstrerror reveals

 Note: libresolv.

> [1622]|  155404|  92|FUNC |GLOB |0    |9      |hstrerror
> 
> - Ti
>  ti chi <address@hidden> wrote:
> I ran autoconf on Solaris 8 with the AC_CHECK_FUNCS(... hstrerror ...) and it 
> says that hstrerror is not supported.  So then, I defined an hstrerror 
> structure but then the compiler complains "netdb.h: previous declaration of 
> hstrerror"
> 
> Seems that autoconf is returning a false negative on Solaris 8 - what steps 
> can I take to further isolate this issue?
 
 You are using the wrong configure test. AC_CHECK_FUNCS() looks for functions
 only in the libraries that are currently in $LIBS (and libc). Use AC_CHECK_LIB
 instead.





reply via email to

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