[PHP-DEV] PHP 4.0 Bug #8600 Updated: --enable-socket option does not compile on Solaris 7/8 From: amelkonian <email protected>
Date: 01/09/01

ID: 8600
User Update by: amelkonian <email protected>
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 <email protected>
This should be fixed in CVS. Please try latest snapshot from http://snaps.php.net/

--Jani

---------------------------------------------------------------------------

[2001-01-09 03:31:02] samjam <email protected>
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 <email protected>
--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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>