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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: frankdb at megaceramics dot nl
New email:
PHP Version: OS:

 

 [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 03:01:29 2024 UTC