On Saturday 17 March 2007 21:35, lists@d-ra.ath.cx wrote:
Result: -lnsl was not added to $LIB. $LIB was empty here.
Maybe it's a problem with gethostbyname. Isn't gethostbyname a part of libc? What would happens if gethostbyname is resolved with libc?
In Linux - yes. In Solaris it's in libnls. In fact I'm surprised that Linux needs libnls. What function does *your* system need from libnls?
"first with no libraries" ... so what happens if gethostbyname is resolved without libnsl? It won't be added :-(
That was the goal. 8-)
gcc (GCC) 3.4.6 glibc-2.3.6 autoconf-2.60
See you config.log. It's very helpful to diagnose autoconf problems.
Best regards, Mike