#37914 [Opn]: get_include_path() doesn't whine about passing a parameter to it
ID: 37914 User updated by: ler at lerctr dot org Reported By: ler at lerctr dot org Status: Open Bug Type: PHP options/info functions Operating System: FreeBSD 6.1/amd64 PHP Version: 5.1.4 New Comment: Ok, a warning DOES make it to the apache error_log. but if you are using @get_include_path(), and pass a parameter, it basically silently fails. If you want, mark it bogus, but it was a royal pain to find the garbage code in an app that had the @get_include_path('include_path') coded. Previous Comments: [2006-06-26 10:18:04] ler at lerctr dot org Did you actually click on the reproduce script? It clearly doesn't do that on my box. [2006-06-26 10:16:22] [EMAIL PROTECTED] What are you talking about? # php -r 'get_include_path("");' Warning: Wrong parameter count for get_include_path() in Command line code on line 1 -------- [2006-06-26 10:04:16] ler at lerctr dot org Description: if you (by accident, copy/paste, whatever) pass an argument to get_include_path(), the function just returns an empty string, and NO diagnostic is issued. i've placed the reproduce script (with also a link generated to a phpinfo() call) at: http://blog.lerctr.org/php_get_include_path_bug.php the phpinfo() is at: http://blog.lerctr.org/php.php Reproduce code: --- "; echo "get_include_path()=" . get_include_path(); echo ""; ?> Expected result: the bug is illustrated with the output of the first echo. Actual result: -- a diagnostic, or ignore the parameter, and return the include_path. -- Edit this bug report at http://bugs.php.net/?id=37914&edit=1
#37914 [Fbk->Opn]: get_include_path() doesn't whine about passing a parameter to it
ID: 37914 User updated by: ler at lerctr dot org Reported By: ler at lerctr dot org -Status: Feedback +Status: Open Bug Type: PHP options/info functions Operating System: FreeBSD 6.1/amd64 PHP Version: 5.1.4 New Comment: Did you actually click on the reproduce script? It clearly doesn't do that on my box. Previous Comments: [2006-06-26 10:16:22] [EMAIL PROTECTED] What are you talking about? # php -r 'get_include_path("");' Warning: Wrong parameter count for get_include_path() in Command line code on line 1 ---- [2006-06-26 10:04:16] ler at lerctr dot org Description: if you (by accident, copy/paste, whatever) pass an argument to get_include_path(), the function just returns an empty string, and NO diagnostic is issued. i've placed the reproduce script (with also a link generated to a phpinfo() call) at: http://blog.lerctr.org/php_get_include_path_bug.php the phpinfo() is at: http://blog.lerctr.org/php.php Reproduce code: --- "; echo "get_include_path()=" . get_include_path(); echo ""; ?> Expected result: the bug is illustrated with the output of the first echo. Actual result: -- a diagnostic, or ignore the parameter, and return the include_path. -- Edit this bug report at http://bugs.php.net/?id=37914&edit=1
#37914 [NEW]: get_include_path() doesn't whine about passing a parameter to it
From: ler at lerctr dot org Operating system: FreeBSD 6.1/amd64 PHP version: 5.1.4 PHP Bug Type: PHP options/info functions Bug description: get_include_path() doesn't whine about passing a parameter to it Description: if you (by accident, copy/paste, whatever) pass an argument to get_include_path(), the function just returns an empty string, and NO diagnostic is issued. i've placed the reproduce script (with also a link generated to a phpinfo() call) at: http://blog.lerctr.org/php_get_include_path_bug.php the phpinfo() is at: http://blog.lerctr.org/php.php Reproduce code: --- "; echo "get_include_path()=" . get_include_path(); echo ""; ?> Expected result: the bug is illustrated with the output of the first echo. Actual result: -- a diagnostic, or ignore the parameter, and return the include_path. -- Edit bug report at http://bugs.php.net/?id=37914&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37914&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37914&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37914&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37914&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37914&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37914&r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=37914&r=needscript Try newer version:http://bugs.php.net/fix.php?id=37914&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37914&r=support Expected behavior:http://bugs.php.net/fix.php?id=37914&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37914&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37914&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37914&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37914&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37914&r=dst IIS Stability:http://bugs.php.net/fix.php?id=37914&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37914&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37914&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37914&r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=37914&r=mysqlcfg
#31936 [Fbk->Opn]: set_h_errno() is redefined incompatibly
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: 4CVS, 5CVS (2005-02-12) New Comment: account info sent to [EMAIL PROTECTED] Previous Comments: [2005-02-12 03:45:12] [EMAIL PROTECTED] That account might be a good idea or this'll take all night. [2005-02-12 03:44:12] ler at lerctr dot org that is the configure I ran, and it still died :( [2005-02-12 03:43:02] [EMAIL PROTECTED] I sent you the configure via email. [2005-02-12 03:42:59] ler at lerctr dot org Configure doesn't seem to find the set_h_errno, so we still die. I can give you an account if y'all want it :) [2005-02-12 03:32:23] ler at lerctr dot org Could you pass me the new configure? I don't seem to have the infrastructure to rebuild it The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/31936 -- Edit this bug report at http://bugs.php.net/?id=31936&edit=1
#31936 [Fbk->Opn]: set_h_errno() is redefined incompatibly
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: 4CVS, 5CVS (2005-02-12) New Comment: that is the configure I ran, and it still died :( Previous Comments: [2005-02-12 03:43:02] [EMAIL PROTECTED] I sent you the configure via email. [2005-02-12 03:42:59] ler at lerctr dot org Configure doesn't seem to find the set_h_errno, so we still die. I can give you an account if y'all want it :) [2005-02-12 03:32:23] ler at lerctr dot org Could you pass me the new configure? I don't seem to have the infrastructure to rebuild it [2005-02-12 03:22:07] [EMAIL PROTECTED] Try this patch: http://www.php.net/~jani/patches/bug31936.patch [2005-02-11 18:10:24] ler at lerctr dot org /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. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/31936 -- Edit this bug report at http://bugs.php.net/?id=31936&edit=1
#31936 [Opn]: set_h_errno() is redefined incompatibly
ID: 31936 User updated by: ler at lerctr dot org Reported By: ler at lerctr dot org Status: Open Bug Type: Compile Failure Operating System: UnixWare PHP Version: 4CVS, 5CVS (2005-02-12) New Comment: Configure doesn't seem to find the set_h_errno, so we still die. I can give you an account if y'all want it :) Previous Comments: [2005-02-12 03:32:23] ler at lerctr dot org Could you pass me the new configure? I don't seem to have the infrastructure to rebuild it [2005-02-12 03:22:07] [EMAIL PROTECTED] Try this patch: http://www.php.net/~jani/patches/bug31936.patch [2005-02-11 18:10:24] ler at lerctr dot org /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. [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 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
#31936 [Fbk->Opn]: set_h_errno() is redefined incompatibly
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: 4CVS, 5CVS (2005-02-12) New Comment: Could you pass me the new configure? I don't seem to have the infrastructure to rebuild it Previous Comments: [2005-02-12 03:22:07] [EMAIL PROTECTED] Try this patch: http://www.php.net/~jani/patches/bug31936.patch [2005-02-11 18:10:24] ler at lerctr dot org /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. [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 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
#31936 [Fbk->Opn]: set_h_errno() is redefined incompatibly by PHP's code
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 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
#31936 [NEW]: set_h_errno() is redefined incompatibly by PHP's code
From: ler at lerctr dot org Operating system: UnixWare PHP version: 4.3.10 PHP Bug Type: Compile Failure Bug description: set_h_errno() is redefined incompatibly by PHP's code 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 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 bug report at http://bugs.php.net/?id=31936&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31936&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31936&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31936&r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=31936&r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=31936&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31936&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31936&r=needscript Try newer version: http://bugs.php.net/fix.php?id=31936&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31936&r=support Expected behavior: http://bugs.php.net/fix.php?id=31936&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31936&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31936&r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=31936&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31936&r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=31936&r=dst IIS Stability: http://bugs.php.net/fix.php?id=31936&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31936&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31936&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=31936&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=31936&r=mysqlcfg
#28652 [Fbk->Opn]: sockets code doesn't compile
ID: 28652 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 7.1.4 PHP Version: 4.3.7 Assigned To: pollita New Comment: I emailed the script(1) and configure output to pollita at php dot net. Previous Comments: [2004-06-11 21:21:50] [EMAIL PROTECTED] I'm unable to replicate the error on your system. I even used the ./configure line from your home directory (minus a couple of extension [gd/imap] which the libraries couldn't be found for) and the compile was successful with or without sockets enabled. Can you provide more detail on how you're ./configuring and compiling it? [2004-06-07 11:26:20] ler at lerctr dot org login info sent to pollita at php.net. Let me know if I can help more. LER [2004-06-07 06:41:02] [EMAIL PROTECTED] 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) [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
#28652 [Fbk->Opn]: sockets code doesn't compile
ID: 28652 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 7.1.4 PHP Version: 4.3.7 Assigned To: pollita New Comment: login info sent to pollita at php.net. Let me know if I can help more. LER Previous Comments: [2004-06-07 06:41:02] [EMAIL PROTECTED] 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) [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
#28652 [NEW]: sockets code doesn't compile
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
#28651 [NEW]: imap routines not found on CLI link
From: ler at lerctr dot org Operating system: UnixWare 7.1.4 PHP version: 4.3.7 PHP Bug Type: Compile Failure Bug description: imap routines not found on CLI link Description: When trying to compile in the IMAP support, the CLI link dies with: /bin/sh /home/ler/SOURCE/php/php-4.3.7/libtool --silent --preserve-dup-deps --mode=link cc -Xb -export-dynamic -O -Kpthread -L/usr/ucblib -L/etc/ssl/lib -L/usr/local/lib -L/home/ler/SOURCE/imap/imap-2004/c-client -L/home/ler/SOURCE/imap/imap-2004/lib -L/usr/local/mysql/lib -L/usr/local/pgsql/lib -R /usr/ucblib -R /etc/ssl/lib -R /usr/local/lib -R /home/ler/SOURCE/imap/imap-2004/c-client -R /home/ler/SOURCE/imap/imap-2004/lib -R /usr/local/mysql/lib -R /usr/local/pgsql/lib ext/openssl/openssl.lo ext/zlib/zlib.lo ext/zlib/zlib_fopen_wrapper.lo ext/bcmath/bcmath.lo ext/bcmath/libbcmath/src/add.lo ext/bcmath/libbcmath/src/div.lo ext/bcmath/libbcmath/src/init.lo ext/bcmath/libbcmath/src/neg.lo ext/bcmath/libbcmath/src/outofmem.lo ext/bcmath/libbcmath/src/raisemod.lo ext/bcmath/libbcmath/src/rt.lo ext/bcmath/libbcmath/src/sub.lo ext/bcmath/libbcmath/src/compare.lo ext/bcmath/libbcmath/src/divmod.lo ext/bcmath/libbcmath/src/int2num.lo ext/bcmath/libbcmath/src/num2long.lo ext/bcmath/libbcmath/src/output.lo ext/bcmath/libbcmath/src/recmul.lo ext/bcmath/libbcmath/src/sqrt.lo ext/bcmath/libbcmath/src/zero.lo ext/bcmath/libbcmath/src/debug.lo ext/bcmath/libbcmath/src/doaddsub.lo ext/bcmath/libbcmath/src/nearzero.lo ext/bcmath/libbcmath/src/num2str.lo ext/bcmath/libbcmath/src/raise.lo ext/bcmath/libbcmath/src/rmzero.lo ext/bcmath/libbcmath/src/str2num.lo ext/calendar/calendar.lo ext/calendar/dow.lo ext/calendar/french.lo ext/calendar/gregor.lo ext/calendar/jewish.lo ext/calendar/julian.lo ext/calendar/easter.lo ext/calendar/cal_unix.lo ext/ctype/ctype.lo ext/curl/curl.lo ext/curl/curlstreams.lo ext/domxml/php_domxml.lo ext/ftp/php_ftp.lo ext/ftp/ftp.lo ext/gd/gd.lo ext/gd/gdttf.lo ext/gd/libgd/gd.lo ext/gd/libgd/gd_gd.lo ext/gd/libgd/gd_gd2.lo ext/gd/libgd/gd_io.lo ext/gd/libgd/gd_io_dp.lo ext/gd/libgd/gd_io_file.lo ext/gd/libgd/gd_ss.lo ext/gd/libgd/gd_io_ss.lo ext/gd/libgd/gd_png.lo ext/gd/libgd/gd_jpeg.lo ext/gd/libgd/gdxpm.lo ext/gd/libgd/gdfontt.lo ext/gd/libgd/gdfonts.lo ext/gd/libgd/gdfontmb.lo ext/gd/libgd/gdfontl.lo ext/gd/libgd/gdfontg.lo ext/gd/libgd/gdtables.lo ext/gd/libgd/gdft.lo ext/gd/libgd/gdcache.lo ext/gd/libgd/gdkanji.lo ext/gd/libgd/wbmp.lo ext/gd/libgd/gd_wbmp.lo ext/gd/libgd/gdhelpers.lo ext/gd/libgd/gd_topal.lo ext/gd/libgd/gd_gif_in.lo ext/gd/libgd/xbm.lo ext/imap/php_imap.lo ext/mysql/php_mysql.lo ext/overload/overload.lo ext/pcre/pcrelib/maketables.lo ext/pcre/pcrelib/get.lo ext/pcre/pcrelib/study.lo ext/pcre/pcrelib/pcre.lo ext/pcre/php_pcre.lo ext/pgsql/pgsql.lo ext/posix/posix.lo ext/session/session.lo ext/session/mod_files.lo ext/session/mod_mm.lo ext/session/mod_user.lo ext/shmop/shmop.lo regex/regcomp.lo regex/regexec.lo regex/regerror.lo regex/regfree.lo ext/standard/array.lo ext/standard/base64.lo ext/standard/basic_functions.lo ext/standard/browscap.lo ext/standard/crc32.lo ext/standard/crypt.lo ext/standard/cyr_convert.lo ext/standard/datetime.lo ext/standard/dir.lo ext/standard/dl.lo ext/standard/dns.lo ext/standard/exec.lo ext/standard/file.lo ext/standard/filestat.lo ext/standard/flock_compat.lo ext/standard/formatted_print.lo ext/standard/fsock.lo ext/standard/head.lo ext/standard/html.lo ext/standard/image.lo ext/standard/info.lo ext/standard/iptc.lo ext/standard/lcg.lo ext/standard/link.lo ext/standard/mail.lo ext/standard/math.lo ext/standard/md5.lo ext/standard/metaphone.lo ext/standard/microtime.lo ext/standard/pack.lo ext/standard/pageinfo.lo ext/standard/parsedate.lo ext/standard/quot_print.lo ext/standard/rand.lo ext/standard/reg.lo ext/standard/soundex.lo ext/standard/string.lo ext/standard/scanf.lo ext/standard/syslog.lo ext/standard/type.lo ext/standard/uniqid.lo ext/standard/url.lo ext/standard/url_scanner.lo ext/standard/var.lo ext/standard/versioning.lo ext/standard/assert.lo ext/standard/strnatcmp.lo ext/standard/levenshtein.lo ext/standard/incomplete_class.lo ext/standard/url_scanner_ex.lo ext/standard/ftp_fopen_wrapper.lo ext/standard/http_fopen_wrapper.lo ext/standard/php_fopen_wrapper.lo ext/standard/credits.lo ext/standard/css.lo ext/standard/var_unserializer.lo ext/standard/ftok.lo ext/standard/aggregation.lo ext/standard/sha1.lo ext/sysvmsg/sysvmsg.lo ext/sysvsem/sysvsem.lo ext/sysvshm/sysvshm.lo ext/tokenizer/tokenizer.lo ext/xml/xml.lo ext/xml/expat/xmlparse.lo ext/xml/expat/xmlrole.lo ext/xml/expat/xmltok.lo TSRM/TSRM.lo TSRM/tsrm_strtok_r.lo TSRM/tsrm_virtual_cwd.lo main/main.lo main/snprintf.lo main/spprintf.lo main/php_sprintf.lo main/safe_mode.lo main/fopen_wrappers.lo main/alloca.lo main/php_scandir.lo main/php_ini.lo main/SAPI.lo main/rfc1867.lo main/php_content_types.lo main/strlcpy.lo main/strlcat.lo main/mergesort.lo main/reentrancy.lo main/php_variables.lo main