lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev inet_addr configure


From: Ismael Cordeiro
Subject: Re: lynx-dev inet_addr configure
Date: Sat, 20 Feb 1999 09:47:54 -0500 (EST)

On Sat, 20 Feb 1999 address@hidden wrote:

> Here's my current changes for configuration (should fix the complaints about
> inet_addr -- let me know if it doesn/doesn't)

On FreeBSD 2.2.7 those "parse error" and "warning" messages disappeared and
inet_aton was found. In lynx_cfg.h I have:

#define HAVE_INET_ATON 1                /* CF_INET_ADDR */

On Solaris 2.5 the "parse error" and "warning" also disappeared but
inet_aton was not found. In config.log I have:

configure:6228: checking for inet_aton function
configure:6245: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-L/home/ismael/slang/lib -lnsl -lsocket  1>&5
Undefined                       first referenced
 symbol                             in file
inet_aton                           /tmp/cca005u11.o
ld: fatal: Symbol referencing errors. No output written to conftest
configure: failed program was:
#line 6234 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>

int main() {
inet_aton(0, (struct in_addr *)0)
; return 0; }
configure:6265: checking for inet_addr function
configure:6282: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-L/home/ismael/slang/lib -lnsl -lsocket  1>&5
configure:6345: checking for screen type


According to config.cache inet_addr was found:

cf_cv_have_inet_addr=${cf_cv_have_inet_addr='yes'}
cf_cv_have_inet_aton=${cf_cv_have_inet_aton='no'}

However, there is no "#define HAVE_INET_ADDR 1" in lynx_cfg.h.

Ismael
-- 

       +--------------------------------------------------------------+
       | ISMAEL CORDEIRO            | mailto:address@hidden      |
       | Production sound mixer     | http://www.ismael.cordeiro.com/ |
       | Montréal - Québec - Canada | ftp://ftp.cam.org/users/ismael/ |
       +--------------------------------------------------------------+

reply via email to

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