That took care of things.

Thanks a lot!

On Monday, December 10, 2001, at 08:31 PM, Rasmus Lerdorf wrote:

> 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
>>
>>
>>
>


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to