#20555 [Fbk->Csd]: Compile failure
| From: | iliaa@php.net | Date: | Fri, 22 Nov 2002 02:38:13 +0000 |
| Subject: | #20555 [Fbk->Csd]: Compile failure | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-25509@lists.php.net to get a copy of this message | ||
ID: 20555
Updated by: iliaa@php.net
Reported By: matt@haught.com
-Status: Feedback
+Status: Closed
Bug Type: Compile Failure
Operating System: FreeBSD 4.7-RELEASE
PHP Version: 4CVS-2002-11-21 (dev)
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2002-11-21 20:25:20] matt@haught.org
With the bundled gd, no problems.
With
#include "php.h"
and using my "external" gd now works.
------------------------------------------------------------------------
[2002-11-21 20:07:53] iliaa@php.net
If you add the
#include "php.h"
to gdcache.c does the problem go away?
------------------------------------------------------------------------
[2002-11-21 20:00:59] matt@haught.com
-- Snip from make output --
pto -lssl -lcrypt -o sapi/cli/php
ext/gd/gdcache.lo: In function `gdCacheCreate':
ext/gd/gdcache.lo(.text+0x26): undefined reference to `pemalloc'
ext/gd/gdcache.lo: In function `gdCacheDelete':
ext/gd/gdcache.lo(.text+0x87): undefined reference to `pefree'
ext/gd/gdcache.lo(.text+0x99): undefined reference to `pefree'
ext/gd/gdcache.lo: In function `gdCacheGet':
ext/gd/gdcache.lo(.text+0x150): undefined reference to `pemalloc'
*** Error code 1
Stop in /home/matt/src/php4.
------ Config -----
'./configure' \
'--disable-all' \
'--enable-posix' \
'--enable-session' \
'--enable-xml' \
'--enable-inline-optimization' \
'--with-apxs2=/chroot/sbin/apxs' \
'--with-config-file-path=/etc' \
'--enable-versioning' \
'--with-regex=system' \
'--enable-track-vars' \
'--with-zlib' \
'--with-gd=/usr/local' \
'--enable-gd-native-ttf' \
'--with-pgsql=/usr/local' \
'--with-openssl=/usr' \
'--with-xml=/usr/local' \
'--with-expat-dir=/usr/local' \
'--enable-trans-sid' \
'--with-jpeg-dir=/usr/local' \
'--with-png-dir=/usr/local' \
'--with-freetype-dir=/usr/local' \
'--prefix=/chroot/www' \
'--with-pcre-regex' \
'--disable-tokenizer' \
'--disable-ctype' \
'--disable-mbstring' \
'--disable-mbregex' \
'--enable-cli' \
'--without-mysql' \
'--without-mm' \
'--with-msession=/usr/local/'
I am using gd-2.0.1_3. I had no problems with a build from around a
week ago. Could this be caused by the recent patch to ext/gd/gdcache.c
(1.6)?
--Matt
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20555&edit=1