php.net |  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
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: mavkalyan at gmail dot com
New email:
PHP Version: OS:

 

 [2009-06-18 10:18 UTC] mavkalyan at gmail dot com
Description:
------------
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



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-09-29 11:11 UTC] cmb@php.net
-Status: Open +Status: Suspended
 [2016-09-29 11:11 UTC] cmb@php.net
The GDChart extension appears to be unmaintained, so I'm
suspending this ticket.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 13 15:01:27 2025 UTC