#43439 [NEW]: PHP Cookie expiration (2)
From: bnies at bluewin dot ch Operating system: Solaris 9 PHP version: 5.2.5 PHP Bug Type: Session related Bug description: PHP Cookie expiration (2) Description: Concerning Bug #43226 because it was set to 'bogus' and additional comments are not allowed. First: I did not ask for support. The issue I submitted is concerning the HTTP headers that the PHP function session_unregister() sends to the browser. My suggestion was to send Cookie Expires and Cookie Max-Age together when unregistering a PHP session to make sure that even with broken proxy or browser implementations the session gets terminated. This problem came across a broken proxy implementation that only treated the Max-Age option and ignored the Expires option and then sent the session cookie with the value 'deleted' back to the PHP application which then treated it as a valid session. See: https://sourceforge.net/tracker/index.php?func=detailaid=1829098group_id=311atid=100311 I don't mess with computer's time but some internet users might do this and change the date to use expired software licenses. I don't know if the PHP application or PHP itself sets the cookie expires date to one year in the past. Maybe setting it to 1 January 1980 00:00 GMT is the safest way. Bye, Bernd -- Edit bug report at http://bugs.php.net/?id=43439edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43439r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43439r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43439r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43439r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=43439r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=43439r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=43439r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=43439r=needscript Try newer version:http://bugs.php.net/fix.php?id=43439r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=43439r=support Expected behavior:http://bugs.php.net/fix.php?id=43439r=notwrong Not enough info: http://bugs.php.net/fix.php?id=43439r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=43439r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=43439r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43439r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=43439r=dst IIS Stability:http://bugs.php.net/fix.php?id=43439r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=43439r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=43439r=float No Zend Extensions: http://bugs.php.net/fix.php?id=43439r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=43439r=mysqlcfg
#43226 [NEW]: PHP Cookie expiration
From: bnies at bluewin dot ch Operating system: Solaris 9 PHP version: 5.2.4 PHP Bug Type: Session related Bug description: PHP Cookie expiration Description: I'm not sure if it has fixed in PHP 5.2.4 but the problem is there in PHP 5.2.2. If PHP terminates a session with session_unregister(); it sends these HTTP headers to the browser: Set-Cookie: SQMSESSID=deleted; expires=Thu, 09-Nov-2006 13:34:48 GMT; path=/ The 'expires' option is an old option proposed by Netscape. See RFC 2109. We stumbled across a session problem with a proxy software that ignores this 'expires' option and implemented only the new 'Max-Age=0' option. The expires=olddate is also bad, because one can never know what the time on the remote side is. What if it the remote system clock more than one year behind? Could it be a fix to send both cookie expire options to make sure a cookie gets really deleted: Set-Cookie: SQMSESSID=deleted; expires=Thu, 09-Nov-2006 13:34:48 GMT; path=/ Set-Cookie: SQMSESSID=deleted; Max-Age=0; path=/ The problem appeared with the proxy software that ignored cookie deletion and then sent the session cookie with value deleted to the application which then treatened the session ID deleted as valid session. See here for more details: https://sourceforge.net/tracker/index.php?func=detailaid=1829025group_id=311atid=100311 Best Regards, Bernd Nies -- Edit bug report at http://bugs.php.net/?id=43226edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43226r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43226r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43226r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43226r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=43226r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=43226r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=43226r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=43226r=needscript Try newer version:http://bugs.php.net/fix.php?id=43226r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=43226r=support Expected behavior:http://bugs.php.net/fix.php?id=43226r=notwrong Not enough info: http://bugs.php.net/fix.php?id=43226r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=43226r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=43226r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43226r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=43226r=dst IIS Stability:http://bugs.php.net/fix.php?id=43226r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=43226r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=43226r=float No Zend Extensions: http://bugs.php.net/fix.php?id=43226r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=43226r=mysqlcfg
#39045 [Bgs-Opn]: Compilation of libphp5.la fails (UW-IMAP libc-client.a related)
ID: 39045 User updated by: bnies at bluewin dot ch -Summary: Compilation of php_imap.c fails Reported By: bnies at bluewin dot ch -Status: Bogus +Status: Open Bug Type: Compile Failure Operating System: SunOS adnpool02 5.9 Generic_1122 -PHP Version: 5.1.6 +PHP Version: 5.2.0 New Comment: Compilation problem persists with PHP 5.2.0. I am doing nothing very exotic - just trying to compile PHP for Apache with IMAP support on Solaris with GNU compiler. ==CUT== /bin/sh /tmp/php-5.2.0/libtool --silent --preserve-dup-deps --mode=link gcc -I/usr/include -g -O2 -rpath /tmp/php-5.2.0/libs -avoid-version -module -L/usr/ucblib -L/share/app/gnu/gcc/3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1 -L/opt/adnwebmail/lib -R/opt/adnwebmail/lib -L/opt/adnwebmail/lib -R/opt/adnwebmail/lib/sparcv9 -L/opt/adnwebmail/lib/sparcv9 -R /usr/ucblib -R /share/app/gnu/gcc/3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1 -R /opt/adnwebmail/lib ext/libxml/libxml.lo ext/pcre/pcrelib/pcre_chartables.lo ext/pcre/pcrelib/pcre_ucp_searchfuncs.lo ext/pcre/pcrelib/pcre_compile.lo ext/pcre/pcrelib/pcre_config.lo ext/pcre/pcrelib/pcre_exec.lo ext/pcre/pcrelib/pcre_fullinfo.lo ext/pcre/pcrelib/pcre_get.lo ext/pcre/pcrelib/pcre_globals.lo ext/pcre/pcrelib/pcre_info.lo ext/pcre/pcrelib/pcre_maketables.lo ext/pcre/pcrelib/pcre_ord2utf8.lo ext/pcre/pcrelib/pcre_refcount.lo ext/pcre/pcrelib/pcre_study.lo ext/pcre/pcrelib/pcre_tables.lo ext/pcre/pcrelib/pcre_try_flipped.lo ext/pcre/pcrelib/pcre_valid_utf8.lo ext/pcre/pcrelib/pcre_version.lo ext/pcre/pcrelib/pcre_xclass.lo ext/pcre/php_pcre.lo ext/ctype/ctype.lo ext/date/php_date.lo ext/date/lib/astro.lo ext/date/lib/dow.lo ext/date/lib/parse_date.lo ext/date/lib/parse_tz.lo ext/date/lib/timelib.lo ext/date/lib/tm2unixtime.lo ext/date/lib/unixtime2tm.lo ext/dom/php_dom.lo ext/dom/attr.lo ext/dom/document.lo ext/dom/domerrorhandler.lo ext/dom/domstringlist.lo ext/dom/domexception.lo ext/dom/namelist.lo ext/dom/processinginstruction.lo ext/dom/cdatasection.lo ext/dom/documentfragment.lo ext/dom/domimplementation.lo ext/dom/element.lo ext/dom/node.lo ext/dom/string_extend.lo ext/dom/characterdata.lo ext/dom/documenttype.lo ext/dom/domimplementationlist.lo ext/dom/entity.lo ext/dom/nodelist.lo ext/dom/text.lo ext/dom/comment.lo ext/dom/domconfiguration.lo ext/dom/domimplementationsource.lo ext/dom/entityreference.lo ext/dom/notation.lo ext/dom/xpath.lo ext/dom/dom_iterators.lo ext/dom/typeinfo.lo ext/dom/domerror.lo ext/dom/domlocator.lo ext/dom/namednodemap.lo ext/dom/userdatahandler.lo ext/filter/filter.lo ext/filter/sanitizing_filters.lo ext/filter/logical_filters.lo ext/filter/callback_filter.lo ext/hash/hash.lo ext/hash/hash_md.lo ext/hash/hash_sha.lo ext/hash/hash_ripemd.lo ext/hash/hash_haval.lo ext/hash/hash_tiger.lo ext/hash/hash_gost.lo ext/hash/hash_snefru.lo ext/hash/hash_whirlpool.lo ext/hash/hash_adler32.lo ext/hash/hash_crc32.lo ext/iconv/iconv.lo ext/imap/php_imap.lo ext/json/json.lo ext/json/utf8_to_utf16.lo ext/json/utf8_decode.lo ext/json/JSON_parser.lo ext/ldap/ldap.lo ext/pdo/pdo.lo ext/pdo/pdo_dbh.lo ext/pdo/pdo_stmt.lo ext/pdo/pdo_sql_parser.lo ext/pdo/pdo_sqlstate.lo ext/pdo_sqlite/pdo_sqlite.lo ext/pdo_sqlite/sqlite_driver.lo ext/pdo_sqlite/sqlite_statement.lo ext/pdo_sqlite/sqlite/src/attach.lo ext/pdo_sqlite/sqlite/src/auth.lo ext/pdo_sqlite/sqlite/src/btree.lo ext/pdo_sqlite/sqlite/src/build.lo ext/pdo_sqlite/sqlite/src/callback.lo ext/pdo_sqlite/sqlite/src/date.lo ext/pdo_sqlite/sqlite/src/delete.lo ext/pdo_sqlite/sqlite/src/expr.lo ext/pdo_sqlite/sqlite/src/func.lo ext/pdo_sqlite/sqlite/src/hash.lo ext/pdo_sqlite/sqlite/src/insert.lo ext/pdo_sqlite/sqlite/src/legacy.lo ext/pdo_sqlite/sqlite/src/main.lo ext/pdo_sqlite/sqlite/src/os_unix.lo ext/pdo_sqlite/sqlite/src/os_win.lo ext/pdo_sqlite/sqlite/src/os.lo ext/pdo_sqlite/sqlite/src/pager.lo ext/pdo_sqlite/sqlite/src/pragma.lo ext/pdo_sqlite/sqlite/src/prepare.lo ext/pdo_sqlite/sqlite/src/printf.lo ext/pdo_sqlite/sqlite/src/random.lo ext/pdo_sqlite/sqlite/src/select.lo ext/pdo_sqlite/sqlite/src/table.lo ext/pdo_sqlite/sqlite/src/tokenize.lo ext/pdo_sqlite/sqlite/src/analyze.lo ext/pdo_sqlite/sqlite/src/complete.lo ext/pdo_sqlite/sqlite/src/trigger.lo ext/pdo_sqlite/sqlite/src/update.lo ext/pdo_sqlite/sqlite/src/utf.lo ext/pdo_sqlite/sqlite/src/util.lo ext/pdo_sqlite/sqlite/src/vacuum.lo ext/pdo_sqlite/sqlite/src/vdbeapi.lo ext/pdo_sqlite/sqlite/src/vdbeaux.lo ext/pdo_sqlite/sqlite/src/vdbe.lo ext/pdo_sqlite/sqlite/src/vdbemem.lo ext/pdo_sqlite/sqlite/src/where.lo ext/pdo_sqlite/sqlite/src/parse.lo ext/pdo_sqlite/sqlite/src/opcodes.lo ext/pdo_sqlite/sqlite/src/alter.lo ext/pdo_sqlite/sqlite/src/vdbefifo.lo ext/pdo_sqlite/sqlite/src/vtab.lo ext/pdo_sqlite/sqlite/src/loadext.lo ext/posix/posix.lo ext/reflection/php_reflection.lo ext/session/session.lo ext/session/mod_files.lo ext/session/mod_mm.lo ext/session/mod_user.lo ext/simplexml/simplexml.lo ext/spl/php_spl.lo ext
#39045 [Fbk-Opn]: Compilation of libphp5.la fails (UW-IMAP libc-client.a related)
ID: 39045 User updated by: bnies at bluewin dot ch Reported By: bnies at bluewin dot ch -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: SunOS adnpool02 5.9 Generic_1122 PHP Version: 5.2.0 New Comment: Because I compiled it according http://ch2.php.net/manual/en/ref.imap.php and the UW-IMAP stuff compiles fine and the symbols are not found due to an improper makefile command. See posting from [17 Oct 10:56am UTC]. When I compile it with -static -lc-client -dynamic then libphp5.la is compiled fine. The makefile is generated by the configure script of your package. Regards, Bernd Previous Comments: [2006-11-16 14:41:51] [EMAIL PROTECTED] Why do you think that missing symbols in /opt/adnwebmail/lib/libc-client.a is some PHP problem? [2006-11-16 14:34:10] bnies at bluewin dot ch Compilation problem persists with PHP 5.2.0. I am doing nothing very exotic - just trying to compile PHP for Apache with IMAP support on Solaris with GNU compiler. ==CUT== /bin/sh /tmp/php-5.2.0/libtool --silent --preserve-dup-deps --mode=link gcc -I/usr/include -g -O2 -rpath /tmp/php-5.2.0/libs -avoid-version -module -L/usr/ucblib -L/share/app/gnu/gcc/3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1 -L/opt/adnwebmail/lib -R/opt/adnwebmail/lib -L/opt/adnwebmail/lib -R/opt/adnwebmail/lib/sparcv9 -L/opt/adnwebmail/lib/sparcv9 -R /usr/ucblib -R /share/app/gnu/gcc/3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1 -R /opt/adnwebmail/lib ext/libxml/libxml.lo ext/pcre/pcrelib/pcre_chartables.lo ext/pcre/pcrelib/pcre_ucp_searchfuncs.lo ext/pcre/pcrelib/pcre_compile.lo ext/pcre/pcrelib/pcre_config.lo ext/pcre/pcrelib/pcre_exec.lo ext/pcre/pcrelib/pcre_fullinfo.lo ext/pcre/pcrelib/pcre_get.lo ext/pcre/pcrelib/pcre_globals.lo ext/pcre/pcrelib/pcre_info.lo ext/pcre/pcrelib/pcre_maketables.lo ext/pcre/pcrelib/pcre_ord2utf8.lo ext/pcre/pcrelib/pcre_refcount.lo ext/pcre/pcrelib/pcre_study.lo ext/pcre/pcrelib/pcre_tables.lo ext/pcre/pcrelib/pcre_try_flipped.lo ext/pcre/pcrelib/pcre_valid_utf8.lo ext/pcre/pcrelib/pcre_version.lo ext/pcre/pcrelib/pcre_xclass.lo ext/pcre/php_pcre.lo ext/ctype/ctype.lo ext/date/php_date.lo ext/date/lib/astro.lo ext/date/lib/dow.lo ext/date/lib/parse_date.lo ext/date/lib/parse_tz.lo ext/date/lib/timelib.lo ext/date/lib/tm2unixtime.lo ext/date/lib/unixtime2tm.lo ext/dom/php_dom.lo ext/dom/attr.lo ext/dom/document.lo ext/dom/domerrorhandler.lo ext/dom/domstringlist.lo ext/dom/domexception.lo ext/dom/namelist.lo ext/dom/processinginstruction.lo ext/dom/cdatasection.lo ext/dom/documentfragment.lo ext/dom/domimplementation.lo ext/dom/element.lo ext/dom/node.lo ext/dom/string_extend.lo ext/dom/characterdata.lo ext/dom/documenttype.lo ext/dom/domimplementationlist.lo ext/dom/entity.lo ext/dom/nodelist.lo ext/dom/text.lo ext/dom/comment.lo ext/dom/domconfiguration.lo ext/dom/domimplementationsource.lo ext/dom/entityreference.lo ext/dom/notation.lo ext/dom/xpath.lo ext/dom/dom_iterators.lo ext/dom/typeinfo.lo ext/dom/domerror.lo ext/dom/domlocator.lo ext/dom/namednodemap.lo ext/dom/userdatahandler.lo ext/filter/filter.lo ext/filter/sanitizing_filters.lo ext/filter/logical_filters.lo ext/filter/callback_filter.lo ext/hash/hash.lo ext/hash/hash_md.lo ext/hash/hash_sha.lo ext/hash/hash_ripemd.lo ext/hash/hash_haval.lo ext/hash/hash_tiger.lo ext/hash/hash_gost.lo ext/hash/hash_snefru.lo ext/hash/hash_whirlpool.lo ext/hash/hash_adler32.lo ext/hash/hash_crc32.lo ext/iconv/iconv.lo ext/imap/php_imap.lo ext/json/json.lo ext/json/utf8_to_utf16.lo ext/json/utf8_decode.lo ext/json/JSON_parser.lo ext/ldap/ldap.lo ext/pdo/pdo.lo ext/pdo/pdo_dbh.lo ext/pdo/pdo_stmt.lo ext/pdo/pdo_sql_parser.lo ext/pdo/pdo_sqlstate.lo ext/pdo_sqlite/pdo_sqlite.lo ext/pdo_sqlite/sqlite_driver.lo ext/pdo_sqlite/sqlite_statement.lo ext/pdo_sqlite/sqlite/src/attach.lo ext/pdo_sqlite/sqlite/src/auth.lo ext/pdo_sqlite/sqlite/src/btree.lo ext/pdo_sqlite/sqlite/src/build.lo ext/pdo_sqlite/sqlite/src/callback.lo ext/pdo_sqlite/sqlite/src/date.lo ext/pdo_sqlite/sqlite/src/delete.lo ext/pdo_sqlite/sqlite/src/expr.lo ext/pdo_sqlite/sqlite/src/func.lo ext/pdo_sqlite/sqlite/src/hash.lo ext/pdo_sqlite/sqlite/src/insert.lo ext/pdo_sqlite/sqlite/src/legacy.lo ext/pdo_sqlite/sqlite/src/main.lo ext/pdo_sqlite/sqlite/src/os_unix.lo ext/pdo_sqlite/sqlite/src/os_win.lo ext/pdo_sqlite/sqlite/src/os.lo ext/pdo_sqlite/sqlite/src/pager.lo ext/pdo_sqlite/sqlite/src/pragma.lo ext/pdo_sqlite/sqlite/src/prepare.lo ext/pdo_sqlite/sqlite/src/printf.lo ext/pdo_sqlite/sqlite/src/random.lo ext/pdo_sqlite/sqlite/src/select.lo ext/pdo_sqlite/sqlite/src/table.lo ext/pdo_sqlite/sqlite/src/tokenize.lo ext/pdo_sqlite/sqlite/src/analyze.lo ext/pdo_sqlite/sqlite/src/complete.lo ext/pdo_sqlite/sqlite/src/trigger.lo ext/pdo_sqlite/sqlite/src/update.lo ext/pdo_sqlite/sqlite/src
#39045 [Bgs]: Compilation of php_imap.c fails
ID: 39045 User updated by: bnies at bluewin dot ch Reported By: bnies at bluewin dot ch Status: Bogus Bug Type: Compile Failure Operating System: SunOS adnpool02 5.9 Generic_1122 PHP Version: 5.1.6 New Comment: Answer from Rene Berber at imap-uw@u.washington.edu list: ==CUT== Not much help from those guys at php's bugzilla... The interesting part is the actual compile command which you included in your bug report, it is wrong but not your fault. The compilation is wrong because you are using dynamic and at least one static library, c-client, so unless things have changed lately with gcc and they made it much smarter the link should specify explicitly the static library. This is done in one of two ways, you can link the whole library by including just its name (whithout the -lname) or you surround the link command (-static -lc-client -dynamic). I haven't tested this but the only easy way seems to do the linking part by hand (store the output of the build process with 'gmake | tee make.log', then copy that long command and execute it in the directory it is being executed with one of the changes). BTW I'm not an imap developer and I don't speak for them; this is a user's list. I hope my comments are useful. -- René Berber ==CUT== Previous Comments: [2006-10-16 13:04:50] [EMAIL PROTECTED] Please report this problem to c-client developers. Thank you. [2006-10-16 11:57:44] bnies at bluewin dot ch Tried snapshot php5.2-200610161030. Compilation goes one step further but fails when linking against libc-client.a: ==CUT== /bin/sh /tmp/php5.2-200610161030/libtool --silent --preserve-dup-deps --mode=link gcc -I/usr/include -g -O2 -rpath /tmp/php5.2-200610161030/libs -avoid-version -module -L/usr/ucblib -L/share/app/gnu/gcc/3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1 -L/opt/adnwebmail/lib -R/opt/adnwebmail/lib -L/opt/adnwebmail/lib -R/opt/adnwebmail/lib/sparcv9 -L/opt/adnwebmail/lib/sparcv9 -R /usr/ucblib -R /share/app/gnu/gcc/3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1 -R /opt/adnwebmail/lib ext/libxml/libxml.lo ext/pcre/pcrelib/pcre_chartables.lo ext/pcre/pcrelib/pcre_ucp_searchfuncs.lo ext/pcre/pcrelib/pcre_compile.lo ext/pcre/pcrelib/pcre_config.lo ext/pcre/pcrelib/pcre_exec.lo ext/pcre/pcrelib/pcre_fullinfo.lo ext/pcre/pcrelib/pcre_get.lo ext/pcre/pcrelib/pcre_globals.lo ext/pcre/pcrelib/pcre_info.lo ext/pcre/pcrelib/pcre_maketables.lo ext/pcre/pcrelib/pcre_ord2utf8.lo ext/pcre/pcrelib/pcre_refcount.lo ext/pcre/pcrelib/pcre_study.lo ext/pcre/pcrelib/pcre_tables.lo ext/pcre/pcrelib/pcre_try_flipped.lo ext/pcre/pcrelib/pcre_valid_utf8.lo ext/pcre/pcrelib/pcre_version.lo ext/pcre/pcrelib/pcre_xclass.lo ext/pcre/php_pcre.lo ext/ctype/ctype.lo ext/date/php_date.lo ext/date/lib/astro.lo ext/date/lib/dow.lo ext/date/lib/parse_date.lo ext/date/lib/parse_tz.lo ext/date/lib/timelib.lo ext/date/lib/tm2unixtime.lo ext/date/lib/unixtime2tm.lo ext/dom/php_dom.lo ext/dom/attr.lo ext/dom/document.lo ext/dom/domerrorhandler.lo ext/dom/domstringlist.lo ext/dom/domexception.lo ext/dom/namelist.lo ext/dom/processinginstruction.lo ext/dom/cdatasection.lo ext/dom/documentfragment.lo ext/dom/domimplementation.lo ext/dom/element.lo ext/dom/node.lo ext/dom/string_extend.lo ext/dom/characterdata.lo ext/dom/documenttype.lo ext/dom/domimplementationlist.lo ext/dom/entity.lo ext/dom/nodelist.lo ext/dom/text.lo ext/dom/comment.lo ext/dom/domconfiguration.lo ext/dom/domimplementationsource.lo ext/dom/entityreference.lo ext/dom/notation.lo ext/dom/xpath.lo ext/dom/dom_iterators.lo ext/dom/typeinfo.lo ext/dom/domerror.lo ext/dom/domlocator.lo ext/dom/namednodemap.lo ext/dom/userdatahandler.lo ext/filter/filter.lo ext/filter/sanitizing_filters.lo ext/filter/logical_filters.lo ext/filter/callback_filter.lo ext/hash/hash.lo ext/hash/hash_md.lo ext/hash/hash_sha.lo ext/hash/hash_ripemd.lo ext/hash/hash_haval.lo ext/hash/hash_tiger.lo ext/hash/hash_gost.lo ext/hash/hash_snefru.lo ext/hash/hash_whirlpool.lo ext/hash/hash_adler32.lo ext/hash/hash_crc32.lo ext/iconv/iconv.lo ext/imap/php_imap.lo ext/json/json.lo ext/json/utf8_to_utf16.lo ext/json/utf8_decode.lo ext/json/JSON_parser.lo ext/ldap/ldap.lo ext/pdo/pdo.lo ext/pdo/pdo_dbh.lo ext/pdo/pdo_stmt.lo ext/pdo/pdo_sql_parser.lo ext/pdo/pdo_sqlstate.lo ext/pdo_sqlite/pdo_sqlite.lo ext/pdo_sqlite/sqlite_driver.lo ext/pdo_sqlite/sqlite_statement.lo ext/pdo_sqlite/sqlite/src/attach.lo ext/pdo_sqlite/sqlite/src/auth.lo ext/pdo_sqlite/sqlite/src/btree.lo ext/pdo_sqlite/sqlite/src/build.lo ext/pdo_sqlite/sqlite/src/callback.lo ext/pdo_sqlite/sqlite/src/date.lo ext/pdo_sqlite/sqlite/src/delete.lo ext/pdo_sqlite/sqlite/src/expr.lo ext/pdo_sqlite/sqlite/src/func.lo ext/pdo_sqlite/sqlite/src/hash.lo ext/pdo_sqlite/sqlite/src/insert.lo ext/pdo_sqlite/sqlite/src/legacy.lo ext/pdo_sqlite/sqlite/src/main.lo ext
#39045 [NoF-Opn]: Compilation of php_imap.c fails
ID: 39045 User updated by: bnies at bluewin dot ch Reported By: bnies at bluewin dot ch -Status: No Feedback +Status: Open Bug Type: Compile Failure Operating System: SunOS adnpool02 5.9 Generic_1122 PHP Version: 5.1.6 New Comment: Tried snapshot php5.2-200610161030. Compilation goes one step further but fails when linking against libc-client.a: ==CUT== /bin/sh /tmp/php5.2-200610161030/libtool --silent --preserve-dup-deps --mode=link gcc -I/usr/include -g -O2 -rpath /tmp/php5.2-200610161030/libs -avoid-version -module -L/usr/ucblib -L/share/app/gnu/gcc/3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1 -L/opt/adnwebmail/lib -R/opt/adnwebmail/lib -L/opt/adnwebmail/lib -R/opt/adnwebmail/lib/sparcv9 -L/opt/adnwebmail/lib/sparcv9 -R /usr/ucblib -R /share/app/gnu/gcc/3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1 -R /opt/adnwebmail/lib ext/libxml/libxml.lo ext/pcre/pcrelib/pcre_chartables.lo ext/pcre/pcrelib/pcre_ucp_searchfuncs.lo ext/pcre/pcrelib/pcre_compile.lo ext/pcre/pcrelib/pcre_config.lo ext/pcre/pcrelib/pcre_exec.lo ext/pcre/pcrelib/pcre_fullinfo.lo ext/pcre/pcrelib/pcre_get.lo ext/pcre/pcrelib/pcre_globals.lo ext/pcre/pcrelib/pcre_info.lo ext/pcre/pcrelib/pcre_maketables.lo ext/pcre/pcrelib/pcre_ord2utf8.lo ext/pcre/pcrelib/pcre_refcount.lo ext/pcre/pcrelib/pcre_study.lo ext/pcre/pcrelib/pcre_tables.lo ext/pcre/pcrelib/pcre_try_flipped.lo ext/pcre/pcrelib/pcre_valid_utf8.lo ext/pcre/pcrelib/pcre_version.lo ext/pcre/pcrelib/pcre_xclass.lo ext/pcre/php_pcre.lo ext/ctype/ctype.lo ext/date/php_date.lo ext/date/lib/astro.lo ext/date/lib/dow.lo ext/date/lib/parse_date.lo ext/date/lib/parse_tz.lo ext/date/lib/timelib.lo ext/date/lib/tm2unixtime.lo ext/date/lib/unixtime2tm.lo ext/dom/php_dom.lo ext/dom/attr.lo ext/dom/document.lo ext/dom/domerrorhandler.lo ext/dom/domstringlist.lo ext/dom/domexception.lo ext/dom/namelist.lo ext/dom/processinginstruction.lo ext/dom/cdatasection.lo ext/dom/documentfragment.lo ext/dom/domimplementation.lo ext/dom/element.lo ext/dom/node.lo ext/dom/string_extend.lo ext/dom/characterdata.lo ext/dom/documenttype.lo ext/dom/domimplementationlist.lo ext/dom/entity.lo ext/dom/nodelist.lo ext/dom/text.lo ext/dom/comment.lo ext/dom/domconfiguration.lo ext/dom/domimplementationsource.lo ext/dom/entityreference.lo ext/dom/notation.lo ext/dom/xpath.lo ext/dom/dom_iterators.lo ext/dom/typeinfo.lo ext/dom/domerror.lo ext/dom/domlocator.lo ext/dom/namednodemap.lo ext/dom/userdatahandler.lo ext/filter/filter.lo ext/filter/sanitizing_filters.lo ext/filter/logical_filters.lo ext/filter/callback_filter.lo ext/hash/hash.lo ext/hash/hash_md.lo ext/hash/hash_sha.lo ext/hash/hash_ripemd.lo ext/hash/hash_haval.lo ext/hash/hash_tiger.lo ext/hash/hash_gost.lo ext/hash/hash_snefru.lo ext/hash/hash_whirlpool.lo ext/hash/hash_adler32.lo ext/hash/hash_crc32.lo ext/iconv/iconv.lo ext/imap/php_imap.lo ext/json/json.lo ext/json/utf8_to_utf16.lo ext/json/utf8_decode.lo ext/json/JSON_parser.lo ext/ldap/ldap.lo ext/pdo/pdo.lo ext/pdo/pdo_dbh.lo ext/pdo/pdo_stmt.lo ext/pdo/pdo_sql_parser.lo ext/pdo/pdo_sqlstate.lo ext/pdo_sqlite/pdo_sqlite.lo ext/pdo_sqlite/sqlite_driver.lo ext/pdo_sqlite/sqlite_statement.lo ext/pdo_sqlite/sqlite/src/attach.lo ext/pdo_sqlite/sqlite/src/auth.lo ext/pdo_sqlite/sqlite/src/btree.lo ext/pdo_sqlite/sqlite/src/build.lo ext/pdo_sqlite/sqlite/src/callback.lo ext/pdo_sqlite/sqlite/src/date.lo ext/pdo_sqlite/sqlite/src/delete.lo ext/pdo_sqlite/sqlite/src/expr.lo ext/pdo_sqlite/sqlite/src/func.lo ext/pdo_sqlite/sqlite/src/hash.lo ext/pdo_sqlite/sqlite/src/insert.lo ext/pdo_sqlite/sqlite/src/legacy.lo ext/pdo_sqlite/sqlite/src/main.lo ext/pdo_sqlite/sqlite/src/os_unix.lo ext/pdo_sqlite/sqlite/src/os_win.lo ext/pdo_sqlite/sqlite/src/os.lo ext/pdo_sqlite/sqlite/src/pager.lo ext/pdo_sqlite/sqlite/src/pragma.lo ext/pdo_sqlite/sqlite/src/prepare.lo ext/pdo_sqlite/sqlite/src/printf.lo ext/pdo_sqlite/sqlite/src/random.lo ext/pdo_sqlite/sqlite/src/select.lo ext/pdo_sqlite/sqlite/src/table.lo ext/pdo_sqlite/sqlite/src/tokenize.lo ext/pdo_sqlite/sqlite/src/analyze.lo ext/pdo_sqlite/sqlite/src/complete.lo ext/pdo_sqlite/sqlite/src/trigger.lo ext/pdo_sqlite/sqlite/src/update.lo ext/pdo_sqlite/sqlite/src/utf.lo ext/pdo_sqlite/sqlite/src/util.lo ext/pdo_sqlite/sqlite/src/vacuum.lo ext/pdo_sqlite/sqlite/src/vdbeapi.lo ext/pdo_sqlite/sqlite/src/vdbeaux.lo ext/pdo_sqlite/sqlite/src/vdbe.lo ext/pdo_sqlite/sqlite/src/vdbemem.lo ext/pdo_sqlite/sqlite/src/where.lo ext/pdo_sqlite/sqlite/src/parse.lo ext/pdo_sqlite/sqlite/src/opcodes.lo ext/pdo_sqlite/sqlite/src/alter.lo ext/pdo_sqlite/sqlite/src/vdbefifo.lo ext/pdo_sqlite/sqlite/src/vtab.lo ext/pdo_sqlite/sqlite/src/loadext.lo ext/posix/posix.lo ext/reflection/php_reflection.lo ext/session/session.lo ext/session/mod_files.lo ext/session/mod_mm.lo ext/session/mod_user.lo ext/simplexml/simplexml.lo ext/spl/php_spl.lo ext/spl/spl_functions.lo ext/spl/spl_engine.lo ext/spl/spl_iterators.lo ext/spl/spl_array.lo ext/spl
#39045 [NEW]: Compilation of php_imap.c fails
From: bnies at bluewin dot ch Operating system: SunOS adnpool02 5.9 Generic_1122 PHP version: 5.1.6 PHP Bug Type: Compile Failure Bug description: Compilation of php_imap.c fails Description: Compilation fails at php_imap.ch due to too many assignment mismatch errors, mostly pointer to char and unsigned char. Operating System SunOS adnpool02 5.9 Generic_112233-12 sun4u sparc SUNW,Sun-Fire-V240 Compiler Sun Studio 11 Compiler, cc: Sun C 5.8 2005/10/13 Compilation Options --- PATH=/share/app/sun/studio/11/bin:/share/app/gnu/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/ccs/bin CC=cc CFLAGS=-O CXX=CC CXXFLAGS=-O2 CPPFLAGS=-I/opt/adnwebmail/include LDFLAGS=-R/opt/adnwebmail/lib -L/opt/adnwebmail/lib LD_OPTIONS=$LDFLAGS unset LD_LIBRARY_PATH export PATH CC CFLAGS CXX CXXFLAGS LDFLAGS CPPFLAGS LD_OPTIONS alias make=gmake mkdir /opt/adnwebmail mkdir /etc/opt/adnwebmail mkdir /var/opt/adnwebmail ### OPENSSL gtar -C /tmp -xvpzf openssl-0.9.8d.tar.gz cd /tmp/openssl-0.9.8d ./config --prefix=/opt/adnwebmail \ --openssldir=/opt/adnwebmail/openssl shared \ -R/opt/adnwebmail/lib -L/opt/adnwebmail/lib gmake gmake install cd - ### OPENLDAP gtar -C /tmp -xvpzf openldap-2.3.27.tgz cd /tmp/openldap-2.3.27 ./configure --prefix=/opt/adnwebmail \ --sysconfdir=/etc/opt/adnwebmail \ --disable-slapd --disable-slurpd \ --localstatedir=/var/opt/adnwebmail \ --with-tls gmake depend gmake gmake install cd - ### APACHE gtar -C /tmp -xvzf httpd-2.2.3.tar.gz cd /tmp/httpd-2.2.3 ./configure --prefix=/var/opt/adnwebmail \ --exec-prefix=/opt/adnwebmail \ --includedir=/opt/adnwebmail/include \ --infodir=/opt/adnwebmail/info \ --mandir=/opt/adnwebmail/man \ --sysconfdir=/etc/opt/adnwebmail \ --datadir=/var/opt/adnwebmail \ --enable-ssl --with-ssl=/opt/adnwebmail \ --enable-so gmake gmake install cd - ### UW-IMAP gtar -C /tmp -xvzf imap-2006a.tar.Z cd /tmp/imap-2006a gmake soc SSLDIR=/opt/adnwebmail cp c-client/*.h /opt/adnwebmail/include cp c-client/c-client.a /opt/adnwebmail/lib/libc-client.a cd - ### LIBXML gtar -C /tmp -xvzf libxml2-2.6.26.tar.gz cd /tmp/libxml2-2.6.26 ./configure --prefix=/opt/adnwebmail \ --datadir=/var/opt/adnwebmail \ --sysconfdir=/etc/opt/adnwebmail gmake gmake install cd - ### PHP gtar -C /tmp -xvzf php-5.1.6.tar.gz cd /tmp/php-5.1.6 ./configure --prefix=/opt/adnwebmail \ --with-apxs2=/opt/adnwebmail/bin/apxs \ --with-ldap=/opt/adnwebmail \ --with-imap=/opt/adnwebmail \ --with-imap-ssl=/opt/adnwebmail \ --with-ssl=/opt/adnwebmail \ --with-libxml-dir=/opt/adnwebmail \ --with-config-file-path=/etc/opt/adnwebmail \ --enable-safe-mode gmake Actual result: -- [EMAIL PROTECTED]:/tmp/php-5.1.6 gmake /bin/sh /tmp/php-5.1.6/libtool --silent --preserve-dup-deps --mode=compile cc -Iext/imap/ -I/tmp/php-5.1.6/ext/imap/ -DPHP_ATOM_INC -I/tmp/php-5.1.6/include -I/tmp/php-5.1.6/main -I/tmp/php-5.1.6 -I/opt/adnwebmail/include/libxml2 -I/tmp/php-5.1.6/ext/date/lib -I/opt/adnwebmail/include -I/tmp/php-5.1.6/TSRM -I/tmp/php-5.1.6/Zend -I/opt/adnwebmail/include -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -O -c /tmp/php-5.1.6/ext/imap/php_imap.c -o ext/imap/php_imap.lo /tmp/php-5.1.6/ext/imap/php_imap.c, line 78: identifier redeclared: utf8_mime2text current : function(pointer to struct mail_sizedtext {pointer to unsigned char data, unsigned long size}, pointer to struct mail_sizedtext {pointer to unsigned char data, unsigned long size}) returning long previous: function(pointer to struct mail_sizedtext {pointer to unsigned char data, unsigned long size}, pointer to struct mail_sizedtext {pointer to unsigned char data, unsigned long size}, long) returning long : /opt/adnwebmail/include/utf8.h, line 548 /tmp/php-5.1.6/ext/imap/php_imap.c, line 1002: warning: assignment type mismatch: pointer to unsigned char = pointer to char /tmp/php-5.1.6/ext/imap/php_imap.c, line 1358: warning: argument #2 is incompatible with prototype: prototype: pointer to char : /tmp/php-5.1.6/Zend/zend_API.h, line 322 argument : pointer to unsigned char /tmp/php-5.1.6/ext/imap/php_imap.c, line 1401: warning: argument #4 is incompatible with prototype: prototype: pointer to char : /tmp/php-5.1.6/Zend/zend_API.h, line 342 argument : pointer to unsigned char /tmp/php-5.1.6/ext/imap/php_imap.c, line 1446: warning: argument #2 is incompatible with prototype: prototype: pointer to char : /tmp/php-5.1.6/Zend/zend_API.h, line 322 argument : pointer to unsigned char /tmp/php-5.1.6/ext/imap/php_imap.c, line 1683: warning: argument #2 is incompatible with prototype: prototype: pointer to char : /tmp/php-5.1.6/Zend
#39045 [Bgs]: Compilation of php_imap.c fails
ID: 39045 User updated by: bnies at bluewin dot ch Reported By: bnies at bluewin dot ch Status: Bogus Bug Type: Compile Failure Operating System: SunOS adnpool02 5.9 Generic_1122 PHP Version: 5.1.6 New Comment: Whole stuff compiled with GCC 3.4.1 and GNU stuff: PATH=/share/app/gnu/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/ccs/bin CC=gcc CFLAGS=-O3 -fPIC -Wall CXX=g++ CXXFLAGS=-O3 -fPIC -Wall CPPFLAGS=-I/opt/adnwebmail/include LDFLAGS=-R/opt/adnwebmail/lib -L/opt/adnwebmail/lib -R/opt/adnwebmail/lib/sparcv9 -L/opt/adnwebmail/lib/sparcv9 LD_OPTIONS=$LDFLAGS [EMAIL PROTECTED]:/tmp/php-5.1.6 gmake /bin/sh /tmp/php-5.1.6/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/imap/ -I/tmp/php-5.1.6/ext/imap/ -DPHP_ATOM_INC -I/tmp/php-5.1.6/include -I/tmp/php-5.1.6/main -I/tmp/php-5.1.6 -I/opt/adnwebmail/include/libxml2 -I/tmp/php-5.1.6/ext/date/lib -I/opt/adnwebmail/include -I/tmp/php-5.1.6/TSRM -I/tmp/php-5.1.6/Zend -I/opt/adnwebmail/include -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -O -c /tmp/php-5.1.6/ext/imap/php_imap.c -o ext/imap/php_imap.lo /tmp/php-5.1.6/ext/imap/php_imap.c:78: error: conflicting types for 'utf8_mime2text' /opt/adnwebmail/include/utf8.h:548: error: previous declaration of 'utf8_mime2text' was here /tmp/php-5.1.6/ext/imap/php_imap.c:78: error: conflicting types for 'utf8_mime2text' /opt/adnwebmail/include/utf8.h:548: error: previous declaration of 'utf8_mime2text' was here gmake: *** [ext/imap/php_imap.lo] Error 1 Obviously the compiler ist not the problem, its the code with improper declarations and typecasts. Previous Comments: [2006-10-05 09:37:39] [EMAIL PROTECTED] Please use GNU utils (gcc, GNU ld, GNU binutils etc.). [2006-10-05 09:34:14] bnies at bluewin dot ch Description: Compilation fails at php_imap.ch due to too many assignment mismatch errors, mostly pointer to char and unsigned char. Operating System SunOS adnpool02 5.9 Generic_112233-12 sun4u sparc SUNW,Sun-Fire-V240 Compiler Sun Studio 11 Compiler, cc: Sun C 5.8 2005/10/13 Compilation Options --- PATH=/share/app/sun/studio/11/bin:/share/app/gnu/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/ccs/bin CC=cc CFLAGS=-O CXX=CC CXXFLAGS=-O2 CPPFLAGS=-I/opt/adnwebmail/include LDFLAGS=-R/opt/adnwebmail/lib -L/opt/adnwebmail/lib LD_OPTIONS=$LDFLAGS unset LD_LIBRARY_PATH export PATH CC CFLAGS CXX CXXFLAGS LDFLAGS CPPFLAGS LD_OPTIONS alias make=gmake mkdir /opt/adnwebmail mkdir /etc/opt/adnwebmail mkdir /var/opt/adnwebmail ### OPENSSL gtar -C /tmp -xvpzf openssl-0.9.8d.tar.gz cd /tmp/openssl-0.9.8d ./config --prefix=/opt/adnwebmail \ --openssldir=/opt/adnwebmail/openssl shared \ -R/opt/adnwebmail/lib -L/opt/adnwebmail/lib gmake gmake install cd - ### OPENLDAP gtar -C /tmp -xvpzf openldap-2.3.27.tgz cd /tmp/openldap-2.3.27 ./configure --prefix=/opt/adnwebmail \ --sysconfdir=/etc/opt/adnwebmail \ --disable-slapd --disable-slurpd \ --localstatedir=/var/opt/adnwebmail \ --with-tls gmake depend gmake gmake install cd - ### APACHE gtar -C /tmp -xvzf httpd-2.2.3.tar.gz cd /tmp/httpd-2.2.3 ./configure --prefix=/var/opt/adnwebmail \ --exec-prefix=/opt/adnwebmail \ --includedir=/opt/adnwebmail/include \ --infodir=/opt/adnwebmail/info \ --mandir=/opt/adnwebmail/man \ --sysconfdir=/etc/opt/adnwebmail \ --datadir=/var/opt/adnwebmail \ --enable-ssl --with-ssl=/opt/adnwebmail \ --enable-so gmake gmake install cd - ### UW-IMAP gtar -C /tmp -xvzf imap-2006a.tar.Z cd /tmp/imap-2006a gmake soc SSLDIR=/opt/adnwebmail cp c-client/*.h /opt/adnwebmail/include cp c-client/c-client.a /opt/adnwebmail/lib/libc-client.a cd - ### LIBXML gtar -C /tmp -xvzf libxml2-2.6.26.tar.gz cd /tmp/libxml2-2.6.26 ./configure --prefix=/opt/adnwebmail \ --datadir=/var/opt/adnwebmail \ --sysconfdir=/etc/opt/adnwebmail gmake gmake install cd - ### PHP gtar -C /tmp -xvzf php-5.1.6.tar.gz cd /tmp/php-5.1.6 ./configure --prefix=/opt/adnwebmail \ --with-apxs2=/opt/adnwebmail/bin/apxs \ --with-ldap=/opt/adnwebmail \ --with-imap=/opt/adnwebmail \ --with-imap-ssl=/opt/adnwebmail \ --with-ssl=/opt/adnwebmail \ --with-libxml-dir=/opt/adnwebmail \ --with-config-file-path=/etc/opt/adnwebmail \ --enable-safe-mode gmake Actual result: -- [EMAIL PROTECTED]:/tmp/php-5.1.6 gmake /bin/sh /tmp/php-5.1.6/libtool --silent --preserve-dup-deps --mode=compile cc -Iext/imap/ -I/tmp/php-5.1.6/ext/imap/ -DPHP_ATOM_INC -I/tmp/php-5.1.6/include -I/tmp/php-5.1.6/main -I/tmp/php-5.1.6 -I/opt/adnwebmail/include/libxml2 -I/tmp/php-5.1.6/ext
#39045 [Bgs]: Compilation of php_imap.c fails
ID: 39045 User updated by: bnies at bluewin dot ch Reported By: bnies at bluewin dot ch Status: Bogus Bug Type: Compile Failure Operating System: SunOS adnpool02 5.9 Generic_1122 PHP Version: 5.1.6 New Comment: Downloaded and tried php5.2-200610051230: gtar -C /tmp -xvzf php5.2-200610051230.tar.gz cd /tmp/php5.2-200610051230 ./configure --prefix=/opt/adnwebmail \ --with-apxs2=/opt/adnwebmail/bin/apxs \ --with-ldap=/opt/adnwebmail \ --with-imap=/opt/adnwebmail \ --with-imap-ssl=/opt/adnwebmail \ --with-ssl=/opt/adnwebmail \ --with-libxml-dir=/opt/adnwebmail \ --with-config-file-path=/etc/opt/adnwebmail \ --enable-safe-mode gmake [...] /bin/sh /tmp/php5.2-200610051230/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/imap/ -I/tmp/php5.2-200610051230/ext/imap/ -DPHP_ATOM_INC -I/tmp/php5.2-200610051230/include -I/tmp/php5.2-200610051230/main -I/tmp/php5.2-200610051230 -I/opt/adnwebmail/include/libxml2 -I/tmp/php5.2-200610051230/ext/date/lib -I/opt/adnwebmail/include -I/tmp/php5.2-200610051230/TSRM -I/tmp/php5.2-200610051230/Zend -I/opt/adnwebmail/include -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -O -c /tmp/php5.2-200610051230/ext/imap/php_imap.c -o ext/imap/php_imap.lo /tmp/php5.2-200610051230/ext/imap/php_imap.c: In function `zif_imap_utf8': /tmp/php5.2-200610051230/ext/imap/php_imap.c:2184: error: too few arguments to function `utf8_mime2text' gmake: *** [ext/imap/php_imap.lo] Error 1 Previous Comments: [2006-10-05 12:56:03] [EMAIL PROTECTED] This has been fixed in CVS... try the latest snapshot. [2006-10-05 12:49:17] bnies at bluewin dot ch Whole stuff compiled with GCC 3.4.1 and GNU stuff: PATH=/share/app/gnu/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/ccs/bin CC=gcc CFLAGS=-O3 -fPIC -Wall CXX=g++ CXXFLAGS=-O3 -fPIC -Wall CPPFLAGS=-I/opt/adnwebmail/include LDFLAGS=-R/opt/adnwebmail/lib -L/opt/adnwebmail/lib -R/opt/adnwebmail/lib/sparcv9 -L/opt/adnwebmail/lib/sparcv9 LD_OPTIONS=$LDFLAGS [EMAIL PROTECTED]:/tmp/php-5.1.6 gmake /bin/sh /tmp/php-5.1.6/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/imap/ -I/tmp/php-5.1.6/ext/imap/ -DPHP_ATOM_INC -I/tmp/php-5.1.6/include -I/tmp/php-5.1.6/main -I/tmp/php-5.1.6 -I/opt/adnwebmail/include/libxml2 -I/tmp/php-5.1.6/ext/date/lib -I/opt/adnwebmail/include -I/tmp/php-5.1.6/TSRM -I/tmp/php-5.1.6/Zend -I/opt/adnwebmail/include -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -O -c /tmp/php-5.1.6/ext/imap/php_imap.c -o ext/imap/php_imap.lo /tmp/php-5.1.6/ext/imap/php_imap.c:78: error: conflicting types for 'utf8_mime2text' /opt/adnwebmail/include/utf8.h:548: error: previous declaration of 'utf8_mime2text' was here /tmp/php-5.1.6/ext/imap/php_imap.c:78: error: conflicting types for 'utf8_mime2text' /opt/adnwebmail/include/utf8.h:548: error: previous declaration of 'utf8_mime2text' was here gmake: *** [ext/imap/php_imap.lo] Error 1 Obviously the compiler ist not the problem, its the code with improper declarations and typecasts. [2006-10-05 09:37:39] [EMAIL PROTECTED] Please use GNU utils (gcc, GNU ld, GNU binutils etc.). [2006-10-05 09:34:14] bnies at bluewin dot ch Description: Compilation fails at php_imap.ch due to too many assignment mismatch errors, mostly pointer to char and unsigned char. Operating System SunOS adnpool02 5.9 Generic_112233-12 sun4u sparc SUNW,Sun-Fire-V240 Compiler Sun Studio 11 Compiler, cc: Sun C 5.8 2005/10/13 Compilation Options --- PATH=/share/app/sun/studio/11/bin:/share/app/gnu/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/ccs/bin CC=cc CFLAGS=-O CXX=CC CXXFLAGS=-O2 CPPFLAGS=-I/opt/adnwebmail/include LDFLAGS=-R/opt/adnwebmail/lib -L/opt/adnwebmail/lib LD_OPTIONS=$LDFLAGS unset LD_LIBRARY_PATH export PATH CC CFLAGS CXX CXXFLAGS LDFLAGS CPPFLAGS LD_OPTIONS alias make=gmake mkdir /opt/adnwebmail mkdir /etc/opt/adnwebmail mkdir /var/opt/adnwebmail ### OPENSSL gtar -C /tmp -xvpzf openssl-0.9.8d.tar.gz cd /tmp/openssl-0.9.8d ./config --prefix=/opt/adnwebmail \ --openssldir=/opt/adnwebmail/openssl shared \ -R/opt/adnwebmail/lib -L/opt/adnwebmail/lib gmake gmake install cd - ### OPENLDAP gtar -C /tmp -xvpzf openldap-2.3.27.tgz cd /tmp/openldap-2.3.27 ./configure --prefix=/opt/adnwebmail \ --sysconfdir=/etc/opt/adnwebmail \ --disable-slapd --disable-slurpd \ --localstatedir=/var/opt/adnwebmail \ --with-tls gmake depend gmake gmake install cd - ### APACHE gtar -C /tmp -xvzf httpd-2.2.3.tar.gz cd /tmp/httpd-2.2.3 ./configure --prefix=/var/opt/adnwebmail