#19212 [Opn->Fbk]: Socket extension won't compile
ID: 19212
Updated by: kalowsky@php.net
Reported By: patrickb@buzzimage.com
-Status: Open
+Status: Feedback
Bug Type: Sockets related
Operating System: Irix 6.5.12f
PHP Version: 4.2.2
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
More specifically can you test for the new PHP 4.2.3 RC files and see
if this continues. This should be something fairly easy to fix, and
hopefully we can get a patch in (if it's not fixed).
Previous Comments:
------------------------------------------------------------------------
[2002-09-03 13:28:41] patrickb@buzzimage.com
Same as bug #9229
------------------------------------------------------------------------
[2002-09-03 13:21:28] patrickb@buzzimage.com
Irix 6.5.12f
GCC 3.0.4
./configure --with-apxs=/usr/local/apache/bin/apxs
--with-mysql=/usr/local/mysql --enable-yp --enable-calendar
--enable-ftp --enable-sockets
/bin/sh /usr/src/php-4.2.2/libtool --silent --mode=compile
/usr/freeware/bin/gcc -I. -I/usr/src/php-4.2.2/ext/sockets
-I/usr/src/php-4.2.2/main -I/usr/src/php-4.2.2
-I/usr/local/apache_1.3.23/include -I/usr/src/php-4.2.2/Zend
-I/usr/local/mysql/include -I/usr/src/php-4.2.2/ext/xml/expat
-D_XPG_IV -DIRIX -DUSE_HSREGEX -DUSE_EXPAT -I/usr/src/php-4.2.2/TSRM -g
-O2 -prefer-pic -c sockets.c
sockets.c:34:1: warning: "__EXTENSIONS__" redefined
<command line>:1:1: warning: this is the location of the previous
definition
sockets.c: In function `zif_socket_recvmsg':
sockets.c:1476: warning: assignment from incompatible pointer type
sockets.c:1481: warning: assignment from incompatible pointer type
sockets.c:1483: structure has no member named `msg_flags'
sockets.c:1499: structure has no member named `msg_flags'
sockets.c:1525: warning: assignment from incompatible pointer type
sockets.c:1531: warning: assignment from incompatible pointer type
sockets.c:1538: structure has no member named `msg_flags'
sockets.c:1554: structure has no member named `msg_flags'
sockets.c: In function `zif_socket_sendmsg':
sockets.c:1611: warning: assignment from incompatible pointer type
sockets.c:1639: warning: assignment from incompatible pointer type
gmake[3]: *** [sockets.lo] Error 1
gmake[3]: Leaving directory `/usr/src/php-4.2.2/ext/sockets'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/src/php-4.2.2/ext/sockets'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/src/php-4.2.2/ext'
gmake: *** [all-recursive] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19212&edit=1
Thread (9 messages)