Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101165 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42662 invoked from network); 27 Nov 2017 17:24:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Nov 2017 17:24:08 -0000 Authentication-Results: pb1.pair.com header.from=php@beccati.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=php@beccati.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain beccati.com designates 176.9.123.236 as permitted sender) X-PHP-List-Original-Sender: php@beccati.com X-Host-Fingerprint: 176.9.123.236 box.beccati.com Received: from [176.9.123.236] ([176.9.123.236:49990] helo=box.beccati.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 71/59-26862-33A4C1A5 for ; Mon, 27 Nov 2017 12:24:06 -0500 Received: from authenticated-user (box.beccati.com [176.9.123.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by box.beccati.com (Postfix) with ESMTPSA id C42972002FD; Mon, 27 Nov 2017 18:23:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=beccati.com; s=mail; t=1511803439; bh=BHoDGXsvoLbGRi6L/uIuHxDG4//Ru/9Bqkg72qpex98=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=p0jw8qLlFW9kbagXtpbl6ZbgzsZhRhrKS6OIKWG6H6XJntsbw4W9f7KcnXhGesbZb 65WnyMtDM+UkdwnETKMzX8wPlMIqRjIyJMKlDQzvYiJ7/GqEG1kxYTbagGuSyG0Hbz akjdKNzg49G0GGSo5Gfs2yqooWadOLde1l91O04DiwakpQqngNgQi/oK17Fz8MLN3r p7otM/n2vLYyEMa1nv6d7yXEKXmgGhVsf4mYJI8y10WxVcKC9VyuYGx+z8X3L90S65 /M1ammtVe1dqB7XZDc2kxAuT8MhfpgKHzlB6ZdsdP+Lsm7beM0bMDdogHHhUf2WBte Kv9Om8j9HO1aw== To: Sara Golemon , Florian Anderiasch Cc: PHP internals , Dan Ackroyd References: <73a4b3a5-5a48-fdab-8d7a-08cc596661ff@anderiasch.de> <587c708c-48b9-b18e-098f-26ac0a113cc8@anderiasch.de> <142a4a73-ee43-efea-d1f9-69ad981178f9@anderiasch.de> Message-ID: <85a60268-3d24-aa0b-9072-3783735612d6@beccati.com> Date: Mon, 27 Nov 2017 18:23:57 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] net_get_interfaces() From: php@beccati.com (Matteo Beccati) Hi everyone, On 27/11/2017 17:56, Sara Golemon wrote: >> Can do a proper bug report if needed, but maybe I get around to test >> NetBSD as well. >> > Thanks! I've just tested a NetBSD 7.0 i386 machine and I'm getting a few errors: ext/standard/net.c: In function ‘php_inet_ntop’: ext/standard/net.c:82:41: error: ‘NI_MAXHOST’ undeclared (first use in this function) zend_string *ret = zend_string_alloc(NI_MAXHOST, 0); ^ ext/standard/net.c:82:41: note: each undeclared identifier is reported only once for each function it appears in ext/standard/net.c:83:4: warning: implicit declaration of function ‘getnameinfo’ [-Wimplicit-function-declaration] if (getnameinfo(addr, addrlen, ZSTR_VAL(ret), NI_MAXHOST, NULL, 0, NI_NUMERICHOST) == SUCCESS) { ^ ext/standard/net.c:83:71: error: ‘NI_NUMERICHOST’ undeclared (first use in this function) if (getnameinfo(addr, addrlen, ZSTR_VAL(ret), NI_MAXHOST, NULL, 0, NI_NUMERICHOST) == SUCCESS) { ^ ext/standard/net.c: At top level: ext/standard/net.c:98:13: warning: ‘iface_append_unicast’ defined but not used [-Wunused-function] static void iface_append_unicast(zval *unicast, zend_long flags, ^ *** Error code 1 I'll see if I can get them fixed in the next few days. Cheers -- Matteo Beccati Development & Consulting - http://www.beccati.com/