Re: net_get_interfaces()
| From: | Sara Golemon | Date: | Mon, 27 Nov 2017 17:51:19 +0000 |
| Subject: | Re: net_get_interfaces() | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-101168@lists.php.net to get a copy of this message | ||
On Mon, Nov 27, 2017 at 12:23 PM, Matteo Beccati <php@beccati.com> wrote:
> I've just tested a NetBSD 7.0 i386 machine and I'm getting a few errors:
>
> 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
>
Interesting, that tells me that getifaddrs() isn't available on your
system. I've pushed a fix for the include and the unused method, but
I'll have to spin up a NetBSD VM to figure out a way to support the
functionality on that platform. Thanks for testing!
-Sara