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

 Note: libresolv.

> [1622]|  155404|  92|FUNC |GLOB |0    |9      |hstrerror
> 
> - Ti
>  ti chi <[EMAIL PROTECTED]> 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