On Jul 10, 2011, at 4:21 PM, Stas Malyshev wrote:

> 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?

The code for this looks really convoluted, I'm thinking we should back out this 
multicast option for now. It's basically not going to work on OSX the way its 
implemented from what I can tell.

- S
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to