|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-26 21:25 UTC]
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:

 [2001-08-19 15:54 UTC]
User error.

PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Mon Dec 10 12:01:27 2018 UTC