ID: 25965
Updated by: [email]sniperphp.net[/email]
Reported By: Peter dot Valicek at Sun dot com
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: Solaris 9
PHP Version: 5CVS-2003-10-23 (dev)
New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at [url]http://snaps.php.net/[/url].

In case this was a doentation problem, the fix will show up soon at
[url]http://www.php.net/manual/[/url].

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.

Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2003-10-23 07:29:57] Peter dot Valicek at Sun dot com

Description:
------------
Compile of php5-cvs fails.
Used tools:

compiler :: gcc version 3.2
make :: GNU Make version 3.79.1

Reproduce code:
---------------
configure options:
../configure --prefix=/sourcesoftware/PHP5/comp --enable-zend-multibyte
--enable-memory-limit --enable-yp --enable-sysvmsg --enable-sysvsem
--enable-sysvshm --enable-sockets --enable-pcntl
--with-oci8=/oracle/product/8.1.7 --enable-debug --with-ldap=/usr/local
--with-freetype-dir=/sw/es-tools/ --enable-bcmath
--with-bz2=/sw/es-tools/ --enable-calendar --enable-dio --enable-dbx
--with-mysql=/mysql --enable-mbregex --enable-mbstring --enable-ftp
--with-zlib-dir=/sw/es-tools/ --with-readline=/sw/es-tools/
--with-libxml-dir=/usr/local

Expected result:
----------------
a clearly finished gmake

Actual result:
--------------
gcc -g -Wall ext/zlib/zlib.o ext/zlib/zlib_fopen_wrapper.o
ext/bcmath/bcmath.o ext/bcmath/libbcmath/src/add.o
ext/bcmath/libbcmath/src/div.o ext/bcmath/libbcmath/src/init.o
ext/bcmath/libbcmath/src/neg.o ext/bcmath/libbcmath/src/outofmem.o
ext/bcmath/libbcmath/src/raisemod.o ext/bcmath/libbcmath/src/rt.o
ext/bcmath/libbcmath/src/sub.o ext/bcmath/libbcmath/src/compare.o
ext/bcmath/libbcmath/src/divmod.o ext/bcmath/libbcmath/src/int2num.o
ext/bcmath/libbcmath/src/num2long.o ext/bcmath/libbcmath/src/output.o
ext/bcmath/libbcmath/src/recmul.o ext/bcmath/libbcmath/src/sqrt.o
ext/bcmath/libbcmath/src/zero.o ext/bcmath/libbcmath/src/debug.o
ext/bcmath/libbcmath/src/doaddsub.o ext/bcmath/libbcmath/src/nearzero.o
ext/bcmath/libbcmath/src/num2str.o ext/bcmath/libbcmath/src/raise.o
ext/bcmath/libbcmath/src/rmzero.o ext/bcmath/libbcmath/src/str2num.o
ext/bz2/bz2.o ext/calendar/calendar.o ext/calendar/dow.o
ext/calendar/french.o ext/calendar/gregor.o ext/calendar/jewish.o
ext/calendar/julian.o ext/calendar/easter.o ext/calendar/cal_unix.o
ext/ctype/ctype.o ext/dbx/dbx.o ext/dbx/dbx_mysql.o ext/dbx/dbx_odbc.o
ext/dbx/dbx_pgsql.o ext/dbx/dbx_mssql.o ext/dbx/dbx_fbsql.o
ext/dbx/dbx_oci8.o ext/dbx/dbx_sybasect.o ext/dbx/dbx_sqlite.o
ext/dio/dio.o ext/dom/php_dom.o ext/dom/attr.o ext/dom/doent.o
ext/dom/domerrorhandler.o ext/dom/domstringlist.o
ext/dom/domexception.o ext/dom/namelist.o
ext/dom/processinginstruction.o ext/dom/cdatasection.o
ext/dom/doentfragment.o ext/dom/domimplementation.o
ext/dom/element.o ext/dom/node.o ext/dom/string_extend.o
ext/dom/characterdata.o ext/dom/doenttype.o
ext/dom/domimplementationlist.o ext/dom/entity.o ext/dom/nodelist.o
ext/dom/text.o ext/dom/comment.o ext/dom/domconfiguration.o
ext/dom/domimplementationsource.o ext/dom/entityreference.o
ext/dom/notation.o ext/dom/xpath.o ext/dom/typeinfo.o
ext/dom/domerror.o ext/dom/domlocator.o ext/dom/namednodemap.o
ext/dom/userdatahandler.o ext/ftp/php_ftp.o ext/ftp/ftp.o
ext/ldap/ldap.o ext/libxml/libxml.o ext/mbstring/mbstring.o
ext/mbstring/php_unicode.o ext/mbstring/mb_gpc.o
ext/mbstring/php_mbregex.o ext/mbstring/oniguruma/regcomp.o
ext/mbstring/oniguruma/regerror.o ext/mbstring/oniguruma/regexec.o
ext/mbstring/oniguruma/reggnu.o ext/mbstring/oniguruma/regp.o
ext/mbstring/oniguruma/regposerr.o
ext/mbstring/libmbfl/filters/html_entities.o
ext/mbstring/libmbfl/filters/mbfilter_7bit.o
ext/mbstring/libmbfl/filters/mbfilter_ascii.o
ext/mbstring/libmbfl/filters/mbfilter_base64.o
ext/mbstring/libmbfl/filters/mbfilter_big5.o
ext/mbstring/libmbfl/filters/mbfilter_byte2.o
ext/mbstring/libmbfl/filters/mbfilter_byte4.o
ext/mbstring/libmbfl/filters/mbfilter_cp1251.o
ext/mbstring/libmbfl/filters/mbfilter_cp1252.o
ext/mbstring/libmbfl/filters/mbfilter_cp866.o
ext/mbstring/libmbfl/filters/mbfilter_cp932.o
ext/mbstring/libmbfl/filters/mbfilter_cp936.o
ext/mbstring/libmbfl/filters/mbfilter_euc_cn.o
ext/mbstring/libmbfl/filters/mbfilter_euc_jp.o
ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.o
ext/mbstring/libmbfl/filters/mbfilter_euc_kr.o
ext/mbstring/libmbfl/filters/mbfilter_euc_tw.o
ext/mbstring/libmbfl/filters/mbfilter_htmlent.o
ext/mbstring/libmbfl/filters/mbfilter_hz.o
ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.o
ext/mbstring/libmbfl/filters/mbfilter_iso8859_1.o
ext/mbstring/libmbfl/filters/mbfilter_iso8859_10.o
ext/mbstring/libmbfl/filters/mbfilter_iso8859_13.o
ext/mbstring/libmbfl/filters/mbfilter_iso8859_14.o
ext/mbstring/libmbfl/filters/mbfilter_iso8859_15.o
ext/mbstring/libmbfl/filters/mbfilter_iso8859_2.o
ext/mbstring/libmbfl/filters/mbfilter_iso8859_3.o
ext/mbstring/libmbfl/filters/mbfilter_iso8859_4.o
ext/mbstring/libmbfl/filters/mbfilter_iso8859_5.o
ext/mbstring/libmbfl/filters/mbfilter_iso8859_6.o
ext/mbstring/libmbfl/filters/mbfilter_iso8859_7.o
ext/mbstring/libmbfl/filters/mbfilter_iso8859_8.o
ext/mbstring/libmbfl/filters/mbfilter_iso8859_9.o
ext/mbstring/libmbfl/filters/mbfilter_jis.o
ext/mbstring/libmbfl/filters/mbfilter_koi8r.o
ext/mbstring/libmbfl/filters/mbfilter_qprint.o
ext/mbstring/libmbfl/filters/mbfilter_sjis.o
ext/mbstring/libmbfl/filters/mbfilter_ucs2.o
ext/mbstring/libmbfl/filters/mbfilter_ucs4.o
ext/mbstring/libmbfl/filters/mbfilter_uhc.o
ext/mbstring/libmbfl/filters/mbfilter_utf16.o
ext/mbstring/libmbfl/filters/mbfilter_utf32.o
ext/mbstring/libmbfl/filters/mbfilter_utf7.o
ext/mbstring/libmbfl/filters/mbfilter_utf7imap.o
ext/mbstring/libmbfl/filters/mbfilter_utf8.o
ext/mbstring/libmbfl/filters/mbfilter_uuencode.o
ext/mbstring/libmbfl/mbfl/mbfilter.o
ext/mbstring/libmbfl/mbfl/mbfilter_8bit.o
ext/mbstring/libmbfl/mbfl/mbfilter_pass.o
ext/mbstring/libmbfl/mbfl/mbfilter_wchar.o
ext/mbstring/libmbfl/mbfl/mbfl_convert.o
ext/mbstring/libmbfl/mbfl/mbfl_encoding.o
ext/mbstring/libmbfl/mbfl/mbfl_filter_output.o
ext/mbstring/libmbfl/mbfl/mbfl_ident.o
ext/mbstring/libmbfl/mbfl/mbfl_language.o
ext/mbstring/libmbfl/mbfl/mbfl_memory_device.o
ext/mbstring/libmbfl/mbfl/mbfl_string.o
ext/mbstring/libmbfl/mbfl/mbfl_allocators.o
ext/mbstring/libmbfl/nls/nls_de.o ext/mbstring/libmbfl/nls/nls_en.o
ext/mbstring/libmbfl/nls/nls_ja.o ext/mbstring/libmbfl/nls/nls_kr.o
ext/mbstring/libmbfl/nls/nls_neutral.o
ext/mbstring/libmbfl/nls/nls_ru.o ext/mbstring/libmbfl/nls/nls_uni.o
ext/mbstring/libmbfl/nls/nls_zh.o ext/mysql/php_mysql.o ext/oci8/oci8.o
ext/pcntl/pcntl.o ext/pcntl/php_signal.o ext/pcre/pcrelib/maketables.o
ext/pcre/pcrelib/get.o ext/pcre/pcrelib/study.o ext/pcre/pcrelib/pcre.o
ext/pcre/php_pcre.o ext/posix/posix.o ext/readline/readline.o
ext/session/session.o ext/session/mod_files.o ext/session/mod_mm.o
ext/session/mod_user.o ext/simplexml/simplexml.o ext/sockets/sockets.o
ext/sqlite/sqlite.o ext/sqlite/sess_sqlite.o
ext/sqlite/libsqlite/src/opcodes.o ext/sqlite/libsqlite/src/p.o
ext/sqlite/libsqlite/src/encode.o ext/sqlite/libsqlite/src/auth.o
ext/sqlite/libsqlite/src/btree.o ext/sqlite/libsqlite/src/build.o
ext/sqlite/libsqlite/src/delete.o ext/sqlite/libsqlite/src/expr.o
ext/sqlite/libsqlite/src/func.o ext/sqlite/libsqlite/src/hash.o
ext/sqlite/libsqlite/src/insert.o ext/sqlite/libsqlite/src/main.o
ext/sqlite/libsqlite/src/os.o ext/sqlite/libsqlite/src/pager.o
ext/sqlite/libsqlite/src/printf.o ext/sqlite/libsqlite/src/random.o
ext/sqlite/libsqlite/src/select.o ext/sqlite/libsqlite/src/table.o
ext/sqlite/libsqlite/src/tokenize.o ext/sqlite/libsqlite/src/update.o
ext/sqlite/libsqlite/src/util.o ext/sqlite/libsqlite/src/vdbe.o
ext/sqlite/libsqlite/src/attach.o ext/sqlite/libsqlite/src/btree_rb.o
ext/sqlite/libsqlite/src/pragma.o ext/sqlite/libsqlite/src/vacuum.o
ext/sqlite/libsqlite/src/copy.o ext/sqlite/libsqlite/src/where.o
ext/sqlite/libsqlite/src/trigger.o regex/regcomp.o regex/regexec.o
regex/regerror.o regex/regfree.o ext/standard/array.o
ext/standard/base64.o ext/standard/basic_functions.o
ext/standard/browscap.o ext/standard/crc32.o ext/standard/crypt.o
ext/standard/cyr_convert.o ext/standard/datetime.o ext/standard/dir.o
ext/standard/dl.o ext/standard/dns.o ext/standard/exec.o
ext/standard/file.o ext/standard/filestat.o ext/standard/flock_compat.o
ext/standard/formatted_print.o ext/standard/fsock.o ext/standard/head.o
ext/standard/html.o ext/standard/image.o ext/standard/info.o
ext/standard/iptc.o ext/standard/lcg.o ext/standard/link.o
ext/standard/mail.o ext/standard/math.o ext/standard/md5.o
ext/standard/metaphone.o ext/standard/microtime.o
ext/standard/pack.o ext/standard/pageinfo.o ext/standard/pdate.o
ext/standard/quot_print.o ext/standard/rand.o ext/standard/reg.o
ext/standard/soundex.o ext/standard/string.o ext/standard/scanf.o
ext/standard/syslog.o ext/standard/type.o ext/standard/uniqid.o
ext/standard/url.o ext/standard/url_scanner.o ext/standard/var.o
ext/standard/versioning.o ext/standard/assert.o
ext/standard/strnatcmp.o ext/standard/levenshtein.o
ext/standard/incomplete_class.o ext/standard/url_scanner_ex.o
ext/standard/ftp_fopen_wrapper.o ext/standard/http_fopen_wrapper.o
ext/standard/php_fopen_wrapper.o ext/standard/credits.o
ext/standard/css.o ext/standard/var_unserializer.o ext/standard/ftok.o
ext/standard/sha1.o ext/standard/user_filters.o ext/standard/filters.o
ext/standard/proc_open.o ext/standard/sunfuncs.o
ext/standard/streamsfuncs.o ext/standard/http.o ext/sysvmsg/sysvmsg.o
ext/sysvsem/sysvsem.o ext/sysvshm/sysvshm.o ext/tokenizer/tokenizer.o
ext/xml/xml.o ext/xml/compat.o ext/yp/yp.o TSRM/TSRM.o
TSRM/tsrm_strtok_r.o TSRM/tsrm_virtual_cwd.o main/main.o
main/snprintf.o main/spprintf.o main/php_sprintf.o main/safe_mode.o
main/fopen_wrappers.o main/alloca.o main/php_scandir.o main/php_ini.o
main/SAPI.o main/rfc1867.o main/php_content_types.o main/strlcpy.o
main/strlcat.o main/mergesort.o main/reentrancy.o main/php_variables.o
main/php_ticks.o main/network.o main/php_open_temporary_file.o
main/php_logos.o main/output.o main/streams/streams.o
main/streams/cast.o main/streams/memory.o main/streams/filter.o
main/streams/plain_wrapper.o main/streams/userspace.o
main/streams/transports.o main/streams/xp_socket.o main/streams/mmap.o
Zend/zend_language_pr.o Zend/zend_language_scanner.o
Zend/zend_ini_pr.o Zend/zend_ini_scanner.o Zend/zend_alloc.o
Zend/zend_compile.o Zend/zend_constants.o Zend/zend_dynamic_array.o
Zend/zend_execute_API.o Zend/zend_highlight.o Zend/zend_llist.o
Zend/zend_opcode.o Zend/zend_operators.o Zend/zend_ptr_stack.o
Zend/zend_stack.o Zend/zend_variables.o Zend/zend.o Zend/zend_API.o
Zend/zend_extensions.o Zend/zend_hash.o Zend/zend_list.o
Zend/zend_indent.o Zend/zend_builtin_functions.o Zend/zend_sprintf.o
Zend/zend_ini.o Zend/zend_qsort.o Zend/zend_multibyte.o
Zend/zend_ts_hash.o Zend/zend_stream.o Zend/zend_iterators.o
Zend/zend_interfaces.o Zend/zend_objects.o Zend/zend_object_handlers.o
Zend/zend_objects_API.o Zend/zend_mm.o Zend/zend_default_classes.o
Zend/zend_reflection_api.o Zend/zend_execute.o sapi/cgi/cgi_main.o
sapi/cgi/getopt.o main/internal_functions.o -o sapi/cgi/php
-L/usr/ucblib
-L/sw/es-tools/pkg/gcc-3.2/5.9/lib/gcc-lib/sparc-sun-solaris2.9/3.2
-L/sw/es-tools//lib -L/usr/local/libxml/sparc/lib -L/usr/local/lib
-L/mysql/lib -L/oracle/product/8.1.7/lib -lnsl -lhistory -lreadline
-ltermcap -lmysqlclient /usr/local/lib/libldap.so -lnsl -lsocket -ldl
/usr/local/lib/liblber.so -lbz2 -lz -lresolv -lm -ldl -lnsl -lsocket
-lgcc -lz -lm -lsocket -lnsl -lz -lm -lsocket -lnsl -lz -lm -lsocket
-lnsl -lz -lm -lsocket -lnsl -lnsl -lsocket -lgen -ldl -lsched -lclntsh
-lz -lm -lsocket -lnsl -lz -lm -lsocket -lnsl
/usr/local/libxml/sparc/lib/libxml2.so -lpthread -lz -lm -lsocket -lnsl
-lz -lm -lsocket -lnsl -R/usr/local/lib -R/usr/local/libxml/sparc/lib
-R/usr/local/lib -R/usr/local/libxml/sparc/lib -R/usr/ucblib
-R/sw/es-tools/pkg/gcc-3.2/5.9/lib/gcc-lib/sparc-sun-solaris2.9/3.2
-R/sw/es-tools//lib -R/mysql/lib -R/oracle/product/8.1.7/lib
Undefined first referenced
symbol in file
SERIALIZE_SHORT ext/mbstring/oniguruma/regcomp.o
GET_SHORT_INC ext/mbstring/oniguruma/regexec.o
ld: fatal: Symbol referencing errors. No output written to
sapi/cgi/php
collect2: ld returned 1 exit status
gmake: *** [sapi/cgi/php] Error 1



------------------------------------------------------------------------


--
Edit this bug report at [url]http://bugs.php.net/?id=25965&edit=1[/url]