Hi,

On Sat, 2011-04-30 at 15:56 +0000, Gustavo André dos Santos Lopes wrote:
> cataphract                               Sat, 30 Apr 2011 15:56:07 +0000


>       if_req.ifr_ifindex = if_index;
> +#if defined(SIOCGIFNAME)
>       if (ioctl(php_sock->bsd_socket, SIOCGIFNAME, &if_req) == -1) {
> +#elif defined(HAVE_IF_INDEXTONAME)
> +     if (if_indextoname(if_index, if_req.ifr_name) == NULL) {
> +#else
> +#error Neither SIOCGIFNAME nor if_indextoname are available
> +#endif

trunk/ext/sockets/multicast.c:428:2: error: #error Neither SIOCGIFNAME
nor if_indextoname are available
trunk/ext/sockets/multicast.c:435: error: expected identifier or ‘(’
before ‘if’
trunk/ext/sockets/multicast.c:441: error: expected ‘)’ before ‘&’ token
trunk/ext/sockets/multicast.c:443: error: expected identifier or ‘(’
before ‘return’
trunk/ext/sockets/multicast.c:444: error: expected identifier or ‘(’
before ‘}’ token
trunk/ext/sockets/multicast.c: In function ‘php_add4_to_if_index’:
trunk/ext/sockets/multicast.c:466: error: ‘SIOCGIFCONF’ undeclared
(first use in this function)
trunk/ext/sockets/multicast.c:466: error: (Each undeclared identifier is
reported only once
trunk/ext/sockets/multicast.c:466: error: for each function it appears
in.)
trunk/ext/sockets/multicast.c:502: error: ‘SIOCGIFINDEX’ undeclared
(first use in this function)

on my Solaris 11 Express box.

johannes



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to