From:             russell+php dot net at loosenut dot com
Operating system: Solaris 2.5.1
PHP version:      4.3.2RC1
PHP Bug Type:     *General Issues
Bug description:  gdFreeFontCache compilation failure

/bin/sh /export/home/russell/build/php-4.3.2RC1/libtool --silent
--preserve-dup-deps --mode=link gcc -export-dynamic -g -O2  -avoid-version
-module -L/usr/ucblib
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.3
-L/usr/local/ssl/lib -L/usr/local/lib
-L/usr/home/russell/build/jpeg-6b/lib -L/usr/local/imap-2002b/lib
-L/usr/local/mysql/lib/mysql  -R /usr/ucblib -R
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.3 -R /usr/local/ssl/lib
-R /usr/local/lib -R /usr/home/russell/build/jpeg-6b/lib -R
/usr/local/imap-2002b/lib -R /usr/local/mysql/lib/mysql ext/zlib/zlib.lo
ext/zlib/zlib_fopen_wrapper.lo ext/ctype/ctype.lo ext/gd/gd.lo
ext/gd/gdttf.lo ext/gd/gdcache.lo ext/imap/php_imap.lo
ext/mysql/php_mysql.lo ext/openssl/openssl.lo ext/overload/overload.lo
ext/pcre/pcrelib/maketables.lo ext/pcre/pcrelib/get.lo
ext/pcre/pcrelib/study.lo ext/pcre/pcrelib/pcre.lo ext/pcre/php_pcre.lo
ext/posix/posix.lo ext/session/session.lo ext/session/mod_files.lo
ext/session/mod_mm.lo ext/session/mod_user.lo ext/standard/array.lo
ext/standard/base64.lo ext/standard/basic_functions.lo
ext/standard/browscap.lo ext/standard/crc32.lo ext/standard/crypt.lo
ext/standard/cyr_convert.lo ext/standard/datetime.lo ext/standard/dir.lo
ext/standard/dl.lo ext/standard/dns.lo ext/standard/exec.lo
ext/standard/file.lo ext/standard/filestat.lo ext/standard/flock_compat.lo
ext/standard/formatted_print.lo ext/standard/fsock.lo ext/standard/head.lo
ext/standard/html.lo ext/standard/image.lo ext/standard/info.lo
ext/standard/iptc.lo ext/standard/lcg.lo ext/standard/link.lo
ext/standard/mail.lo ext/standard/math.lo ext/standard/md5.lo
ext/standard/metaphone.lo ext/standard/microtime.lo ext/standard/pack.lo
ext/standard/pageinfo.lo ext/standard/parsedate.lo
ext/standard/quot_print.lo ext/standard/rand.lo ext/standard/reg.lo
ext/standard/soundex.lo ext/standard/string.lo ext/standard/scanf.lo
ext/standard/syslog.lo ext/standard/type.lo ext/standard/uniqid.lo
ext/standard/url.lo ext/standard/url_scanner.lo ext/standard/var.lo
ext/standard/versioning.lo ext/standard/assert.lo
ext/standard/strnatcmp.lo ext/standard/levenshtein.lo
ext/standard/incomplete_class.lo ext/standard/url_scanner_ex.lo
ext/standard/ftp_fopen_wrapper.lo ext/standard/http_fopen_wrapper.lo
ext/standard/php_fopen_wrapper.lo ext/standard/credits.lo
ext/standard/css.lo ext/standard/var_unserializer.lo ext/standard/ftok.lo
ext/standard/aggregation.lo ext/standard/sha1.lo
ext/tokenizer/tokenizer.lo ext/xml/xml.lo ext/xml/expat/xmlparse.lo
ext/xml/expat/xmlrole.lo ext/xml/expat/xmltok.lo regex/regcomp.lo
regex/regexec.lo regex/regerror.lo regex/regfree.lo TSRM/TSRM.lo
TSRM/tsrm_strtok_r.lo TSRM/tsrm_virtual_cwd.lo main/main.lo
main/snprintf.lo main/spprintf.lo main/php_sprintf.lo main/safe_mode.lo
main/fopen_wrappers.lo main/alloca.lo main/php_scandir.lo main/php_ini.lo
main/SAPI.lo main/rfc1867.lo main/php_content_types.lo main/strlcpy.lo
main/strlcat.lo main/mergesort.lo main/reentrancy.lo main/php_variables.lo
main/php_ticks.lo main/streams.lo main/network.lo
main/php_open_temporary_file.lo main/php_logos.lo main/output.lo
main/memory_streams.lo main/user_streams.lo Zend/zend_language_parser.lo
Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo
Zend/zend_ini_scanner.lo Zend/zend_alloc.lo Zend/zend_compile.lo
Zend/zend_constants.lo Zend/zend_dynamic_array.lo Zend/zend_execute_API.lo
Zend/zend_highlight.lo Zend/zend_llist.lo Zend/zend_opcode.lo
Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo
Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo
Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo
Zend/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo
Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo
Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/getopt.lo
main/internal_functions_cli.lo -lcrypt -lc-client -lssl -lcrypto
-lmysqlclient -lcrypt -lgd -lpng -lz -ljpeg -lz -lssl -lcrypto -lresolv
-lm -ldl -lnsl -lsocket -lgcc -lcrypt  -o sapi/cli/php
Undefined                       first referenced
 symbol                             in file
gdFreeFontCache                     ext/gd/gd.lo
ld: fatal: Symbol referencing errors. No output written to sapi/cli/php
collect2: ld returned 1 exit status
gmake: *** [sapi/cli/php] Error 1



I haven't been able to compile PHP natively since 4.1.1 or 4.1.2...

Current attempt:
./configure \
 --prefix=/usr/local/php-4.3.2rc1 \
 --with-openssl=/usr/local/ssl \
 --with-gd=/usr/local \
 --with-jpeg-dir=/usr/home/russell/build/jpeg-6b \
 --with-png-dir=/usr/local \
 --with-zlib-dir=/usr/home/russell/build/zlib-1.1.4 \
 --with-imap=/usr/local/imap-2002b \
 --with-imap-ssl=/usr/local/ssl \
 --with-xml \
 --with-mysql=/usr/local/mysql \
 --with-apxs=/usr/local/apache-1.3.27/bin/apxs \
 --enable-track-vars \
 --with-zlib


 - PHP 4.3.2rc1
 - OpenSSL 0.9.7
 - GD 2.0.12
 - Apache 1.3.27 with SSL
 - IMAP 2002b
 - libpng 1.2.5
 - zlib 1.1.4
 - MySQL 3.23.46

Solaris 2.5.1 (yeah, I know... legacy system I'm trying to get rid of).

Compiling with GCC 2.95.3 and bison 1.30 using GNU make 3.79


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

Reply via email to