From:             [EMAIL PROTECTED]
Operating system: RH 7.3
PHP version:      4.3.0RC3
PHP Bug Type:     Compile Failure
Bug description:  GD 2.0.1 lib problem?

System: P4-2G
RAM: 1G
OS: RH 7.3

PHP 4.3RC2 compile OK
PHP 4.3RC3 compile FAIL
using the same compile line.

NOTE: gd lib version 2.0.1 (gif hacked)

./configure  --with-apxs=/usr/local/apache/bin/apxs  \
--with-config-file-path=/usr/local/apache/conf  --enable-versioning  \
--with-mysql  --enable-ftp  --enable-bcmath  --enable-inline-optimization
\
--disable-debug  \
--enable-memory-limit=yes  --enable-track-vars --enable-save-mode \
--enable-magic-quotes --with-gettext=/usr/bin \
--with-xml --with-imap=/usr/local/imap \
--with-curl=/usr/local --enable-mbstring --enable-mbstr-enc-trans \
--with-jpeg-dir=/usr --with-png-dir=/usr \
--with-zlib-dir=/usr/local --with-t1lib=/usr/local \
--with-gd=/usr --with-zlib=/usr/local --enable-gd-imgstrttf \
--enable-gd-native-ttf --with-freetype-dir=/usr \
--with-pdflib=/usr/local --with-openssl=/usr/local/openssl \
--enable-trans-sid --with-cpdflib --with-pgsql --with-ming=/usr  \
--with-bz2 --enable-calendar --with-pspell \
--enable-tokenizer --with-iconv=/usr/local \
--with-gmp --with-mcrypt --with-ldap --with-mm \
--with-mbstring=all --enable-mbregex \
--enable-xslt --with-xslt-sablot \
--with-sablot-js --with-expat-dir=/usr/local \


Err Message:
(by PHP 4.3RC3)

/bin/sh libtool --silent --mode=compile gcc -I/usr/include -Iext/gd/
-I/www/compile/php-4.3.0RC3/ext/gd/ -DPHP_ATOM_INC
-I/www/compile/php-4.3.0RC3/include -I/www/compile/php-4.3.0RC3/main
-I/www/compile/php-4.3.0RC3 -I/www/compile/php-4.3.0RC3/Zend
-I/usr/local/openssl/include -I/usr/local/include -I/usr/include/freetype2
-I/usr/local/imap/include -I/usr/include/pspell  -DLINUX=22
-DMOD_SSL=208112 -DUSE_HSREGEX -DEAPI -DEAPI_MM
-I/www/compile/php-4.3.0RC3/TSRM  -g -O2  -prefer-pic -c
/www/compile/php-4.3.0RC3/ext/gd/gd.c -o ext/gd/gd.lo 
/www/compile/php-4.3.0RC3/ext/gd/gd.c: In function
`_php_image_create_from':
/www/compile/php-4.3.0RC3/ext/gd/gd.c:1363: warning: assignment makes
pointer from integer without a cast
/www/compile/php-4.3.0RC3/ext/gd/gd.c: In function
`zif_imagecreatefromxpm':
/www/compile/php-4.3.0RC3/ext/gd/gd.c:1433: `gdImageCreateFromXpm'
undeclared (first use in this function)
/www/compile/php-4.3.0RC3/ext/gd/gd.c:1433: (Each undeclared identifier is
reported only once
/www/compile/php-4.3.0RC3/ext/gd/gd.c:1433: for each function it appears
in.)
make: *** [ext/gd/gd.lo] Error 1

thx
Patrick Tsang


-- 
Edit bug report at http://bugs.php.net/?id=20991&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20991&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20991&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20991&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20991&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20991&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20991&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20991&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20991&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20991&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20991&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20991&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20991&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20991&r=isapi

Reply via email to