#20555 [Opn->Fbk]: Compile failure

From: Date: Fri, 22 Nov 2002 02:07:54 +0000
Subject: #20555 [Opn->Fbk]: Compile failure
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-25506@lists.php.net to get a copy of this message
ID: 20555 Updated by: iliaa@php.net Reported By: matt@haught.com -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: FreeBSD 4.7-RELEASE PHP Version: 4CVS-2002-11-21 (dev) New Comment: If you add the #include "php.h" to gdcache.c does the problem go away? Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#25506) next »