#20617 [NEW]: ctx (?) structure
| From: | frankdb at megaceramics dot nl | Date: | Mon, 25 Nov 2002 10:13:54 +0000 |
| Subject: | #20617 [NEW]: ctx (?) structure | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-25771@lists.php.net to get a copy of this message | ||
From: frankdb@megaceramics.nl
Operating system: Linux (2.2.16)
PHP version: 4.2.3
PHP Bug Type: Compile Failure
Bug description: ctx (?) structure
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 ...
--
Edit bug report at http://bugs.php.net/?id=20617&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20617&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20617&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20617&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20617&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20617&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20617&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20617&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20617&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20617&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20617&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20617&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20617&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20617&r=isapi