#28652 [Opn->Fbk]: sockets code doesn't compile
ID: 28652
Updated by: pollita@php.net
Reported By: ler at lerctr dot org
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: UnixWare 7.1.4
PHP Version: 4.3.7
-Assigned To:
+Assigned To: pollita
New Comment:
I'll take ya up on that offer.
The first two warnings are simple ooopses in the source that are easily
fixed. The other two warnings and the actual error are less obvious.
Certainly they look okay with the other OS header files I have
available.
If you want to avoid sending me login credentials an email with
/usr/include/netdb.h and /usr/include/bits/socket.h would be a good
start. (netdb is the more crucial of the two)
Previous Comments:
------------------------------------------------------------------------
[2004-06-06 17:19:12] ler at lerctr dot org
Description:
------------
when I added --enable-sockets to my configure flags we get:
/bin/sh /home/ler/SOURCE/php/php-4.3.7/libtool --silent
--preserve-dup-deps --mode=compile cc -Xb -Iext/sockets/
-I/home/ler/SOURCE/php/php-4.3.7/ext/sockets/ -DPHP_ATOM_INC
-I/home/ler/SOURCE/php/php-4.3.7/include
-I/home/ler/SOURCE/php/php-4.3.7/main -I/home/ler/SOURCE/php/php-4.3.7
-I/home/ler/SOURCE/php/php-4.3.7/Zend -I/usr/local/include/libxml2
-I/usr/local/include -I/usr/local/mysql/include
-I/usr/local/pgsql/include/pgsql
-I/home/ler/SOURCE/php/php-4.3.7/ext/xml/expat
-I/home/ler/SOURCE/php/php-4.3.7/TSRM -O -Kpthread -prefer-pic -c
/home/ler/SOURCE/php/php-4.3.7/ext/sockets/sockets.c -o
ext/sockets/sockets.lo
UX:acomp: WARNING:
"/home/ler/SOURCE/php/php-4.3.7/ext/sockets/sockets.c", line 353:
improper pointer/integer combination: arg #2
UX:acomp: WARNING:
"/home/ler/SOURCE/php/php-4.3.7/ext/sockets/sockets.c", line 353:
improper pointer/integer combination: arg #3
UX:acomp: WARNING:
"/home/ler/SOURCE/php/php-4.3.7/ext/sockets/sockets.c", line 1658:
argument #4 incompatible with prototype: add_assoc_string_ex()
UX:acomp: WARNING:
"/home/ler/SOURCE/php/php-4.3.7/ext/sockets/sockets.c", line 1717:
argument #4 incompatible with prototype: add_assoc_string_ex()
UX:acomp: ERROR:
"/home/ler/SOURCE/php/php-4.3.7/ext/sockets/sockets.c", line 1765: left
operand must be modifiable lvalue: op "="
gmake: *** [ext/sockets/sockets.lo] Error 1
$
I can supply an account for debug if necessary.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28652&edit=1
Thread (10 messages)