Re: PHP 4.1.0/gd compile error

From: Date: Tue, 11 Dec 2001 02:31:40 +0000
Subject: Re: PHP 4.1.0/gd compile error
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-5256@lists.php.net to get a copy of this message
Sounds like you have an old gd1 header file lying around that PHP is picking up instead of the 2.0 one. Do a "locate gd.h" on your system and get rid of any old stray versions of this file. -Rasmus On Mon, 10 Dec 2001, Allie Micka wrote: > 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 > > >

« previous php.install (#5256) next »