PHP 4.1.0/gd compile error
| From: | Allie Micka | Date: | Tue, 11 Dec 2001 02:28:59 +0000 |
| Subject: | PHP 4.1.0/gd compile error | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-5255@lists.php.net to get a copy of this message | ||
I'm having a problem compiling PHP 4.1.0 with gd support. I've got gd-2.0.
1 installed from the ports tree. php configures fine, but during the compile it outputs the following:
-c gd.c
gd.c: In function `zm_startup_gd':
gd.c:271: `gdArc' undeclared (first use in this function)
gd.c:271: (Each undeclared identifier is reported only once
gd.c:271: for each function it appears in.)
gd.c:272: `gdPie' undeclared (first use in this function)
gd.c:273: `gdChord' undeclared (first use in this function)
gd.c:274: `gdNoFill' undeclared (first use in this function)
gd.c:275: `gdEdged' undeclared (first use in this function)
gd.c: In function `zif_imagecreatetruecolor':
gd.c:556: warning: assignment makes pointer from integer without a cast
gd.c: In function `zif_imagecreatefromstring':
gd.c:1061: `gdImageCreateFromGifCtx' undeclared (first use in this function)
gd.c: In function `zif_imagecreatefromgif':
gd.c:1203: `gdImageCreateFromGif' undeclared (first use in this function)
gd.c:1203: `gdImageCreateFromGifCtx' undeclared (first use in this function)
gd.c: In function `zif_imagecolorat':
gd.c:1594: structure has no member named `tpixels'
gd.c: In function `_php_image_convert':
gd.c:3491: `gdImageCreateFromGif' used prior to declaration
gd.c:3491: warning: assignment makes pointer from integer without a cast
and then dies.
Please let me know if there's anything else you need to know.
thanks in advance,
Allie Micka
pajunas interactive, inc.
http://pajunas.com