cURL / Mailing Lists / curl-users / Single Mail

curl-users

7.5.1 - gethostbyname problems under RedHat Linux

From: Brian K <freelunch_at_hotmail.com>
Date: Sat, 16 Dec 2000 18:36:05 -0000

Hello,

I'm a new curl user.. Actually, that's not quite true. So
far, I have not been able to build a working version of curl on my
Redhat 6.1/2.4-test5 system. I don't usually have any trouble
building source on this system.

The problems seem to center around gethostbyname_r, the
number of passed arguments and inet_ntoa_r.

bonito>./curl www.ford.com
curl: (6) Couldn't resolve host 'www.ford.com'

Ultimately, the 8 passed argument check results in the following:

configure:3979: checking if gethostbyaddr_r takes 8 arguments
configure:4001: gcc -c -g -O2 conftest.c 1>&5
configure:4038: checking for inet_ntoa_r
configure:4066: gcc -o conftest -g -O2 conftest.c -ldl 1>&5
/tmp/ccDzbSQd.o: In function `main':
/u/bkelley/src/curl-7.5.1/configure:4060: undefined reference to
`inet_ntoa_r'
collect2: ld returned 1 exit status
configure: failed program was:
#line 4043 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char inet_ntoa_r(); below. */

bonito>gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/specs
gcc version 2.95.2 19991024 (release)

I've checked the archives and mailing lists.. I found a couple
of similar problems, but not under Linux.

Any suggestions on what I should be looking for here?

Thanks!

  Brian

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
Received on 2000-12-16