From: naox at o2 dot pl Operating system: linux centos 5 PHP version: 5.2.8 PHP Bug Type: IMAP related Bug description: cant compile 5.2.8 with imap c-client compiled manualy
Description: ------------ I use manualy compiled imap-2007d. I do this because there is a problem - c-client has small number FD_SETSIZE. If your apache httpd.conf opens a lot of log files than c-client crashes apache child if called from PHP. So I cant use standard c-client suplied with linux. Now when I try to compile PHP 5.2.8 with manualy complied c-client /root/naox/php-5.2.8.mod/ext/imap/php_imap.c: In function 'zm_startup_imap': /root/naox/php-5.2.8.mod/ext/imap/php_imap.c:477: error: 'auth_gss' undeclared (first use in this function) /root/naox/php-5.2.8.mod/ext/imap/php_imap.c:477: error: (Each undeclared identifier is reported only once /root/naox/php-5.2.8.mod/ext/imap/php_imap.c:477: error: for each function it appears in.) /root/naox/php-5.2.8.mod/ext/imap/php_imap.c: In function 'zif_imap_rfc822_parse_adrlist': /root/naox/php-5.2.8.mod/ext/imap/php_imap.c:2175: warning: passing argument 3 of 'rfc822_parse_adrlist' from incompatible pointer type make: *** [ext/imap/php_imap.lo] Error 1 Problem only occurs in PHP 5.2.8. In PHP 5.2.6 everything works fine. Also problem does not appear if I compile PHP 5.2.8 with standard c- client suplied with linux. If I copy ext/imap/php_imap.c from 5.2.6 into 5.2.8 I can compile php without problems There are some old bug reports about this problem resolved years ago with "fixed in cvs". So I suspect you reverted your php_imap.c in 5.2.8 to state where it was not fixec. -- Edit bug report at http://bugs.php.net/?id=46839&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46839&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46839&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46839&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46839&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46839&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=46839&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46839&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=46839&r=needscript Try newer version: http://bugs.php.net/fix.php?id=46839&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46839&r=support Expected behavior: http://bugs.php.net/fix.php?id=46839&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46839&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46839&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46839&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46839&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=46839&r=dst IIS Stability: http://bugs.php.net/fix.php?id=46839&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46839&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46839&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46839&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=46839&r=mysqlcfg