php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12254 PHP/gd compilation problems - gd.c:95: conflicting types for `gdIOCtx'
Submitted: 2001-07-19 10:52 UTC Modified: 2001-08-19 15:54 UTC
From: alex at phatair dot net Assigned:
Status: Not a bug Package: GD related
PHP Version: 4.0.6 OS: Linux 2.2.19
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: alex at phatair dot net
New email:
PHP Version: OS:

 

 [2001-07-19 10:52 UTC] alex at phatair dot net
Using gd 1.8.4 , php 4.0.6

./configure --with-mysql --with-fastcgi --with-gd=/usr/local/ --with-jpeg-dir=/usr/lib/ --enable-ftp --enable-trans-sid

Produces error :

gd.c:95: conflicting types for `gdIOCtx'
/usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
gd.c: In function `php_if_imagecreatefromgif':
gd.c:1209: `gdImageCreateFromGif' undeclared (first use in this function)
gd.c:1209: (Each undeclared identifier is reported only once
gd.c:1209: for each function it appears in.)
gd.c: In function `php_if_imagegif':
gd.c:1404: `gdImageGif' undeclared (first use in this function)
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.0.6/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.0.6/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.0.6/ext'
make: *** [all-recursive] Error 1

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-26 21:25 UTC] sniper@php.net
First of all you should be using the install prefix dirs
with every configure option. ie. --with-jpeg-dir=/usr

And please try the latest CVS snapshot:

http://snaps.php.net/

 [2001-08-19 15:54 UTC] sniper@php.net
User error.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 14:01:29 2024 UTC