PHP 4.0 Bug #9664: Unable to make , related to bug 8468 i think
| From: | yavo at itena dot com dot cy | Date: | Fri, 09 Mar 2001 21:24:19 +0000 |
| Subject: | PHP 4.0 Bug #9664: Unable to make , related to bug 8468 i think | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-48450@lists.php.net to get a copy of this message | ||
From: yavo@itena.com.cy
Operating system: Solaris 8
PHP version: 4.0.4
PHP Bug Type: Sockets related
Bug description: Unable to make , related to bug 8468 i think
My enviroment
Solaris 8
Gnu gcc
compile options ./configure --enable-sockets
This bug occured to some one and he asked me to look in to it. I tried it on another machine same
enviroment and got the same problem. A search revealed a similar ( i think ) bug with id 8468 .
This is the dump of the error.
Making all in sockets
gcc -I. -I/people/yavo/work/php-4.0.4/ext/sockets -I/people/yavo/work/php-4.0.4/main
-I/people/yavo/work/php-4.0.4 -I/people/yavo/work/php-4.0.4/Zend
-I/people/yavo/work/php-4.0.4/ext/mysql/libmysql -I/people/yavo/work/php-4.0.4/ext/xml/expat/xmltok
-I/people/yavo/work/php-4.0.4/ext/xml/expat/xmlparse -I/people/yavo/work/php-4.0.4/TSRM
-D_POSIX_PTHREAD_SEMANTICS -DXML_BYTE_ORDER=12 -g -O2 -c sockets.c && touch sockets.lo
sockets.c:118: `php_if___xnet_listen' undeclared here (not in a function)
sockets.c:118: initializer element is not constant
sockets.c:118: (near initialization for `sockets_functions[10].handler')
sockets.c:139: `php_if___xnet_socket' undeclared here (not in a function)
sockets.c:139: initializer element is not constant
sockets.c:139: (near initialization for `sockets_functions[16].handler')
sockets.c:140: `php_if___xnet_connect' undeclared here (not in a function)
sockets.c:140: initializer element is not constant
sockets.c:140: (near initialization for `sockets_functions[17].handler')
sockets.c:142: `php_if___xnet_bind' undeclared here (not in a function)
sockets.c:142: initializer element is not constant
sockets.c:142: (near initialization for `sockets_functions[19].handler')
sockets.c:146: `php_if___xnet_sendto' undeclared here (not in a function)
sockets.c:146: initializer element is not constant
sockets.c:146: (near initialization for `sockets_functions[23].handler')
sockets.c:153: `php_if___xnet_recvmsg' undeclared here (not in a function)
sockets.c:153: initializer element is not constant
sockets.c:153: (near initialization for `sockets_functions[30].handler')
sockets.c:154: `php_if___xnet_sendmsg' undeclared here (not in a function)
sockets.c:154: initializer element is not constant
sockets.c:154: (near initialization for `sockets_functions[31].handler')
sockets.c:157: `php_if___xnet_getsockopt' undeclared here (not in a function)
sockets.c:157: initializer element is not constant
sockets.c:157: (near initialization for `sockets_functions[34].handler')
sockets.c:159: `php_if___xnet_socketpair' undeclared here (not in a function)
sockets.c:159: initializer element is not constant
sockets.c:159: (near initialization for `sockets_functions[36].handler')
*** Error code 1
make: Fatal error: Command failed for target `sockets.lo'
Current working directory /people/yavo/work/php-4.0.4/ext/sockets
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /people/yavo/work/php-4.0.4/ext/sockets
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /people/yavo/work/php-4.0.4/ext
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
[yavo@crayxmp php-4.0.4]$
--
Edit Bug report at: http://bugs.php.net/?id=9664&edit=1