PHP 4.0 Bug #8600 Updated: --enable-socket option does not compile on Solaris 7/8
| From: | amelkonian at usa dot com | Date: | Tue, 09 Jan 2001 19:15:58 +0000 |
| Subject: | PHP 4.0 Bug #8600 Updated: --enable-socket option does not compile on Solaris 7/8 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-43592@lists.php.net to get a copy of this message | ||
ID: 8600
User Update by: amelkonian@usa.com
Old-Status: Closed
Status: Open
Bug Type: Compile Failure
Description: --enable-socket option does not compile on Solaris 7/8
php build: php4-200101090945
compiler: gcc 2.95.2 on solaris 7
configuration as: configure --enable-sockets
make bails out while building sockets extension:
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
an so on ...
Previous Comments:
---------------------------------------------------------------------------
[2001-01-09 03:45:09] sniper@php.net
This should be fixed in CVS. Please try latest snapshot from http://snaps.php.net/
--Jani
---------------------------------------------------------------------------
[2001-01-09 03:31:02] samjam@php.net
Can we have more details please.
It compiles for me OK on solaris 2.7 (which I guess is solaris 7)
WHat compiler errors do you get?
What compiler do you use?
What is your PATH?
What is the smallest ./configure command you use that exhibits the problem?
Sam
---------------------------------------------------------------------------
[2001-01-08 14:08:16] amelkonian@usa.com
--enable-socket option does not compile on Solaris 7/8 platforms because of sendmsg/recvmesg
function
implementations.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8600