php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20617 ctx (?) structure
Submitted: 2002-11-25 04:13 UTC Modified: 2002-11-25 04:14 UTC
From: frankdb at megaceramics dot nl Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.2.3 OS: Linux (2.2.16)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
14 - 9 = ?
Subscribe to this entry?

 
 [2002-11-25 04:13 UTC] frankdb at megaceramics dot nl
Compile error:

make[1]: Entering directory `/usr/src/webserver/php-4.2.3/ext/gd'
gcc -I. -I/usr/src/webserver/php-4.2.3/ext/gd -I/usr/src/webserver/php-4.2.3/main -I/usr/src/webserver/php-4.2.3 -I/usr/src/webserver/apache_1.3.27/src/include -I/usr/src/webserver/apache_1.3.27/src/os/unix -I/usr/src/webserver/php-4.2.3/Zend -I/usr/local/openssl-0.9.6g/include -I/usr/local/freetype/include/freetype2/freetype -I/usr/local/include -I/usr/local/gd/include -I/usr/local/imap-2002.RC7/c-client -I/usr/local/mysql/include/mysql -I/usr/local/pgsql/include -I/usr/src/webserver/php-4.2.3/ext/xml/expat  -I/usr/src/webserver/php-4.2.3/TSRM -g -O2  -c gd.c && touch gd.lo
In file included from gd.c:83:
gd_ctx.c: In function `_php_image_output_ctx':
gd_ctx.c:70: structure has no member named `free'
gd_ctx.c:98: structure has no member named `free'
gd.c: In function `_php_image_type':
gd.c:1014: structure has no member named `free'
gd.c:1017: structure has no member named `free'
gd.c: In function `_php_image_create_from':
gd.c:1209: structure has no member named `free'

Running: GD 2.0.7, Freetype 2.1.3, php 4.2.3

Fix:

Replace free with gd_free  ...




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-25 04:14 UTC] derick@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the original bug instead.

Thank you for your interest in PHP.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 06:01:32 2024 UTC