Bug #14271 Updated: Failure to compile using GD 2.0.1 because of conflicting types for gdIOCtx

2002-05-23 Thread jmcastagnetto

 ID:   14271
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   No Feedback
+Status:   Closed
 Bug Type: GD related
 Operating System: Solaris 8
 PHP Version:  4.1.0
 New Comment:

Compiled OK w/ PHP 4.2.0


Previous Comments:


[2002-05-21 00:00:05] [EMAIL PROTECTED]

No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to Open.



[2002-04-18 16:38:43] [EMAIL PROTECTED]

Does the PHP 4.2.0RC4 work any better? Do you have multiple
versions of GD library in your system? Are you sure there
aren't any stale header files from an old GD library?




[2001-11-28 14:06:30] [EMAIL PROTECTED]

When compiling w/ GD 2.0.1, I found a warning and a fatal error:



In file included from gd.c:36:

php_gd.h:69: warning: static declaration for `gdImageColorResolve'
follows non-static

gd.c:92: conflicting types for `gdIOCtx'

/asd/metallo1/server/libs/gd2/include/gd_io.h:19: previous declaration
of `gdIOCtx'

make[3]: *** [gd.lo] Error 1

make[3]: Leaving directory
`/asd/metallo1/sources/src_compile/php-4.1.0/ext/gd'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory
`/asd/metallo1/sources/src_compile/php-4.1.0/ext/gd'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory
`/asd/metallo1/sources/src_compile/php-4.1.0/ext'

make: *** [all-recursive] Error 1



Using gcc 3.0.2, gd 2.0.1, and the following configuration line:



./configure --prefix=/export/dredox1/devel_server/php \

--with-config-file-path=/export/dredox1/devel_server/php \

--enable-track-vars --enable-magic-quotes \

--enable-inline-optimization --enable-xml --enable-wddx \

--enable-ftp --enable-calendar --enable-bcmath --enable-trans-id\

--with-zlib \

--with-gd=/asd/metallo1/server/libs/gd2 \

--enable-gd-native-ttf \

--with-xmlrpc \

--with-mysql=/export/dredox1/devel_server/mysql \

--with-apxs=/export/dredox1/devel_server/apache/bin/apxs



A quick and dirty kludge is to comment out line 92 in ext/gd/gd.c,
which might break something else. Had not tested the compiled
libphp4.so thoroughly.






-- 
Edit this bug report at http://bugs.php.net/?id=14271edit=1




Bug #14271 Updated: Failure to compile using GD 2.0.1 because of conflicting types for gdIOCtx

2002-05-20 Thread php-bugs

 ID:   14271
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Feedback
+Status:   No Feedback
 Bug Type: GD related
 Operating System: Solaris 8
 PHP Version:  4.1.0
 New Comment:

No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to Open.


Previous Comments:


[2002-04-18 16:38:43] [EMAIL PROTECTED]

Does the PHP 4.2.0RC4 work any better? Do you have multiple
versions of GD library in your system? Are you sure there
aren't any stale header files from an old GD library?




[2001-11-28 14:06:30] [EMAIL PROTECTED]

When compiling w/ GD 2.0.1, I found a warning and a fatal error:



In file included from gd.c:36:

php_gd.h:69: warning: static declaration for `gdImageColorResolve'
follows non-static

gd.c:92: conflicting types for `gdIOCtx'

/asd/metallo1/server/libs/gd2/include/gd_io.h:19: previous declaration
of `gdIOCtx'

make[3]: *** [gd.lo] Error 1

make[3]: Leaving directory
`/asd/metallo1/sources/src_compile/php-4.1.0/ext/gd'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory
`/asd/metallo1/sources/src_compile/php-4.1.0/ext/gd'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory
`/asd/metallo1/sources/src_compile/php-4.1.0/ext'

make: *** [all-recursive] Error 1



Using gcc 3.0.2, gd 2.0.1, and the following configuration line:



./configure --prefix=/export/dredox1/devel_server/php \

--with-config-file-path=/export/dredox1/devel_server/php \

--enable-track-vars --enable-magic-quotes \

--enable-inline-optimization --enable-xml --enable-wddx \

--enable-ftp --enable-calendar --enable-bcmath --enable-trans-id\

--with-zlib \

--with-gd=/asd/metallo1/server/libs/gd2 \

--enable-gd-native-ttf \

--with-xmlrpc \

--with-mysql=/export/dredox1/devel_server/mysql \

--with-apxs=/export/dredox1/devel_server/apache/bin/apxs



A quick and dirty kludge is to comment out line 92 in ext/gd/gd.c,
which might break something else. Had not tested the compiled
libphp4.so thoroughly.






-- 
Edit this bug report at http://bugs.php.net/?id=14271edit=1




Bug #14271 Updated: Failure to compile using GD 2.0.1 because of conflicting types for gdIOCtx

2002-04-18 Thread sniper

 ID:   14271
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Feedback
-Bug Type: Compile Failure
+Bug Type: GD related
 Operating System: Solaris 8
 PHP Version:  4.1.0
 New Comment:

Does the PHP 4.2.0RC4 work any better? Do you have multiple
versions of GD library in your system? Are you sure there
aren't any stale header files from an old GD library?



Previous Comments:


[2001-11-28 14:06:30] [EMAIL PROTECTED]

When compiling w/ GD 2.0.1, I found a warning and a fatal error:



In file included from gd.c:36:

php_gd.h:69: warning: static declaration for `gdImageColorResolve'
follows non-static

gd.c:92: conflicting types for `gdIOCtx'

/asd/metallo1/server/libs/gd2/include/gd_io.h:19: previous declaration
of `gdIOCtx'

make[3]: *** [gd.lo] Error 1

make[3]: Leaving directory
`/asd/metallo1/sources/src_compile/php-4.1.0/ext/gd'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory
`/asd/metallo1/sources/src_compile/php-4.1.0/ext/gd'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory
`/asd/metallo1/sources/src_compile/php-4.1.0/ext'

make: *** [all-recursive] Error 1



Using gcc 3.0.2, gd 2.0.1, and the following configuration line:



./configure --prefix=/export/dredox1/devel_server/php \

--with-config-file-path=/export/dredox1/devel_server/php \

--enable-track-vars --enable-magic-quotes \

--enable-inline-optimization --enable-xml --enable-wddx \

--enable-ftp --enable-calendar --enable-bcmath --enable-trans-id\

--with-zlib \

--with-gd=/asd/metallo1/server/libs/gd2 \

--enable-gd-native-ttf \

--with-xmlrpc \

--with-mysql=/export/dredox1/devel_server/mysql \

--with-apxs=/export/dredox1/devel_server/apache/bin/apxs



A quick and dirty kludge is to comment out line 92 in ext/gd/gd.c,
which might break something else. Had not tested the compiled
libphp4.so thoroughly.






-- 
Edit this bug report at http://bugs.php.net/?id=14271edit=1