Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Aug 1998 18:59:56 -0700
From:      John Polstra <jdp@polstra.com>
To:        roberto@keltia.freenix.fr
Cc:        current@FreeBSD.ORG
Subject:   Re: More problems post-ELF
Message-ID:  <199809010159.SAA08655@austin.polstra.com>
In-Reply-To: <19980901005550.A2925@keltia.freenix.fr>
References:  <14120.904588750@time.cdrom.com> <19980901005550.A2925@keltia.freenix.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <19980901005550.A2925@keltia.freenix.fr>,
Ollivier Robert  <roberto@keltia.freenix.fr> wrote:

> We may have a problem with some weak symbols too.
> 
> I tried to recompile trn4 and I got this:
> 
> nntpinit.o: In function `get_tcp_socket':
> nntpinit.o(.text+0x1c0): undefined reference to `inet_addr'
> nntpinit.o(.text+0x29c): undefined reference to `inet_ntoa'
> nntpinit.o(.text+0x2cd): undefined reference to `inet_ntoa'

That's a bug in the source file (nntpinit.c?).  It needs to include
<arpa/inet.h>.

John
--
   John Polstra                                       jdp@polstra.com
   John D. Polstra & Co., Inc.                Seattle, Washington USA
   "Self-knowledge is always bad news."                 -- John Barth

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809010159.SAA08655>