Bug #4048: Failure In Compile With GD-1.3
| From: | chronological at yahoo dot com | Date: | Wed, 05 Apr 2000 14:37:33 +0000 |
| Subject: | Bug #4048: Failure In Compile With GD-1.3 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-17642@lists.php.net to get a copy of this message | ||
From: chronological@yahoo.com
Operating system: Redhat 6.2 (Kernel 2.2.14)
PHP version: 3.0.16
PHP Bug Type: Compile Failure
Bug description: Failure In Compile With GD-1.3
Hi again.. thanks for rolling out 3.0.16 quickly with the ucd-snmp fix =)... Heres another problem
im having with 3.0.16...
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_MODUL
E -I/home/httpd/include -I. -I. -c ./mod_php3.c
gcc -shared -o libphp3.so mod_php3.o libmodphp3-so.a -L/usr/local/lib -lgd -lmys
qlclient -lldap -llber -L/usr/local/lib -lsnmp -lgdbm -lpam -lm -ldl -lcrypt -lr
esolv -Wl,-rpath /usr/local/lib
/usr/local/lib/libgd.a(gd.o): In function `gdImageColorResolve':
gd.o(.text+0x2f0): multiple definition of `gdImageColorResolve'
libmodphp3-so.a(gd.o):/usr/local/src/php-3.0.16/functions/gd.c:231: first define
d here
/usr/bin/ld: Warning: size of symbol `gdImageColorResolve' changed from 255 to 2
26 in gd.o
collect2: ld returned 1 exit status
apxs:Break: Command failed with rc=65536
make: *** [libphp3.so] Error 1
My gd version is 1.3 my configure options was...
configure --with-mysql --with-ldap --with-snmp --wit
h-apxs=/home/httpd/bin/apxs --enable-ucd-snmp-hack
Thanks again for the great work and quick bug trac responses =)