Re: svn: /php/php-src/trunk/ext/sockets/ config.m4 multicast.c

From: Date: Tue, 03 May 2011 10:57:31 +0000
Subject: Re: svn: /php/php-src/trunk/ext/sockets/ config.m4 multicast.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-64865@lists.php.net to get a copy of this message
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

« previous php.cvs (#64865) next »