Bug #12607 Updated: undefined reference to gdImageGifCtx

From: Date: Tue, 07 Aug 2001 06:47:46 +0000
Subject: Bug #12607 Updated: undefined reference to gdImageGifCtx
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-62378@lists.php.net to get a copy of this message
ID: 12607 Updated by: sniper Reported By: mochaexpress@yahoo.com Old Status: Open Status: Feedback Old Bug Type: *Compile Issues Bug Type: GD related Operating System: NetBSD/Alpha 1.5W PHP Version: 4.0CVS-2001-08-06 New Comment: Are you sure you don't have some old GD library remains in your system, like old .h files from previous version? With which GD library version are you trying this with? With which capabilities was it compiled with? What is on line 23508 in your configure file? (And that last configure option to enable some 'hack' does not exist anymore.. :) --Jani Previous Comments: ------------------------------------------------------------------------ [2001-08-06 16:42:24] mochaexpress@yahoo.com # uname -a NetBSD ns01 1.5W NetBSD 1.5W (ALPHA-$Revision: 1.127.2.2 $) #5: Mon Jun 25 22:34:09 CDT 2001 tom@ns01:/usr/src/sys/arch/alpha/compile/ns01 alpha rm config.cache export LIBS="-lm -lc -lintl -lX11" && \ export LDFLAGS="-Wl,-export-dynamic \ -Wl,-R/usr/lib -L/usr/lib \ -Wl,-R/usr/pkg/lib -L/usr/pkg/lib \ -Wl,-R/usr/local/lib -L/usr/local/lib \ -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib" ./configure \ --with-apxs \ --disable-pear \ --with-gd=/usr/pkg \ --with-png-dir=/usr/pkg \ --with-jpeg-dir=/usr/pkg \ --with-freetype-dir=/usr/pkg \ --with-xpm-dir=/usr/X11R6 \ --with-pgsql=/usr/local \ --with-mysql=/usr/local \ --enable-libgcc \ --with-gnu-ld \ --with-zlib \ --with-system-regex \ --with-config-file-path=/usr/local/etc \ --enable-track-vars \ --enable-force-cgi-redirect \ --enable-discard-path \ --enable-memory-limit \ --enable-sysvsem \ --enable-sysvshm \ --enable-sockets \ --with-ttf=/usr/pkg \ --enable-freetype-4bit-antialias-hack configure status hangs at: ... checking for gdImageColorResolve in -lgd... yes checking for gdImageGifCtx in -lgd... no checking whether to include GNU gettext support... no checking for gmp support... no checking for Hyperwave support... no checking for ICAP support... no checking for iconv support... no ./configure: 23508: Syntax error: redirection unexpected config.log: # tail -20 config.log /home/staffs/t/tom/work/php/php4-current/php4/configure:22183: undefined reference to `gdImageGif Ctx' /home/staffs/t/tom/work/php/php4-current/php4/configure:22183: undefined reference to `gdImageGif Ctx' collect2: ld returned 1 exit status configure: failed program was: #line 22176 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gdImageGifCtx(); int main() { gdImageGifCtx() ; return 0; } configure:22274: checking whether to include GNU gettext support configure:22697: checking for gmp support configure:22977: checking for Hyperwave support configure:23146: checking for ICAP support configure:23465: checking for iconv support ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12607&edit=1

« previous php.dev (#62378) next »