Edit report at https://bugs.php.net/bug.php?id=62692&edit=1

 ID:                 62692
 Comment by:         eugene at zhegan dot in
 Reported by:        eugene at zhegan dot in
 Summary:            PHP fails to build with dtrace
 Status:             Verified
 Type:               Bug
 Package:            *General Issues
 Operating System:   Solaris 10 x86
 PHP Version:        5.4.5
 Assigned To:        dsp
 Block user comment: N
 Private report:     N

 New Comment:

For 5.3.x - yes (it's not functional though, it loads but no probes are 
available). For 5.4.x - nope, I though that since there's an option to actually 
build PHP with DTRace, there's no need to build a PECL extension (which wasn't 
working for me in 5.3.x, I filled a bug and even tried to reach the authors via 
e-mail, so why bother).


Previous Comments:
------------------------------------------------------------------------
[2012-12-06 21:41:30] d...@php.net

Did you build any module as shared?

------------------------------------------------------------------------
[2012-12-06 21:41:17] d...@php.net

This bug is about the dtrace probes in core not the PECL package.

------------------------------------------------------------------------
[2012-09-14 15:46:48] eugene at zhegan dot in

Okay. Here are a bit more detailed instruction about how to actually and 
successfully build php with dtrace on Solaris. On Solaris Solaris, not on a 
dead body of Opensolaris or on shiny and rare Openindiana.

- Run configure with --enable-dtrace.

- You will probably need to use bundled gd, not system or installed from 
source, so use --with-gd, whithout a directory.

- It should work fine (actually, there are plenty of ways for it to fail 
depending on the various options, but let's assume you know how to build php on 
Solaris from sources and you're trying to build it with dtrace for now).

- Now you need to patch the Makefile the configure just created for you. Why ? 
Because Solaris sed doesn't have an -i switch. You can patch the Makefile as 
described here: https://bugs.php.net/bug.php?id=62691 or you can just install 
the GNU sed and make it appear in the PATH before the system sed.

- Now you can actually start building php, but read first this: 
https://bugs.php.net/bug.php?id=61268 . I'll make it easier: due to the fact 
that building will crash (see below) twice (see below :) ) you will need to 
prevent the zend_dtrace.d probe file from clobbering, due to the nature of 
gmake and some issues in the Makefile. :) This is done by using the '-r' 
switch, which prevents the make builtin rules from firing.

- Use gmake, it will make your life even more easier.

- Thus, you can run 'gmake -r' now and wait for it to crash.

- It will crash somewhere around making pfp-fpm (if you ordered this sapi) and 
the crash lines won't be similar the initial error in this report. The crash 
lines from the start of this report are caused by some clobbering and not using 
'gmake -r'. You should see a crash like this:

Undefined                       first referenced
 symbol                             in file
__dtraceenabled_php___execute__entry Zend/.libs/zend_dtrace.o
__dtraceenabled_php___execute__return Zend/.libs/zend_dtrace.o
__dtrace_php___compile__file__return Zend/.libs/zend_dtrace.o
__dtrace_php___exception__thrown    Zend/.libs/zend_exceptions.o
__dtrace_php___error                Zend/.libs/zend.o
__dtrace_php___function__entry      Zend/.libs/zend_dtrace.o
__dtrace_php___function__return     Zend/.libs/zend_dtrace.o
__dtrace_php___request__shutdown    main/.libs/main.o
__dtrace_php___exception__caught    Zend/.libs/zend_execute.o
__dtrace_php___execute__return      Zend/.libs/zend_dtrace.o
__dtrace_php___request__startup     main/.libs/main.o
__dtraceenabled_php___exception__caught Zend/.libs/zend_execute.o
__dtrace_php___compile__file__entry Zend/.libs/zend_dtrace.o
__dtraceenabled_php___function__entry Zend/.libs/zend_dtrace.o
__dtrace_php___execute__entry       Zend/.libs/zend_dtrace.o
__dtraceenabled_php___error         Zend/.libs/zend.o
__dtraceenabled_php___function__return Zend/.libs/zend_dtrace.o
$dtrace18058.ZEND_CATCH_SPEC_CONST_CV_HANDLER Zend/zend_dtrace.d.o
__dtraceenabled_php___exception__thrown Zend/.libs/zend_exceptions.o
ld: fatal: Symbol referencing errors. No output written to sapi/cli/php
collect2: ld returned 1 exit status
gmake: *** [sapi/cli/php] Error 1

- lets discuss what is it and how to fix it. Somewhere over 9000 lines above 
the building process made this: 

dtrace -G -o Zend/zend_dtrace.d.o -s /home/emz/src/php-5.4.5/Zend/zend_dtrace.d 
main/main.o Zend/zend_API.o Zend/zend_execute.o Zend/zend_exceptions.o 
Zend/zend_dtrace.o Zend/zend.o

What is this ? This is the creation of the ELF binary with dtrace probes AND 
updating of the source object files. This is important. But these source object 
files at this point are already copied in the .libs directory, which linker is 
using at the final stage and where it does crash. They should be updated after 
running dtrace -G but they are not. In order to fix the building you should do 
it by hand:

- copy the files:

Zend/zend_API.o
Zend/zend_execute.o
Zend/zend_exceptions.o
Zend/zend_dtrace.o
Zend/zend.o

to the Zend/.libs

- copy the file

main/main.o

to the main/.libs. They should differ by the way fromthe targets you have in 
.libs.

- issue a 'gmake -r' in the top php source directory so the building will 
continue. Important: issuing just 'gmake' will clobber the Zend_dtrace.d file 
and you will lose it.

- it will crash again. with something like:

[...]
fpm_sockets.h:28: error: syntax error before numeric constant

- ZOMG again ? why is this ? This is because some bright guys made a variable 
in the modern part of the php code named 'sun'. It's in the fpm_sockets.c and 
.h files:

int fpm_socket_unix_test_connect(struct sockaddr_un *sun, size_t socklen)

- obviously, this name is already used and bind to a constant somewhere is 
Solaris Solaris (not in the Opensolaris, not in the Openindiana). o'rly ?

- change all the occurences of this variable in the fpm_sockets.c and 
fpm_sockets.h to some other name (I used 'sunn'). Be careful, change only the 
variables 'sun', not all the occurences of the 'sun*' (you will encounter 
'sun_*' and other stuff, don't touch it).

- gmake -r. This time it should finish the build.

- to be really honest, I wrote all of this for myself, so I won't lose 4 hours 
next time I will need to build php + dtrace on Solaris.

- however, I will be glad if this will save some time for someone.

- yup, I build it with gcc 3.x.

------------------------------------------------------------------------
[2012-08-04 09:35:44] reeze dot xia at gmail dot com

I can't reproduce it in Solaris 11,

according to the output, if it's the whole output, it seems you 
make before switch on --enable-dtrace. I thought, you could 

$ make clean && make

------------------------------------------------------------------------
[2012-07-30 07:21:00] eugene at zhegan dot in

Description:
------------
PHP fails to build on Solaris with --enable-dtrace:

[root@japet /home/emz/src/php-5.4.5]# make
/bin/bash /home/emz/src/php-5.4.5/libtool --silent --preserve-dup-deps 
--mode=link /usr/sfw/bin/gcc -export-dynamic -I/usr/include -m64 -O 
-I/usr/local/freetype/include -I/usr/local/mysql/include 
-I/usr/local/gmp/include -I/usr/local/openssl/include -I/usr/local/curl/include 
-I/usr/local/c-client/include  -L/usr/ucblib 
-L/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3 -L/usr/local/openssl/lib 
-L/usr/local/freetype/lib -L/usr/local/mysql/lib/mysql  -R /usr/ucblib -R 
/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3 -R /usr/local/openssl/lib -R 
/usr/local/freetype/lib -R /usr/local/mysql/lib/mysql Zend/zend_dtrace.d.o 
ext/date/php_date.lo ext/date/lib/astro.lo ext/date/lib/dow.lo 
ext/date/lib/parse_date.lo ext/date/lib/parse_tz.lo ext/date/lib/timelib.lo 
ext/date/lib/tm2unixtime.lo ext/date/lib/unixtime2tm.lo 
ext/date/lib/parse_iso_intervals.lo ext/date/lib/interval.lo ext/ereg/ereg.lo 
ext/ereg/regex/regcomp.lo ext/ereg/regex/regexec.lo ext/ereg/regex/regerror.lo 
ext/ereg/regex/regfree.lo ext/libxml/libxml.lo 
ext/pcre/pcrelib/pcre_chartables.lo ext/pcre/pcrelib/pcre_ucd.lo 
ext/pcre/pcrelib/pcre_compile.lo ext/pcre/pcrelib/pcre_config.lo 
ext/pcre/pcrelib/pcre_exec.lo ext/pcre/pcrelib/pcre_fullinfo.lo 
ext/pcre/pcrelib/pcre_get.lo ext/pcre/pcrelib/pcre_globals.lo 
ext/pcre/pcrelib/pcre_info.lo ext/pcre/pcrelib/pcre_maketables.lo 
ext/pcre/pcrelib/pcre_newline.lo ext/pcre/pcrelib/pcre_ord2utf8.lo 
ext/pcre/pcrelib/pcre_refcount.lo ext/pcre/pcrelib/pcre_study.lo 
ext/pcre/pcrelib/pcre_tables.lo ext/pcre/pcrelib/pcre_try_flipped.lo 
ext/pcre/pcrelib/pcre_valid_utf8.lo ext/pcre/pcrelib/pcre_version.lo 
ext/pcre/pcrelib/pcre_xclass.lo ext/pcre/php_pcre.lo ext/sqlite3/sqlite3.lo 
ext/sqlite3/libsqlite/sqlite3.lo ext/zlib/zlib.lo 
ext/zlib/zlib_fopen_wrapper.lo ext/zlib/zlib_filter.lo ext/bcmath/bcmath.lo 
ext/bcmath/libbcmath/src/add.lo ext/bcmath/libbcmath/src/div.lo 
ext/bcmath/libbcmath/src/init.lo ext/bcmath/libbcmath/src/neg.lo 
ext/bcmath/libbcmath/src/outofmem.lo ext/bcmath/libbcmath/src/raisemod.lo 
ext/bcmath/libbcmath/src/rt.lo ext/bcmath/libbcmath/src/sub.lo 
ext/bcmath/libbcmath/src/compare.lo ext/bcmath/libbcmath/src/divmod.lo 
ext/bcmath/libbcmath/src/int2num.lo ext/bcmath/libbcmath/src/num2long.lo 
ext/bcmath/libbcmath/src/output.lo ext/bcmath/libbcmath/src/recmul.lo 
ext/bcmath/libbcmath/src/sqrt.lo ext/bcmath/libbcmath/src/zero.lo 
ext/bcmath/libbcmath/src/debug.lo ext/bcmath/libbcmath/src/doaddsub.lo 
ext/bcmath/libbcmath/src/nearzero.lo ext/bcmath/libbcmath/src/num2str.lo 
ext/bcmath/libbcmath/src/raise.lo ext/bcmath/libbcmath/src/rmzero.lo 
ext/bcmath/libbcmath/src/str2num.lo ext/calendar/calendar.lo 
ext/calendar/dow.lo ext/calendar/french.lo ext/calendar/gregor.lo 
ext/calendar/jewish.lo ext/calendar/julian.lo ext/calendar/easter.lo 
ext/calendar/cal_unix.lo ext/ctype/ctype.lo ext/dom/php_dom.lo ext/dom/attr.lo 
ext/dom/document.lo ext/dom/domerrorhandler.lo ext/dom/domstringlist.lo 
ext/dom/domexception.lo ext/dom/namelist.lo ext/dom/processinginstruction.lo 
ext/dom/cdatasection.lo ext/dom/documentfragment.lo 
ext/dom/domimplementation.lo ext/dom/element.lo ext/dom/node.lo 
ext/dom/string_extend.lo ext/dom/characterdata.lo ext/dom/documenttype.lo 
ext/dom/domimplementationlist.lo ext/dom/entity.lo ext/dom/nodelist.lo 
ext/dom/text.lo ext/dom/comment.lo ext/dom/domconfiguration.lo 
ext/dom/domimplementationsource.lo ext/dom/entityreference.lo 
ext/dom/notation.lo ext/dom/xpath.lo ext/dom/dom_iterators.lo 
ext/dom/typeinfo.lo ext/dom/domerror.lo ext/dom/domlocator.lo 
ext/dom/namednodemap.lo ext/dom/userdatahandler.lo ext/fileinfo/fileinfo.lo 
ext/fileinfo/libmagic/apprentice.lo ext/fileinfo/libmagic/apptype.lo 
ext/fileinfo/libmagic/ascmagic.lo ext/fileinfo/libmagic/cdf.lo 
ext/fileinfo/libmagic/cdf_time.lo ext/fileinfo/libmagic/compress.lo 
ext/fileinfo/libmagic/encoding.lo ext/fileinfo/libmagic/fsmagic.lo 
ext/fileinfo/libmagic/funcs.lo ext/fileinfo/libmagic/is_tar.lo 
ext/fileinfo/libmagic/magic.lo ext/fileinfo/libmagic/print.lo 
ext/fileinfo/libmagic/readcdf.lo ext/fileinfo/libmagic/readelf.lo 
ext/fileinfo/libmagic/softmagic.lo ext/filter/filter.lo 
ext/filter/sanitizing_filters.lo ext/filter/logical_filters.lo 
ext/filter/callback_filter.lo ext/ftp/php_ftp.lo ext/ftp/ftp.lo ext/gd/gd.lo 
ext/gd/libgd/gd.lo ext/gd/libgd/gd_gd.lo ext/gd/libgd/gd_gd2.lo 
ext/gd/libgd/gd_io.lo ext/gd/libgd/gd_io_dp.lo ext/gd/libgd/gd_io_file.lo 
ext/gd/libgd/gd_ss.lo ext/gd/libgd/gd_io_ss.lo ext/gd/libgd/webpimg.lo 
ext/gd/libgd/gd_webp.lo ext/gd/libgd/gd_png.lo ext/gd/libgd/gd_jpeg.lo 
ext/gd/libgd/gdxpm.lo ext/gd/libgd/gdfontt.lo ext/gd/libgd/gdfonts.lo 
ext/gd/libgd/gdfontmb.lo ext/gd/libgd/gdfontl.lo ext/gd/libgd/gdfontg.lo 
ext/gd/libgd/gdtables.lo ext/gd/libgd/gdft.lo ext/gd/libgd/gdcache.lo 
ext/gd/libgd/gdkanji.lo ext/gd/libgd/wbmp.lo ext/gd/libgd/gd_wbmp.lo 
ext/gd/libgd/gdhelpers.lo ext/gd/libgd/gd_topal.lo ext/gd/libgd/gd_gif_in.lo 
ext/gd/libgd/xbm.lo ext/gd/libgd/gd_gif_out.lo ext/gd/libgd/gd_security.lo 
ext/gd/libgd/gd_filter.lo ext/gd/libgd/gd_pixelate.lo ext/gd/libgd/gd_arc.lo 
ext/gd/libgd/gd_rotate.lo ext/gd/libgd/gd_color.lo ext/hash/hash.lo 
ext/hash/hash_md.lo ext/hash/hash_sha.lo ext/hash/hash_ripemd.lo 
ext/hash/hash_haval.lo ext/hash/hash_tiger.lo ext/hash/hash_gost.lo 
ext/hash/hash_snefru.lo ext/hash/hash_whirlpool.lo ext/hash/hash_adler32.lo 
ext/hash/hash_crc32.lo ext/hash/hash_fnv.lo ext/hash/hash_joaat.lo 
ext/iconv/iconv.lo ext/json/json.lo ext/json/utf8_to_utf16.lo 
ext/json/utf8_decode.lo ext/json/JSON_parser.lo 
ext/mbstring/oniguruma/regcomp.lo ext/mbstring/oniguruma/regerror.lo 
ext/mbstring/oniguruma/regexec.lo ext/mbstring/oniguruma/reggnu.lo 
ext/mbstring/oniguruma/regparse.lo ext/mbstring/oniguruma/regenc.lo 
ext/mbstring/oniguruma/regext.lo ext/mbstring/oniguruma/regsyntax.lo 
ext/mbstring/oniguruma/regtrav.lo ext/mbstring/oniguruma/regversion.lo 
ext/mbstring/oniguruma/st.lo ext/mbstring/oniguruma/enc/unicode.lo 
ext/mbstring/oniguruma/enc/ascii.lo ext/mbstring/oniguruma/enc/utf8.lo 
ext/mbstring/oniguruma/enc/euc_jp.lo ext/mbstring/oniguruma/enc/euc_tw.lo 
ext/mbstring/oniguruma/enc/euc_kr.lo ext/mbstring/oniguruma/enc/sjis.lo 
ext/mbstring/oniguruma/enc/iso8859_1.lo ext/mbstring/oniguruma/enc/iso8859_2.lo 
ext/mbstring/oniguruma/enc/iso8859_3.lo ext/mbstring/oniguruma/enc/iso8859_4.lo 
ext/mbstring/oniguruma/enc/iso8859_5.lo ext/mbstring/oniguruma/enc/iso8859_6.lo 
ext/mbstring/oniguruma/enc/iso8859_7.lo ext/mbstring/oniguruma/enc/iso8859_8.lo 
ext/mbstring/oniguruma/enc/iso8859_9.lo 
ext/mbstring/oniguruma/enc/iso8859_10.lo 
ext/mbstring/oniguruma/enc/iso8859_11.lo 
ext/mbstring/oniguruma/enc/iso8859_13.lo 
ext/mbstring/oniguruma/enc/iso8859_14.lo 
ext/mbstring/oniguruma/enc/iso8859_15.lo 
ext/mbstring/oniguruma/enc/iso8859_16.lo ext/mbstring/oniguruma/enc/koi8.lo 
ext/mbstring/oniguruma/enc/koi8_r.lo ext/mbstring/oniguruma/enc/big5.lo 
ext/mbstring/oniguruma/enc/utf16_be.lo ext/mbstring/oniguruma/enc/utf16_le.lo 
ext/mbstring/oniguruma/enc/utf32_be.lo ext/mbstring/oniguruma/enc/utf32_le.lo 
ext/mbstring/libmbfl/filters/html_entities.lo 
ext/mbstring/libmbfl/filters/mbfilter_7bit.lo 
ext/mbstring/libmbfl/filters/mbfilter_ascii.lo 
ext/mbstring/libmbfl/filters/mbfilter_base64.lo 
ext/mbstring/libmbfl/filters/mbfilter_big5.lo 
ext/mbstring/libmbfl/filters/mbfilter_byte2.lo 
ext/mbstring/libmbfl/filters/mbfilter_byte4.lo 
ext/mbstring/libmbfl/filters/mbfilter_cp1251.lo 
ext/mbstring/libmbfl/filters/mbfilter_cp1252.lo 
ext/mbstring/libmbfl/filters/mbfilter_cp1254.lo 
ext/mbstring/libmbfl/filters/mbfilter_cp5022x.lo 
ext/mbstring/libmbfl/filters/mbfilter_cp51932.lo 
ext/mbstring/libmbfl/filters/mbfilter_cp850.lo 
ext/mbstring/libmbfl/filters/mbfilter_cp866.lo 
ext/mbstring/libmbfl/filters/mbfilter_cp932.lo 
ext/mbstring/libmbfl/filters/mbfilter_cp936.lo 
ext/mbstring/libmbfl/filters/mbfilter_gb18030.lo 
ext/mbstring/libmbfl/filters/mbfilter_euc_cn.lo 
ext/mbstring/libmbfl/filters/mbfilter_euc_jp.lo 
ext/mbstring/libmbfl/filters/mbfilter_euc_jp_2004.lo 
ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.lo 
ext/mbstring/libmbfl/filters/mbfilter_euc_kr.lo 
ext/mbstring/libmbfl/filters/mbfilter_euc_tw.lo 
ext/mbstring/libmbfl/filters/mbfilter_htmlent.lo 
ext/mbstring/libmbfl/filters/mbfilter_hz.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_2004.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso8859_1.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso8859_10.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso8859_13.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso8859_14.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso8859_15.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso8859_16.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso8859_2.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso8859_3.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso8859_4.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso8859_5.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso8859_6.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso8859_7.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso8859_8.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso8859_9.lo 
ext/mbstring/libmbfl/filters/mbfilter_jis.lo 
ext/mbstring/libmbfl/filters/mbfilter_koi8r.lo 
ext/mbstring/libmbfl/filters/mbfilter_armscii8.lo 
ext/mbstring/libmbfl/filters/mbfilter_qprint.lo 
ext/mbstring/libmbfl/filters/mbfilter_sjis.lo 
ext/mbstring/libmbfl/filters/mbfilter_sjis_open.lo 
ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.lo 
ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.lo 
ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.lo 
ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.lo 
ext/mbstring/libmbfl/filters/mbfilter_ucs2.lo 
ext/mbstring/libmbfl/filters/mbfilter_ucs4.lo 
ext/mbstring/libmbfl/filters/mbfilter_uhc.lo 
ext/mbstring/libmbfl/filters/mbfilter_utf16.lo 
ext/mbstring/libmbfl/filters/mbfilter_utf32.lo 
ext/mbstring/libmbfl/filters/mbfilter_utf7.lo 
ext/mbstring/libmbfl/filters/mbfilter_utf7imap.lo 
ext/mbstring/libmbfl/filters/mbfilter_utf8.lo 
ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.lo 
ext/mbstring/libmbfl/filters/mbfilter_uuencode.lo 
ext/mbstring/libmbfl/filters/mbfilter_koi8u.lo 
ext/mbstring/libmbfl/mbfl/mbfilter.lo 
ext/mbstring/libmbfl/mbfl/mbfilter_8bit.lo 
ext/mbstring/libmbfl/mbfl/mbfilter_pass.lo 
ext/mbstring/libmbfl/mbfl/mbfilter_wchar.lo 
ext/mbstring/libmbfl/mbfl/mbfl_convert.lo 
ext/mbstring/libmbfl/mbfl/mbfl_encoding.lo 
ext/mbstring/libmbfl/mbfl/mbfl_filter_output.lo 
ext/mbstring/libmbfl/mbfl/mbfl_ident.lo 
ext/mbstring/libmbfl/mbfl/mbfl_language.lo 
ext/mbstring/libmbfl/mbfl/mbfl_memory_device.lo 
ext/mbstring/libmbfl/mbfl/mbfl_string.lo 
ext/mbstring/libmbfl/mbfl/mbfl_allocators.lo ext/mbstring/libmbfl/nls/nls_de.lo 
ext/mbstring/libmbfl/nls/nls_en.lo ext/mbstring/libmbfl/nls/nls_ja.lo 
ext/mbstring/libmbfl/nls/nls_kr.lo ext/mbstring/libmbfl/nls/nls_neutral.lo 
ext/mbstring/libmbfl/nls/nls_ru.lo ext/mbstring/libmbfl/nls/nls_uni.lo 
ext/mbstring/libmbfl/nls/nls_zh.lo ext/mbstring/libmbfl/nls/nls_hy.lo 
ext/mbstring/libmbfl/nls/nls_tr.lo ext/mbstring/libmbfl/nls/nls_ua.lo 
ext/mbstring/mbstring.lo ext/mbstring/php_unicode.lo ext/mbstring/mb_gpc.lo 
ext/mbstring/php_mbregex.lo ext/mysql/php_mysql.lo ext/mysqli/mysqli.lo 
ext/mysqli/mysqli_api.lo ext/mysqli/mysqli_prop.lo ext/mysqli/mysqli_nonapi.lo 
ext/mysqli/mysqli_fe.lo ext/mysqli/mysqli_report.lo ext/mysqli/mysqli_driver.lo 
ext/mysqli/mysqli_warning.lo ext/mysqli/mysqli_exception.lo 
ext/mysqli/mysqli_result_iterator.lo ext/pcntl/pcntl.lo ext/pcntl/php_signal.lo 
ext/pdo/pdo.lo ext/pdo/pdo_dbh.lo ext/pdo/pdo_stmt.lo ext/pdo/pdo_sql_parser.lo 
ext/pdo/pdo_sqlstate.lo ext/pdo_mysql/pdo_mysql.lo 
ext/pdo_mysql/mysql_driver.lo ext/pdo_mysql/mysql_statement.lo 
ext/pdo_sqlite/pdo_sqlite.lo ext/pdo_sqlite/sqlite_driver.lo 
ext/pdo_sqlite/sqlite_statement.lo ext/phar/util.lo ext/phar/tar.lo 
ext/phar/zip.lo ext/phar/stream.lo ext/phar/func_interceptors.lo 
ext/phar/dirstream.lo ext/phar/phar.lo ext/phar/phar_object.lo 
ext/phar/phar_path_check.lo ext/posix/posix.lo ext/reflection/php_reflection.lo 
ext/session/mod_user_class.lo ext/session/session.lo ext/session/mod_files.lo 
ext/session/mod_mm.lo ext/session/mod_user.lo ext/simplexml/simplexml.lo 
ext/simplexml/sxe.lo ext/soap/soap.lo ext/soap/php_encoding.lo 
ext/soap/php_http.lo ext/soap/php_packet_soap.lo ext/soap/php_schema.lo 
ext/soap/php_sdl.lo ext/soap/php_xml.lo ext/spl/php_spl.lo 
ext/spl/spl_functions.lo ext/spl/spl_engine.lo ext/spl/spl_iterators.lo 
ext/spl/spl_array.lo ext/spl/spl_directory.lo ext/spl/spl_exceptions.lo 
ext/spl/spl_observer.lo ext/spl/spl_dllist.lo ext/spl/spl_heap.lo 
ext/spl/spl_fixedarray.lo ext/standard/crypt_freesec.lo 
ext/standard/crypt_blowfish.lo ext/standard/crypt_sha512.lo 
ext/standard/crypt_sha256.lo ext/standard/php_crypt_r.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/quot_print.lo ext/standard/rand.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/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/sha1.lo 
ext/standard/user_filters.lo ext/standard/uuencode.lo ext/standard/filters.lo 
ext/standard/proc_open.lo ext/standard/streamsfuncs.lo ext/standard/http.lo 
ext/tokenizer/tokenizer.lo ext/tokenizer/tokenizer_data.lo ext/xml/xml.lo 
ext/xml/compat.lo ext/xmlreader/php_xmlreader.lo ext/xmlwriter/php_xmlwriter.lo 
ext/mysqlnd/mysqlnd.lo ext/mysqlnd/mysqlnd_alloc.lo ext/mysqlnd/mysqlnd_bt.lo 
ext/mysqlnd/mysqlnd_charset.lo ext/mysqlnd/mysqlnd_wireprotocol.lo 
ext/mysqlnd/mysqlnd_loaddata.lo ext/mysqlnd/mysqlnd_reverse_api.lo 
ext/mysqlnd/mysqlnd_net.lo ext/mysqlnd/mysqlnd_statistics.lo 
ext/mysqlnd/mysqlnd_driver.lo ext/mysqlnd/mysqlnd_ext_plugin.lo 
ext/mysqlnd/mysqlnd_auth.lo ext/mysqlnd/mysqlnd_result.lo 
ext/mysqlnd/mysqlnd_result_meta.lo ext/mysqlnd/mysqlnd_debug.lo 
ext/mysqlnd/mysqlnd_block_alloc.lo ext/mysqlnd/mysqlnd_plugin.lo 
ext/mysqlnd/php_mysqlnd.lo ext/mysqlnd/mysqlnd_ps.lo 
ext/mysqlnd/mysqlnd_ps_codec.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/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/network.lo 
main/php_open_temporary_file.lo main/php_logos.lo main/output.lo main/getopt.lo 
main/streams/streams.lo main/streams/cast.lo main/streams/memory.lo 
main/streams/filter.lo main/streams/plain_wrapper.lo main/streams/userspace.lo 
main/streams/transports.lo main/streams/xp_socket.lo main/streams/mmap.lo 
main/streams/glob_wrapper.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_dtrace.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_ts_hash.lo 
Zend/zend_stream.lo Zend/zend_iterators.lo Zend/zend_interfaces.lo 
Zend/zend_exceptions.lo Zend/zend_strtod.lo Zend/zend_gc.lo 
Zend/zend_closures.lo Zend/zend_float.lo Zend/zend_string.lo 
Zend/zend_signal.lo Zend/zend_objects.lo Zend/zend_object_handlers.lo 
Zend/zend_objects_API.lo Zend/zend_default_classes.lo Zend/zend_execute.lo 
main/internal_functions_cli.lo sapi/cli/php_cli.lo sapi/cli/php_http_parser.lo 
sapi/cli/php_cli_server.lo -lresolv -lrt -lmysqlclient -lfreetype -lpng -lz 
-ljpeg -lcrypto -lssl -lcrypto -lz -lrt -lm -lnsl -lsocket -lrt -lgcc -lxml2 
-lz -lm -lsocket -lnsl -lxml2 -lz -lm -lsocket -lnsl -lmysqlclient -lz -lposix4 
-lsocket -lnsl -lm -lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm -lsocket -lnsl 
-lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm 
-lsocket -lnsl  -o sapi/cli/php
Undefined                       first referenced
 symbol                             in file
DTRACE_EXECUTE_ENTRY_ENABLED        Zend/.libs/zend_dtrace.o
DTRACE_COMPILE_FILE_ENTRY           Zend/.libs/zend_dtrace.o
DTRACE_COMPILE_FILE_RETURN          Zend/.libs/zend_dtrace.o
DTRACE_FUNCTION_RETURN              Zend/.libs/zend_dtrace.o
DTRACE_REQUEST_SHUTDOWN             main/.libs/main.o
DTRACE_FUNCTION_ENTRY               Zend/.libs/zend_dtrace.o
DTRACE_FUNCTION_RETURN_ENABLED      Zend/.libs/zend_dtrace.o
DTRACE_EXCEPTION_THROWN_ENABLED     Zend/.libs/zend_exceptions.o
DTRACE_EXCEPTION_THROWN             Zend/.libs/zend_exceptions.o
DTRACE_EXECUTE_ENTRY                Zend/.libs/zend_dtrace.o
DTRACE_ERROR_ENABLED                Zend/.libs/zend.o
DTRACE_REQUEST_STARTUP              main/.libs/main.o
DTRACE_EXECUTE_RETURN_ENABLED       Zend/.libs/zend_dtrace.o
DTRACE_EXCEPTION_CAUGHT_ENABLED     Zend/.libs/zend_execute.o
DTRACE_EXECUTE_RETURN               Zend/.libs/zend_dtrace.o
DTRACE_EXCEPTION_CAUGHT             Zend/.libs/zend_execute.o
DTRACE_FUNCTION_ENTRY_ENABLED       Zend/.libs/zend_dtrace.o
DTRACE_ERROR                        Zend/.libs/zend.o
ld: fatal: Symbol referencing errors. No output written to sapi/cli/php
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `sapi/cli/php'



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



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=62692&edit=1

Reply via email to