php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64707 gdImageCreateFromJpegPtrEx changes break the build
Submitted: 2013-04-24 23:26 UTC Modified: 2013-04-25 03:49 UTC
From: sixd@php.net Assigned: remi (profile)
Status: Closed Package: GD related
PHP Version: 5.5Git-2013-04-24 (Git) OS: Oracle Linux 5.9
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: sixd@php.net
New email:
PHP Version: OS:

 

 [2013-04-24 23:26 UTC] sixd@php.net
Description:
------------
Compiling gd fails in 5.5 & master.

My configure options are:
'--with-gd' \
'--with-curl' \
'--with-jpeg-dir' \
'--with-png-dir' \
'--enable-gd-native-ttf'

The compilation error is:

/home/cjones/php-5.5/ext/gd/libgd/gd_jpeg.c: In function ‘php_gd_gdImageCreateFromJpegPtr’:
/home/cjones/php-5.5/ext/gd/libgd/gd_jpeg.c:289: warning: implicit declaration of function ‘gdImageCreateFromJpegPtrEx’
/home/cjones/php-5.5/ext/gd/libgd/gd_jpeg.c:289: warning: return makes pointer from integer without a cast
/home/cjones/php-5.5/ext/gd/libgd/gd_jpeg.c: At top level:
/home/cjones/php-5.5/ext/gd/libgd/gd_jpeg.c:293: error: conflicting types for ‘gdImageCreateFromJpegPtrEx’
/home/cjones/php-5.5/ext/gd/libgd/gd_jpeg.c:289: error: previous implicit declaration of ‘gdImageCreateFromJpegPtrEx’ was here
make: *** [ext/gd/libgd/gd_jpeg.lo] Error 1




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-04-25 03:49 UTC] pajoye@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: remi
 [2013-04-25 03:49 UTC] pajoye@php.net
Remi, can you take a look please?
 [2013-04-25 04:40 UTC] remi@php.net
-Status: Assigned +Status: Closed
 [2013-04-25 04:40 UTC] remi@php.net
Automatic comment on behalf of remi
Revision: http://git.php.net/?p=php-src.git;a=commit;h=182fef46a989fa1f8d4ea1a7e3e22040f04e7c51
Log: Fixed bug #64707 missing declaration after dd0399f
 [2013-11-17 09:31 UTC] laruence@php.net
Automatic comment on behalf of remi
Revision: http://git.php.net/?p=php-src.git;a=commit;h=182fef46a989fa1f8d4ea1a7e3e22040f04e7c51
Log: Fixed bug #64707 missing declaration after dd0399f
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 17:01:30 2025 UTC