ID: 31936 User updated by: ler at lerctr dot org Reported By: ler at lerctr dot org -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: UnixWare PHP Version: 4.3.10 New Comment:
/bin/sh /home/ler/SOURCE/php/php4-STABLE-200502111530/libtool --silent --preserve-dup-deps --mode=compile cc -Iext/sockets/ -I/home/ler/SOURCE/php/php4-STABLE-200502111530/ext/sockets/ -DPHP_ATOM_INC -I/home/ler/SOURCE/php/php4-STABLE-200502111530/include -I/home/ler/SOURCE/php/php4-STABLE-200502111530/main -I/home/ler/SOURCE/php/php4-STABLE-200502111530 -I/home/ler/SOURCE/php/php4-STABLE-200502111530/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/php4-STABLE-200502111530/ext/xml/expat -I/home/ler/SOURCE/php/php4-STABLE-200502111530/TSRM -O -Kpthread -c /home/ler/SOURCE/php/php4-STABLE-200502111530/ext/sockets/sockets.c -o ext/sockets/sockets.lo UX:acomp: WARNING: "/home/ler/SOURCE/php/php4-STABLE-200502111530/ext/sockets/sockets.c", line 1658: argument #4 incompatible with prototype: add_assoc_string_ex() UX:acomp: WARNING: "/home/ler/SOURCE/php/php4-STABLE-200502111530/ext/sockets/sockets.c", line 1717: argument #4 incompatible with prototype: add_assoc_string_ex() UX:acomp: ERROR: "/home/ler/SOURCE/php/php4-STABLE-200502111530/ext/sockets/sockets.c", line 1765: left operand must be modifiable lvalue: op "=" gmake: *** [ext/sockets/sockets.lo] Error 1 [1] + Done(2) gmake >gmake.out 2>&1 & $ still dies. Previous Comments: ------------------------------------------------------------------------ [2005-02-11 18:02:12] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2005-02-11 17:35:26] ler at lerctr dot org Description: ------------ in ext/sockets/sockets.c you (re)define set_h_errno in such a way that the UnixWare definition is overridden, and generates a compile error about assignments. the definition in <netdb.h> works, yours doesn't. Reproduce code: --------------- standard 4.3.10 sources. Expected result: ---------------- compile/link. Actual result: -------------- assignment must be modifiable lvalue on line 1765. I can provide an account. Also, Zend/zend_strtod.c doesn't compile because it doesn't find the right IEEE_* define for this compiler. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31936&edit=1