#19212 [Opn]: Socket extension won't compile

From: Date: Tue, 03 Sep 2002 17:28:41 +0000
Subject: #19212 [Opn]: Socket extension won't compile
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18316@lists.php.net to get a copy of this message
 ID:               19212
 User updated by:  patrickb@buzzimage.com
 Reported By:      patrickb@buzzimage.com
 Status:           Open
 Bug Type:         Sockets related
 Operating System: Irix 6.5.12f
 PHP Version:      4.2.2
 New Comment:

Same as bug #9229


Previous Comments:
------------------------------------------------------------------------

[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)

« previous php.bugs (#18316) next »