From: ler at lerctr dot org Operating system: UnixWare 7.1.4 PHP version: 4.3.7 PHP Bug Type: Compile Failure Bug description: sockets code doesn't compile
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 bug report at http://bugs.php.net/?id=28652&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28652&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28652&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28652&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28652&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28652&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28652&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28652&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28652&r=support Expected behavior: http://bugs.php.net/fix.php?id=28652&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28652&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28652&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28652&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28652&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28652&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28652&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28652&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28652&r=float
