php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8147 Duplicate symbol gdImageColorResolve (Related to 7795)
Submitted: 2000-12-06 21:35 UTC Modified: 2000-12-07 03:20 UTC
From: ifv at ieee dot org Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.3pl1 OS: Linux
Private report: No CVE-ID: None
 [2000-12-06 21:35 UTC] ifv at ieee dot org
It also fails under Linux. Gd library is gd-1.8.3. PHP
versi?n is 4.0.3pl1. Options are:

./configure --with-apxs --with-mysql --with-gd



I deleted function

int gdImageColorResolve(gdImagePtr im, int r, int g, int b)

from php-4.0.3pl1/ext/gd/gd.c (line 306) and now it compiles
normaly.

The function is duplicated. An exact copy comes in library
gd-1.8.3/gd.c on line 317.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-07 03:14 UTC] sniper@php.net
One report is enough..

 [2000-12-07 03:20 UTC] sniper@php.net
You have some old GD library (and/or header files) in your system.
Specify the path of the install directory of GD library in --with-gd.
e.g. --with-gd=/usr/local 

Or remove all GD library files from your system and reconfigure/recompile both GD and PHP. Remember to delete config.cache before configure!!

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Fri Oct 09 00:00:01 2026 UTC