|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-10-01 15:32 UTC] hholzgra@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 04:00:02 2025 UTC |
When attempting to compile for static Apache use, the following problems occur: [rick@prophead apache_1.3.12]$ ./configure --prefix=/usr/local/apache --activate-module=src/modules/php3/libphp3.a --activate-module=src/modules/perl/libperl.a Configuring for Apache, Version 1.3.12 <<<< snip... >>>> [rick@prophead apache_1.3.12]$ make <<<< snip... >>>> /usr/local/lib/libgd.a(gd.o): In function `gdImageColorResolve': gd.o(.text+0x340): multiple definition of `gdImageColorResolve' modules/php3/libphp3.a(gd.o):/usr/home/rick/work/php-3.0.16/functions/gd.c:231: first defined here /usr/cygnus/codefusion-990706/H-i686-pc-linux-gnulibc2.1/lib/gcc-lib/i686-pc-linux-gnulibc2.1/2.9-codefusion-990706/../../../../i686-pc-linux-gnulibc2.1/bin/ld: Warning: size of symbol `gdImageColorResolve' changed from 239 to 238 in gd.o modules/php3/libphp3.a(gd.o): In function `php3_imagecreatefromgif': /usr/home/rick/work/php-3.0.16/functions/gd.c:415: undefined reference to `gdImageCreateFromGif' modules/php3/libphp3.a(gd.o): In function `php3_imagegif': /usr/home/rick/work/php-3.0.16/functions/gd.c:867: undefined reference to `gdImageGif' /usr/home/rick/work/php-3.0.16/functions/gd.c:889: undefined reference to `gdImageGif' It smells like the configuration doesn't properly set the "#define HAVE_GD_COLORRESOLVE 1" or something similar if you have libgd installed (I have gd 1.7). Is this a known gotcha? Do I have to upgrade to gd 1.8 to fix it?