[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LYNX-DEV test for -lresolv/-lbind on solaris
From: |
T.E.Dickey |
Subject: |
Re: LYNX-DEV test for -lresolv/-lbind on solaris |
Date: |
Sat, 7 Jun 1997 07:20:47 -0400 (EDT) |
>
> When building lynx2.7.1ac-0.28 on SunOS5.5.1 with gcc-2.7.2.2
> I got the following linking error:
> LYHash.o UCdomap.o UCAux.o UCAuto.o ../WWW/Library/unix/libwww.a -lncurses
> -ln
> sl -lsocket
> Undefined first referenced
> symbol in file
> __inet_addr ../WWW/Library/unix/libwww.a(HTTCP.o)
> ld: fatal: Symbol referencing errors. No output written to lynx.
>
> Doing "setenv RESOLVLIB -lbind" solved the problem. Would checking for
> "__inet_addr" in libbind, libresolv, then libc and adding the first
> library it's found in do the trick for autoconf? Not that simple?
(I've been busy in another project - but plan to resume rsn)
I looked at the bind library - you should be aware that the external
symbols that are linked to each of these libraries are (afaik) not
compatible - they're more/less compatible at the source-level (if you
include the proper headers), but I observed that someone had decided
to put an extra set of underscores in all of bind's externals vs resolv.
--
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;