PHP 4.0 Bug #7487 Updated: undefined reference to `phpi_get_le_gd'
| From: | sniper@php.net | Date: | Mon, 27 Nov 2000 14:56:01 +0000 |
| Subject: | PHP 4.0 Bug #7487 Updated: undefined reference to `phpi_get_le_gd' | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-39277@lists.php.net to get a copy of this message | ||
ID: 7487
Updated by: sniper
Reported By: simonng@sitna.com
Status: Analyzed
Bug Type: Compile Failure
Assigned To:
Comments:
This isn't fixed yet. Reproduced with latest CVS.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-11-06 10:30:45] sniper@php.net
Please try a latest snapshot from snaps.php.net
as I think this is fixed already.
--Jani
---------------------------------------------------------------------------
[2000-10-27 04:49:07] simonng@sitna.com
I complie with the following on php-4.03.pl1 with error, but it work fine in php-4.0.2.
It seem to be a gd problem.
/configure
--prefix=%{_prefix}
--with-config-file-path=%{_sysconfdir}
--disable-debug
--enable-pic
--enable-shared
--enable-inline-optimization
$*
--with-exec-dir=%{_bindir}
--with-regex=system
--with-gettext
--with-gd=shared
--with-jpeg-dir=%{_prefix}
--with-png
--with-zlib
--with-db2
--with-db3
--with-gdbm
--enable-debugger
--enable-magic-quotes
--enable-safe-mode
--enable-sysvsem
--enable-sysvshm
--enable-track-vars
--enable-yp
--enable-ftp
--without-mysql
--without-oracle
--without-oci8
--with-openssl
--with-xml
--with-snmp
--enable-ucd-snmp-hack
--with-openssl=/usr
--with-bigg
--with-pdflib=/usr
--with-mm
--with-mhash
--enable-wddx
--with-t1lib
--with-cpdflib
--enable-sockets
--with-swf=/usr
--with-readline
--with-pspell
--with-kerberos
--with-xpm-dir=/usr/X11R6/lib/
##################################################
make[1]: Leaving directory `/usr/src/redhat/BUILD/php-4.0.3pl1/TSRM'
Making all in .
make[1]: Entering directory `/usr/src/redhat/BUILD/php-4.0.3pl1'
/bin/sh /usr/src/redhat/BUILD/php-4.0.3pl1/libtool --silent --mode=compile gcc -I
. -I/usr/src/redhat/BUILD/php-4.0.3pl1/ -I/usr/src/redhat/BUILD/php-4.0.3pl1 -I/us
r/src/redhat/BUILD/php-4.0.3pl1/main -I/usr/src/redhat/BUILD/php-4.0.3pl1/Zend -I/
usr/src/redhat/BUILD/php-4.0.3pl1 -I/usr/include/freetype -I/usr/include/pspell -I
/usr/include/ucd-snmp -I/usr/src/redhat/BUILD/php-4.0.3pl1/ext/xml/expat/xmltok -I
/usr/src/redhat/BUILD/php-4.0.3pl1/ext/xml/expat/xmlparse -I/usr/src/redhat/BUILD/
php-4.0.3pl1/TSRM -DXML_BYTE_ORDER=12 -O2 -march=i386 -mcpu=i686 -fPIC -c stub.c
/bin/sh /usr/src/redhat/BUILD/php-4.0.3pl1/libtool --silent --mode=link gcc -I. -
I/usr/src/redhat/BUILD/php-4.0.3pl1/ -I/usr/src/redhat/BUILD/php-4.0.3pl1 -I/usr/s
rc/redhat/BUILD/php-4.0.3pl1/main -I/usr/src/redhat/BUILD/php-4.0.3pl1/Zend -I/usr
/src/redhat/BUILD/php-4.0.3pl1 -I/usr/include/freetype -I/usr/include/pspell -I/us
r/include/ucd-snmp -I/usr/src/redhat/BUILD/php-4.0.3pl1/ext/xml/expat/xmltok -I/us
r/src/redhat/BUILD/php-4.0.3pl1/ext/xml/expat/xmlparse -I/usr/src/redhat/BUILD/php
-4.0.3pl1/TSRM -DXML_BYTE_ORDER=12 -O2 -march=i386 -mcpu=i686 -fPIC -o libphp4.
la -rpath /usr/src/redhat/BUILD/php-4.0.3pl1/libs -L/usr/X11R6/lib -R /usr/X11R6/
lib stub.lo Zend/libZend.la sapi/cgi/libsapi.la main/libmain.la ext/bigg/libbigg
.la ext/cpdf/libcpdf.la ext/dba/libdba.la ext/ftp/libftp.la ext/gettext/libgettext
.la ext/mhash/libmhash.la ext/pcre/libpcre.la ext/pdf/libpdf.la ext/posix/libposix
.la ext/pspell/libpspell.la ext/readline/libreadline.la ext/session/libsession.la
ext/snmp/libsnmp.la ext/sockets/libsockets.la ext/standard/libstandard.la ext/swf/
libswf.la ext/sysvsem/libsysvsem.la ext/sysvshm/libsysvshm.la ext/wddx/libwddx.la
ext/xml/libxml.la ext/yp/libyp.la ext/zlib/libzlib.la TSRM/libtsrm.la -lpam -ldl -
lz -lswf -lsnmp -lmm -lreadline -lhistory -lncurses -lpspell -lpdf -ltiff -ltiff -
lpng -lpng -ljpeg -lmhash -lt1 -lX11 -lXpm -ljpeg -lz -lpng -ldb -ldb2 -lgdbm -ljp
eg -ltiff -lcpdf -lresolv -lm -ldl -lcrypt -lnsl -lttf -lpng -ljpeg -lz -lresolv -
L/usr/lib -ljpeg -L/usr/X11R6/lib -lXpm -lX11 -lz -L/usr/lib -ljpeg -lpng -ltiff
/bin/sh /usr/src/redhat/BUILD/php-4.0.3pl1/libtool --silent --mode=link gcc -I. -
I/usr/src/redhat/BUILD/php-4.0.3pl1/ -I/usr/src/redhat/BUILD/php-4.0.3pl1 -I/usr/s
rc/redhat/BUILD/php-4.0.3pl1/main -I/usr/src/redhat/BUILD/php-4.0.3pl1/Zend -I/usr
/src/redhat/BUILD/php-4.0.3pl1 -I/usr/include/freetype -I/usr/include/pspell -I/us
r/include/ucd-snmp -I/usr/src/redhat/BUILD/php-4.0.3pl1/ext/xml/expat/xmltok -I/us
r/src/redhat/BUILD/php-4.0.3pl1/ext/xml/expat/xmlparse -I/usr/src/redhat/BUILD/php
-4.0.3pl1/TSRM -DXML_BYTE_ORDER=12 -O2 -march=i386 -mcpu=i686 -fPIC -o php -exp
ort-dynamic stub.lo libphp4.la
/usr/lib/libswf.a(swfimage.o): In function `swf_definebitmap':
swfimage.o(.text+0x672): the use of
mktemp' is dangerous, better use mkstemp'
.libs/libphp4.a(cpdf.o): In function `php_if_cpdf_place_inline_image':
cpdf.o(.text+0x4211): undefined reference to `phpi_get_le_gd'
.libs/libphp4.a(pdf.o): In function `php_if_pdf_open_memory_image':
pdf.o(.text+0xa667): undefined reference to `phpi_get_le_gd'
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/php-4.0.3pl1'
make: *** [all-recursive] Error 1
Bad exit status from /var/tmp/rpm-tmp.94998 (%build)
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7487