Bug #3530: apache link failure with php module and gd
| From: | scott at tassie dot net dot au | Date: | Fri, 18 Feb 2000 05:18:00 +0000 |
| Subject: | Bug #3530: apache link failure with php module and gd | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-15671@lists.php.net to get a copy of this message | ||
From: scott@tassie.net.au
Operating system: FreeBSD 3.2
PHP version: 3.0.14
PHP Bug Type: Compile Failure
Bug description: apache link failure with php module and gd
Software Mix:
apache 1.3.11
php 3.0.14
gd 1.7.3
FreeBSD 3.2
Compile Output:
===> src/modules/php3
gcc -c -I../../os/unix -I../../include -funsigned-char -DUSE_HSREGEX -DUSE_EXPAT
-I../../lib/expat-lite -DNO_DL_NEEDED
../../apaci mod_php3.c
cp libmodphp3.a libphp3.a
ar r libphp3.a mod_php3.o
ranlib libphp3.a
<=== src/modules/php3
<=== src/modules
gcc -c -I./os/unix -I./include -funsigned-char -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite
-DNO_DL_NEEDED ./apaci modules.c
gcc -c -I./os/unix -I./include -funsigned-char -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite
-DNO_DL_NEEDED ./apaci buildmark.c
gcc -funsigned-char -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
./apaci -o httpd buildmark.o modules.o modules/standard/libstandard.a
modules/php3/libphp3.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a
lib/expat-lite/libexpat.a -R/usr/local/lib -R/usr/local/lib/mysql -lgd -L/usr/local/lib -lttf
-L/usr/local/lib/mysql -lmysqlclient -Lmodules/php3 -L../modules/php3 -L../../modules/php3 -lmodphp3
-lpam -lm -lcrypt -lcrypt
/usr/local/lib/libgd.a(gd.o): In function `gdImageColorResolve':
gd.o(.text+0x288): multiple definition of `gdImageColorResolve'
modules/php3/libphp3.a(gd.o)(.text+0x74):/home/scottd/php-3.0.14/functions/gd.c: first defined here
/usr/libexec/elf/ld: Warning: size of symbol `gdImageColorResolve' changed from 202 to 195 in
gd.o
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.