|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58729 Error during configuration of gdchart
Submitted: 2009-06-18 10:18 UTC Modified: 2016-09-29 11:11 UTC
From: mavkalyan at gmail dot com Assigned:
Status: Suspended Package: GDChart (PECL)
PHP Version: 5.2.9 OS: Linux
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: mavkalyan at gmail dot com
New email:
PHP Version: OS:


 [2009-06-18 10:18 UTC] mavkalyan at gmail dot com
During the compilation the compiler errors out with the following error message.

/root/gdchart-0.2.0/gdchart-src/gdchart.c:1000: error: too few arguments to function 'php_gd_gdImageCreateFromJpeg'

GD is enabled with php and the phpinfo shows the following:

GD Support  enabled  
GD Version  bundled (2.0.34 compatible)  

Reproduce code:
1. PHP was installed with gd enabled.
2. Copied all the gd header files from the default location of php (in my case : /usr/local/include/php/ext/gd/libgd) to gdchart-src in the gdchart-0.2.0 folder.
3. When trying to compile gdcharts, I am hitting the following error:
# make 
/root/gdchart-0.2.0/gdchart-src/gdchart.c: In function 'GDC_out_graph':
/root/gdchart-0.2.0/gdchart-src/gdchart.c:1000: error: too few arguments to function 'php_gd_gdImageCreateFromJpeg'
make: *** [gdchart-src/gdchart.lo] Error 1


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-09-29 11:11 UTC]
-Status: Open +Status: Suspended
 [2016-09-29 11:11 UTC]
The GDChart extension appears to be unmaintained, so I'm
suspending this ticket.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Sep 19 00:03:39 2021 UTC