php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9577 compiler error while configured enabled '--with-gd' feature
Submitted: 2001-03-06 08:48 UTC Modified: 2001-04-10 10:49 UTC
From: riddle at leivo dot ru Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Latest CVS (06/03/2001) OS: FreeBSD 3.3-RELEASE
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: riddle at leivo dot ru
New email:
PHP Version: OS:

 

 [2001-03-06 08:48 UTC] riddle at leivo dot ru
./configure --with-jpeg-dir=../gd/jped-6b --with-png-dir=../gd/libpng-1.0.9 --with-mysql --with-apxs --with-zlib=/usr/local --with-mod_charset --enable-track-vars --enable-gd-native-ttf --with-gd=../gd/gd-1.8.4

all appropriate libraries (z, gd, jpeg, png, freetype 2) are installed first.

and now:

#make
<...>
gd.c:91: conflicting types for `gdIOCtx'
/usr/home/riddle/apache/gd-1.8.4/gd_io.h:18: previous declaration of `gdIOCtx'
*** Error code 1

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-06 10:06 UTC] sniper@php.net
You must use the install directories with those confgure options.
e.g. :

./configure --with-apxs --with-gd=/www/gd


--Jani

 [2001-04-10 10:49 UTC] sniper@php.net
No feedback. If this happens also with soon to be released 
PHP 4.0.5 when you use the proper paths, reopen this bug 
report.

--Jani

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 12:01:29 2025 UTC