PHP 4.0 Bug #7314: gd_globals undeclared [gd.c]
| From: | percy at py dot dhs dot org | Date: | Wed, 18 Oct 2000 18:31:34 +0000 |
| Subject: | PHP 4.0 Bug #7314: gd_globals undeclared [gd.c] | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35449@lists.php.net to get a copy of this message | ||
From: percy@py.dhs.org
Operating system: Solaris 2.6
PHP version: 4.0.3pl1
PHP Bug Type: Compile Failure
Bug description: gd_globals undeclared [gd.c]
When --with-servlet and --with-gd, I got
gd.c: In function `php_if_imagepalettecopy':
gd.c:858: `gd_globals' undeclared (first use in this function)
gd.c:858: (Each undeclared identifier is reported only once
gd.c:858: for each function it appears in.)
gd.c: In function `php_if_imagepsloadfont':
gd.c:2122: `gd_globals' undeclared (first use in this function)
gd.c: In function `php_if_imagepsfreefont':
gd.c:2203: `gd_globals' undeclared (first use in this function)
gd.c: In function `php_if_imagepsencodefont':
gd.c:2229: `gd_globals' undeclared (first use in this function)
gd.c: In function `php_if_imagepsextendfont':
gd.c:2265: `gd_globals' undeclared (first use in this function)
gd.c: In function `php_if_imagepsslantfont':
gd.c:2291: `gd_globals' undeclared (first use in this function)
gd.c: In function `php_if_imagepstext':
gd.c:2366: `gd_globals' undeclared (first use in this function)
gd.c: In function `php_if_imagepsbbox':
gd.c:2504: `gd_globals' undeclared (first use in this function)
make[1]: *** [gd.lo] Error 1
make[1]: Leaving directory `/mnt/src/src/php-4.0.3pl1/ext/gd'
make: *** [all-recursive] Error 1
I guess --with-servlet cause #define ZTS 1 which in turns causes problem in gd.c
--
Edit Bug report at: http://bugs.php.net/?id=7314&edit=1