php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20176 GD 2.0.4 doesn't compile with PHP 4.2.3
Submitted: 2002-10-30 14:32 UTC Modified: 2002-10-30 14:33 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: nicke at nicke dot nu Assigned:
Status: Closed Package: GD related
PHP Version: 4.2.3 OS: Linux RedHat 7.2 Kernel: 2.4.19
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: nicke at nicke dot nu
New email:
PHP Version: OS:

 

 [2002-10-30 14:32 UTC] nicke at nicke dot nu
GD 2.0.4 doesn't compile with PHP 4.2.3. I get these errors when trying. I have the JPEG, PNG and FreeType libraries installed.

Configure options:
/configure --with-mysql --with-apache=../apache_1.3.27 --enable-track-vars --with-gd=/home/nicke/gd-2.0.4 --enable-exif --enable-gd-native-tt --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-zlib --enable-gd-imgstrttf --with-freetype-dir=/usr/lib --with-t1lib=/usr/local/lib --with-xml 

-I/home/nicke/apache_1.3.27/src/os/unix -I/home/nicke/php-4.2.3/Zend -I/usr/include/freetype2/freetype -I/usr/local/include -I/home/nicke/gd-2.0.1/ -I/home/nicke/php-4.2.3/ext/mysql/libmysql -I/home/nicke/php-4.2.3/ext/xml/expat -I/home/nicke/php-4.2.3/TSRM -g -O2 -c gd.c && touch gd.lo 
gd.c: In function `zm_startup_gd': 
gd.c:303: `gdArc' undeclared (first use in this function) 
gd.c:303: (Each undeclared identifier is reported only once 
gd.c:303: for each function it appears in.) 
gd.c:304: `gdPie' undeclared (first use in this function) 
gd.c:305: `gdChord' undeclared (first use in this function) 
gd.c:306: `gdNoFill' undeclared (first use in this function) 
gd.c:307: `gdEdged' undeclared (first use in this function) 
gd.c: In function `zif_imagecreatetruecolor': 
gd.c:588: warning: assignment makes pointer from integer without a cast 
gd.c: In function `zif_imagecolorat': 
gd.c:1627: structure has no member named `tpixels' 
make[3]: *** [gd.lo] Error 1 
make[3]: Leaving directory `/home/nicke/php-4.2.3/ext/gd' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory `/home/nicke/php-4.2.3/ext/gd' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/home/nicke/php-4.2.3/ext' 
make: *** [all-recursive] Error 1

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-30 14:33 UTC] derick@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 00:01:28 2024 UTC