Re: current CVS and MacOSX

From: Date: Fri, 21 Dec 2001 17:20:18 +0000
Subject: Re: current CVS and MacOSX
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-74720@lists.php.net to get a copy of this message
On Fri, Dec 21, 2001 at 11:28:02AM -0500, Dan Kalowsky wrote:

> MacOSX 10.1.2 compiling a pull of CVS from today (and frankly the past
> couple of days) has a problem compiling:
> 
> /usr/bin/ld: Undefined symbols:
> _inet_pton

Referenced in:

ext/standard/dns.c:     if (inet_pton(AF_INET6, ip, &addr6)) {
ext/standard/dns.c:     } else if (inet_pton(AF_INET, ip, &addr)) {
 
> Interesting thing is, there seems to be no references to inet_pton
> anywhere on the OS.  Anyone with a suggestion on correcting this?
 
That's interesting.  From INET(3) under FreeBSD 4.4:

STANDARDS
     The inet_ntop() and inet_pton() functions conform to X/Open Networking
     Services Issue 5.2 (``XNS5.2'').  Note that inet_pton() does not accept
     1-, 2-, or 3-part dotted addresses; all four parts must be specified and
     are interpreted only as decimal values.  This is a narrower input set
     than that accepted by inet_aton().

HISTORY
     These functions appeared in 4.2BSD.

-- 
Jon Parise (jon@csh.rit.edu)  .  Information Technology (2001)
http://www.csh.rit.edu/~jon/  :  Computer Science House
Member


Thread (2 messages)

« previous php.dev (#74720) next »