#25211 [Opn->Fbk]: 'with-zlib' or 'with-bz2' causes redeclaration of php_image_type_to_mime_type
| From: | sniper@php.net | Date: | Mon, 08 Sep 2003 22:57:44 +0000 |
| Subject: | #25211 [Opn->Fbk]: 'with-zlib' or 'with-bz2' causes redeclaration of php_image_type_to_mime_type | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-47286@lists.php.net to get a copy of this message | ||
ID: 25211
Updated by: sniper@php.net
Reported By: php at hottub dot ca
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: AIX 5.1 ML4
PHP Version: 4.3.3
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2003-08-25 20:44:47] php at hottub dot ca
Haven't used GCC - previous versions were wildly
unstable on AIX, and only rarely produced usable
binaries. If someone can give me clear indication that
this has changed, I'd consider using it again.
------------------------------------------------------------------------
[2003-08-25 19:03:27] sniper@php.net
Does it work if you use GCC?
------------------------------------------------------------------------
[2003-08-25 12:56:58] php at hottub dot ca
Recompiled with the release version, and this issue has
not been corrected.
------------------------------------------------------------------------
[2003-08-23 09:54:54] php at hottub dot ca
When I added the remainder of the configure options,
the error occured again, despite the fact that the
definitions are the same in both places. Apparently
the AIX compiler throws 'unsigned' in front of 'char'
in header files.
When I edited both php_image.h and image.c to match
each other (simply 'char'), I got a successful compile.
Tests have been submitted to the QA site.
On a previous compile attempt, setting both definitions
to 'const char' resulted in the same error again. I
will attempt to determine if this is a compiler issue
for which there is a fix.
------------------------------------------------------------------------
[2003-08-22 22:46:13] php at hottub dot ca
Removing 'const' from line 60 of ext/standard/
php_image.c allowed a clean compile -- make test will
be submitted to list after additional configure flags
have been added.
------------------------------------------------------------------------
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/25211
--
Edit this bug report at http://bugs.php.net/?id=25211&edit=1