From:             [EMAIL PROTECTED]
Operating system: Solaris2.8
PHP version:      4.0.4pl1
PHP Bug Type:     *Install and Config
Bug description:  --enable-sockets problem

I tried to configure the php-4.0.4pl1 with options "--enable-sockets" under
Solaris 2.8.

The commands that I typed in are shown next.

/export/xmtang/php-4.0.4pl1>./configure --prefix="/export/xmtang/php" --with
-apache=../apache_1.3.14 --enable-sockets
/export/xmtang/php-4.0.4pl1>make

Then I got  some errors.

make[3]: Entering directory `/export/xmtang/php-4.0.4pl1/ext/sockets'
gcc  -I. -I/export/xmtang/php-4.0.4pl1/ext/sockets -I/export/xmtang/php-4.0.
4pl1
/main -I/export/xmtang/php-4.0.4pl1 -I/export/xmtang/apache_1.3.14/src/inclu
de -
I/export/xmtang/apache_1.3.14/src/os/unix -I/export/xmtang/php-4.0.4pl1/Zend
 -I/
export/xmtang/php-4.0.4pl1/ext/mysql/libmysql -I/export/xmtang/php-4.0.4pl1/
ext/
xml/expat/xmltok -I/export/xmtang/php-4.0.4pl1/ext/xml/expat/xmlparse -I/exp
ort/
xmtang/php-4.0.4pl1/TSRM  -D_POSIX_PTHREAD_SEMANTICS -DXML_BYTE_ORDER=21 -g
-O2
 -c sockets.c && touch sockets.lo
sockets.c: In function `php_if_recvmsg':
sockets.c:1728: structure has no member named `msg_control'
sockets.c:1729: structure has no member named `msg_controllen'
sockets.c:1731: structure has no member named `msg_control'
sockets.c:1732: structure has no member named `msg_controllen'
sockets.c:1735: structure has no member named `msg_flags'
sockets.c:1741: structure has no member named `msg_control'
sockets.c:1750: warning: passing arg 3 of `add_assoc_string' makes pointer
from
integer without a cast
sockets.c:1754: structure has no member named `msg_controllen'
sockets.c:1755: structure has no member named `msg_flags'
sockets.c:1787: structure has no member named `msg_control'
sockets.c:1788: structure has no member named `msg_controllen'
sockets.c:1790: structure has no member named `msg_control'
sockets.c:1791: structure has no member named `msg_controllen'
sockets.c:1794: structure has no member named `msg_flags'
sockets.c:1800: structure has no member named `msg_control'
sockets.c:1810: warning: passing arg 3 of `add_assoc_string' makes pointer
from
integer without a cast
sockets.c:1812: structure has no member named `msg_controllen'
sockets.c:1814: structure has no member named `msg_flags'
make[3]: *** [sockets.lo] Error 1
make[3]: Leaving directory `/export/xmtang/php-4.0.4pl1/ext/sockets'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/export/xmtang/php-4.0.4pl1/ext/sockets'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/xmtang/php-4.0.4pl1/ext'
make: *** [all-recursive] Error 1



-- 
Edit Bug report at: http://bugs.php.net/?id=9729&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to