Ticket #183: XCache_Build.log

File XCache_Build.log, 8.5 KB (added by shinji, 10 years ago)

Build Log

1[shinji@WL-001E8C3E002C xcache-1.2.2]$ phpize
2Configuring for:
3PHP Api Version:         20041225
4Zend Module Api No:      20060613
5Zend Extension Api No:   220060519
6Use of uninitialized value in split at /opt/lib/perl5/5.8.8/mipsel-linux/DynaLoader.pm line 80.
7Use of uninitialized value in split at /opt/lib/perl5/5.8.8/mipsel-linux/DynaLoader.pm line 80.
8[shinji@WL-001E8C3E002C xcache-1.2.2]$ ./configure --enable-xcache
9checking for grep that handles long lines and -e... /opt/bin/grep
10checking for egrep... /opt/bin/grep -E
11checking for a sed that does not truncate output... /opt/bin/sed
12checking for gcc... gcc
13checking for C compiler default output file name... a.out
14checking whether the C compiler works... yes
15checking whether we are cross compiling... no
16checking for suffix of executables...
17checking for suffix of object files... o
18checking whether we are using the GNU C compiler... yes
19checking whether gcc accepts -g... yes
20checking for gcc option to accept ISO C89... none needed
21checking whether gcc and cc understand -c and -o together... yes
22checking for system library directory... lib
23checking if compiler supports -R... no
24checking if compiler supports -Wl,-rpath,... yes
25checking build system type... mipsel-unknown-linux-gnu
26checking host system type... mipsel-unknown-linux-gnu
27checking target system type... mipsel-unknown-linux-gnu
28checking for PHP prefix... /opt
29checking for PHP includes... -I/opt/include/php -I/opt/include/php/main -I/opt/include/php/TSRM -I/opt/include/php/Zend -I/opt/include/php/ext -I/opt/include/php/ext/date/lib
30checking for PHP extension directory... /opt/lib/php/extensions
31checking for PHP installed headers prefix... /opt/include/php
32checking for re2c... re2c
33checking for re2c version... 0.13.5 (ok)
34checking for gawk... gawk
35checking for XCache support... yes, shared
36checking for XCache handle of compile time constant... yes
37checking for XCache optimizer... no
38checking for XCache coverager... no
39checking for XCache assembler... no
40checking for XCache disassembler... no
41checking for XCache encoder... no
42checking for XCache decoder... no
43checking for XCache self test... no
44checking for XCache self test... no
45checking for gawk... /opt/bin/gawk
46checking for m4... /opt/bin/m4
47checking for grep... (cached) /opt/bin/grep
48checking for sed... /opt/bin/sed
49checking for indent... no
50checking for cat... /opt/bin/cat
51checking if you have opcode_spec_def.h for XCache... yes
52checking for ld used by gcc... /opt/bin/ld
53checking if the linker (/opt/bin/ld) is GNU ld... yes
54checking for /opt/bin/ld option to reload object files... -r
55checking for BSD-compatible nm... /opt/bin/nm -B
56checking whether ln -s works... yes
57checking how to recognise dependent libraries... pass_all
58checking how to run the C preprocessor... gcc -E
59checking for ANSI C header files... yes
60checking for sys/types.h... yes
61checking for sys/stat.h... yes
62checking for stdlib.h... yes
63checking for string.h... yes
64checking for memory.h... yes
65checking for strings.h... yes
66checking for inttypes.h... yes
67checking for stdint.h... yes
68checking for unistd.h... yes
69checking dlfcn.h usability... yes
70checking dlfcn.h presence... yes
71checking for dlfcn.h... yes
72checking the maximum length of command line arguments... 32768
73checking command to parse /opt/bin/nm -B output from gcc object... ok
74checking for objdir... .libs
75checking for ar... ar
76checking for ranlib... ranlib
77checking for strip... strip
78checking if gcc static flag  works... yes
79checking if gcc supports -fno-rtti -fno-exceptions... no
80checking for gcc option to produce PIC... -fPIC
81checking if gcc PIC flag -fPIC works... yes
82checking if gcc supports -c -o file.o... yes
83checking whether the gcc linker (/opt/bin/ld) supports shared libraries... yes
84checking whether -lc should be explicitly linked in... no
85checking dynamic linker characteristics... GNU/Linux ld.so
86checking how to hardcode library paths into programs... immediate
87checking whether stripping libraries is possible... yes
88checking if libtool supports shared libraries... yes
89checking whether to build shared libraries... yes
90checking whether to build static libraries... no
92creating libtool
93appending configuration tag "CXX" to libtool
94configure: creating ./config.status
95config.status: creating config.h
96[shinji@WL-001E8C3E002C xcache-1.2.2]$ make
97gcc -I. -I/opt/tmp/xcache-1.2.2 -DPHP_ATOM_INC -I/opt/tmp/xcache-1.2.2/include -I/opt/tmp/xcache-1.2.2/main -I/opt/tmp/xcache-1.2.2 -I/opt/include/php -I/opt/include/php/main -I/opt/include/php/TSRM -I/opt/include/php/Zend -I/opt/include/php/ext -I/opt/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2  -E /opt/tmp/xcache-1.2.2/includes.c -o ./includes.i
98./structinfo.m4 is optional if XCache test is not enabled, feel free if it awk failed to produce it
99LANG=C /opt/bin/gawk -f /opt/tmp/xcache-1.2.2/mkstructinfo.awk < ./includes.i > ./structinfo.m4.tmp && mv -f ./structinfo.m4.tmp ./structinfo.m4
100/opt/bin/m4 -B 102400 -D srcdir="/opt/tmp/xcache-1.2.2" -D builddir="."  /opt/tmp/xcache-1.2.2/processor/main.m4 > ./processor.out.tmp
101Warning: `m4 -B' may be removed in a future release
102AUTOCHECK INFO: runtime autocheck Disabled (optimized build)
103AUTOCHECK INFO: zend_compiled_variable: processor looks good
104AUTOCHECK INFO: zend_try_catch_element: processor looks good
105AUTOCHECK INFO: zend_brk_cont_element: processor looks good
106AUTOCHECK INFO: HashTable: processor looks good
107AUTOCHECK INFO: zval: processor looks good
108AUTOCHECK INFO: zend_arg_info: processor looks good
109AUTOCHECK INFO: zend_constant: processor looks good
110AUTOCHECK INFO: zend_property_info: processor looks good
111AUTOCHECK INFO: zend_class_entry: processor looks good
112AUTOCHECK INFO: znode: processor looks good
113AUTOCHECK INFO: zend_op: processor looks good
114AUTOCHECK INFO: zend_op_array: processor looks good
115AUTOCHECK INFO: xc_constinfo_t: processor looks good
116AUTOCHECK INFO: xc_funcinfo_t: processor looks good
117AUTOCHECK INFO: xc_classinfo_t: processor looks good
118AUTOCHECK INFO: xc_autoglobal_t: processor looks good
119AUTOCHECK INFO: xc_entry_data_php_t: processor looks good
120AUTOCHECK INFO: xc_entry_data_var_t: processor looks good
121AUTOCHECK INFO: xc_entry_t: processor looks good
122mv -f ./processor.out.tmp ./processor.out
123/opt/bin/grep 'export: ' ./processor.out | /opt/bin/sed 's/.*export:\(.*\):export.*/\1/g' | cat > ./processor.h.tmp
124mv -f ./processor.h.tmp ./processor.h
125cat < ./processor.out > ./processor_real.c.tmp
126mv -f ./processor_real.c.tmp ./processor_real.c
127/opt/bin/sh /opt/tmp/xcache-1.2.2/libtool --mode=compile gcc  -I. -I/opt/tmp/xcache-1.2.2 -DPHP_ATOM_INC -I/opt/tmp/xcache-1.2.2/include -I/opt/tmp/xcache-1.2.2/main -I/opt/tmp/xcache-1.2.2 -I/opt/include/php -I/opt/include/php/main -I/opt/include/php/TSRM -I/opt/include/php/Zend -I/opt/include/php/ext -I/opt/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /opt/tmp/xcache-1.2.2/processor.c -o processor.lo
128mkdir .libs
129 gcc -I. -I/opt/tmp/xcache-1.2.2 -DPHP_ATOM_INC -I/opt/tmp/xcache-1.2.2/include -I/opt/tmp/xcache-1.2.2/main -I/opt/tmp/xcache-1.2.2 -I/opt/include/php -I/opt/include/php/main -I/opt/include/php/TSRM -I/opt/include/php/Zend -I/opt/include/php/ext -I/opt/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /opt/tmp/xcache-1.2.2/processor.c  -fPIC -DPIC -o .libs/processor.o
130/opt/bin/sh /opt/tmp/xcache-1.2.2/libtool --mode=compile gcc  -I. -I/opt/tmp/xcache-1.2.2 -DPHP_ATOM_INC -I/opt/tmp/xcache-1.2.2/include -I/opt/tmp/xcache-1.2.2/main -I/opt/tmp/xcache-1.2.2 -I/opt/include/php -I/opt/include/php/main -I/opt/include/php/TSRM -I/opt/include/php/Zend -I/opt/include/php/ext -I/opt/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /opt/tmp/xcache-1.2.2/xcache.c -o xcache.lo
131 gcc -I. -I/opt/tmp/xcache-1.2.2 -DPHP_ATOM_INC -I/opt/tmp/xcache-1.2.2/include -I/opt/tmp/xcache-1.2.2/main -I/opt/tmp/xcache-1.2.2 -I/opt/include/php -I/opt/include/php/main -I/opt/include/php/TSRM -I/opt/include/php/Zend -I/opt/include/php/ext -I/opt/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /opt/tmp/xcache-1.2.2/xcache.c  -fPIC -DPIC -o .libs/xcache.o
132/opt/tmp/xcache-1.2.2/xcache.c: In function 'xc_fillinfo_dmz':
133/opt/tmp/xcache-1.2.2/xcache.c:451: error: 'avail' undeclared (first use in this function)
134/opt/tmp/xcache-1.2.2/xcache.c:451: error: (Each undeclared identifier is reported only once
135/opt/tmp/xcache-1.2.2/xcache.c:451: error: for each function it appears in.)
136/opt/tmp/xcache-1.2.2/xcache.c: At top level:
137/opt/tmp/xcache-1.2.2/xcache.c:2780: warning: initialization discards qualifiers from pointer target type
138/opt/tmp/xcache-1.2.2/xcache.c: In function 'xcache_zend_startup':
139/opt/tmp/xcache-1.2.2/xcache.c:2849: warning: comparison of distinct pointer types lacks a cast
140make: *** [xcache.lo] Error 1