php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4048 Failure In Compile With GD-1.3
Submitted: 2000-04-05 10:37 UTC Modified: 2000-04-27 13:54 UTC
From: chronological at yahoo dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.16 OS: Redhat 6.2 (Kernel 2.2.14)
Private report: No CVE-ID: None
 [2000-04-05 10:37 UTC] chronological at yahoo dot com
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 =)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-04-06 11:12 UTC] chronological at yahoo dot com
Heres output when my GD library was upgraded to 1.8.1


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


 [2000-04-27 13:54 UTC] sas at cvs dot php dot net
Deleting config.cache and rerunning your configure line should solve this problem.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 16:00:02 2026 UTC