Your problem is that you have multiple versions of gd on your system. PHP is picking up a gd.h somewhere on the standard include path and then trying to build against a different version. Clean up your system and it should work just fine.
-Rasmus On Wed, 4 Sep 2002, NAIK,ROSHAN (HP-Cupertino,ex1) wrote: > > No doubt.. but then the stuff on the distribution didnt work in the first > place. Thats why i hoped the cvs had a fix for those erros. I have had prior > experinces wherein a few files in the distribtion sources wouldnt compile > and I had to refresh them from the CVS. > > These were the errors in the original gd sources that were part of the 4.2.2 > distribtion... > > php_gd.h:69: warning: static declaration for `gdImageColorResolve' follows > non-static > gd.c:92: conflicting types for `gdIOCtx' > /somepath/gd-1.8.4/gd_io.h:18: previous declaration of `gdIOCtx' > gd.c: In function `php_imagettftext_common': > gd.c:2800: warning: passing arg 2 of `virtual_filepath' from incompatible > pointer type > > > Has anybody got GD working in 4.2.2 ? > > --Roshan > > > > -----Original Message----- > > From: Markus Fischer [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, September 03, 2002 10:48 PM > > To: NAIK,ROSHAN (HP-Cupertino,ex1) > > Cc: '[EMAIL PROTECTED]' > > Subject: Re: [PHP-DEV] GD broken ? compiler errors ! > > > > > > You just can't mix current CVS c sources witth current stable > > release. It would be like gambling. The GD module has new > > enhancements in it which aren't available in 4.2.2 so that > > won't work. > > > > Please first test with > > http://www.php.net/~zeev/php-4.2.3RC2.tar.gz > > or even better http://snaps.php.net/php4-latest.tar.bz2 and > > see if this isse has been fixed already. > > > > Any remaining errors should be reported via bugs.php.net > > (preferable against php4-latest). > > > > -- > > GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc > > "In short, the window belongs to me. > > The document belongs to the web site designer." > > - Poster on opera.wishlist > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php