sockets broken in 5.4 on Mac OS X
| From: | Stas Malyshev | Date: | Sun, 10 Jul 2011 23:21:18 +0000 |
| Subject: | sockets broken in 5.4 on Mac OS X | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-53820@lists.php.net to get a copy of this message | ||
Hi!
I was now building 5.4 on Mac with sockets enabled and got this:
/Users/smalyshev/php-5.4/ext/sockets/multicast.c: In function ‘php_if_index_to_addr4’:
/Users/smalyshev/php-5.4/ext/sockets/multicast.c:426: error: ‘struct ifreq’ has no member named ‘ifr_ifindex’
/Users/smalyshev/php-5.4/ext/sockets/multicast.c: In function ‘php_add4_to_if_index’:
/Users/smalyshev/php-5.4/ext/sockets/multicast.c:506: error: ‘SIOCGIFINDEX’ undeclared (first use in this function)
/Users/smalyshev/php-5.4/ext/sockets/multicast.c:506: error: (Each undeclared identifier is reported only once
/Users/smalyshev/php-5.4/ext/sockets/multicast.c:506: error: for each function it appears in.)
/Users/smalyshev/php-5.4/ext/sockets/multicast.c:513: error: ‘struct ifreq’ has no member named ‘ifr_ifindex’
Redoing buildconf/configure didn't help. Any ideas?
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227