|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2009-11-18 20:25 UTC] dathan at rockyou dot com
Description:
------------
What version of libdrizzle should be used. I am using libdrizzle-0.5.tar.gz
pecl install channel://pecl.php.net/drizzle-0.4.1
WARNING: channel "pecl.php.net" has updated its protocols, use "channel-update pecl.php.net" to update
downloading drizzle-0.4.1.tgz ...
Starting to download drizzle-0.4.1.tgz (24,325 bytes)
........done: 24,325 bytes
3 source files, building
running: phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
building in /var/tmp/pear-build-root/drizzle-0.4.1
running: /tmp/pear/download/drizzle-0.4.1/configure
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether gcc and cc understand -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking target system type... x86_64-redhat-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib64/php/modules
checking for PHP installed headers prefix... /usr/include/php
checking for re2c... no
configure: WARNING: You will need re2c 0.12.0 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking whether to enable drizzle support... yes, shared
found in /usr/local
checking for drizzle_create in -ldrizzle... yes
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... f95
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f95 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for f95 option to produce PIC... -fPIC
checking if f95 PIC flag -fPIC works... yes
checking if f95 static flag -static works... yes
checking if f95 supports -c -o file.o... yes
checking whether the f95 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/sh /var/tmp/pear-build-root/drizzle-0.4.1/libtool --mode=compile gcc -I. -I/tmp/pear/download/drizzle-0.4.1 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/drizzle-0.4.1/include -I/var/tmp/pear-build-root/drizzle-0.4.1/main -I/tmp/pear/download/drizzle-0.4.1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -Wall -c /tmp/pear/download/drizzle-0.4.1/php_drizzle.c -o php_drizzle.lo
mkdir .libs
gcc -I. -I/tmp/pear/download/drizzle-0.4.1 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/drizzle-0.4.1/include -I/var/tmp/pear-build-root/drizzle-0.4.1/main -I/tmp/pear/download/drizzle-0.4.1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -Wall -c /tmp/pear/download/drizzle-0.4.1/php_drizzle.c -fPIC -DPIC -o .libs/php_drizzle.o
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_set_options':
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:1511: error: 'DRIZZLE_AUTO_ALLOCATED' undeclared (first use in this function)
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:1511: error: (Each undeclared identifier is reported only once
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:1511: error: for each function it appears in.)
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_add_options':
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:1524: error: 'DRIZZLE_AUTO_ALLOCATED' undeclared (first use in this function)
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_remove_options':
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:1537: error: 'DRIZZLE_AUTO_ALLOCATED' undeclared (first use in this function)
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c: In function 'zim_DrizzleCon___construct':
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:1585: warning: implicit declaration of function 'drizzle_con_set_data'
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:1586: warning: implicit declaration of function 'drizzle_con_set_data_free'
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_con_ready':
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:1802: warning: implicit declaration of function 'drizzle_con_data'
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:1802: warning: assignment makes pointer from integer without a cast
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_server_handshake_read':
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:2340: warning: implicit declaration of function 'drizzle_server_handshake_read'
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_client_handshake_write':
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:2359: warning: implicit declaration of function 'drizzle_client_handshake_write'
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_refresh':
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:2424: warning: implicit declaration of function 'drizzle_refresh'
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:2424: warning: assignment makes pointer from integer without a cast
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_stat':
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:2461: warning: implicit declaration of function 'drizzle_stat'
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:2461: warning: assignment makes pointer from integer without a cast
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_debug_info':
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:2479: warning: implicit declaration of function 'drizzle_debug_info'
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:2479: warning: assignment makes pointer from integer without a cast
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_change_user':
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:2522: warning: implicit declaration of function 'drizzle_change_user'
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:2523: warning: assignment makes pointer from integer without a cast
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_command_write':
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:2546: warning: implicit declaration of function 'drizzle_command_write'
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:2548: warning: assignment makes pointer from integer without a cast
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c: In function 'zim_DrizzleQuery___construct':
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:2588: warning: implicit declaration of function 'drizzle_query_set_data'
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:2589: warning: implicit declaration of function 'drizzle_query_set_data_free'
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_query_con':
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:2801: warning: assignment makes pointer from integer without a cast
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_query_run':
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:2993: warning: implicit declaration of function 'drizzle_query_data'
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:2993: warning: assignment makes pointer from integer without a cast
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_result_drizzle_con':
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:3241: warning: assignment makes pointer from integer without a cast
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c: In function 'zm_startup_drizzle':
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:4565: error: 'DRIZZLE_AUTO_ALLOCATED' undeclared (first use in this function)
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:5027: error: 'DRIZZLE_DEFAULT_USER' undeclared (first use in this function)
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:5093: error: 'DRIZZLE_REFRESH_GRANT' undeclared (first use in this function)
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:5096: error: 'DRIZZLE_REFRESH_HOSTS' undeclared (first use in this function)
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:5099: error: 'DRIZZLE_REFRESH_LOG' undeclared (first use in this function)
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:5102: error: 'DRIZZLE_REFRESH_MASTER' undeclared (first use in this function)
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:5105: error: 'DRIZZLE_REFRESH_SLAVE' undeclared (first use in this function)
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:5108: error: 'DRIZZLE_REFRESH_STATUS' undeclared (first use in this function)
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:5111: error: 'DRIZZLE_REFRESH_TABLES' undeclared (first use in this function)
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:5114: error: 'DRIZZLE_REFRESH_THREADS' undeclared (first use in this function)
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:5222: error: 'DRIZZLE_SHUTDOWN_KILL_CONNECTION' undeclared (first use in this function)
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:5225: error: 'DRIZZLE_SHUTDOWN_KILL_QUERY' undeclared (first use in this function)
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:5228: error: 'DRIZZLE_SHUTDOWN_WAIT_ALL_BUFFERS' undeclared (first use in this function)
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:5231: error: 'DRIZZLE_SHUTDOWN_WAIT_CONNECTIONS' undeclared (first use in this function)
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:5234: error: 'DRIZZLE_SHUTDOWN_WAIT_CRITICAL_BUFFERS' undeclared (first use in this function)
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:5237: error: 'DRIZZLE_SHUTDOWN_WAIT_TRANSACTIONS' undeclared (first use in this function)
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:5240: error: 'DRIZZLE_SHUTDOWN_WAIT_UPDATES' undeclared (first use in this function)
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c: In function 'zm_info_drizzle':
/tmp/pear/download/drizzle-0.4.1/php_drizzle.c:5269: error: 'DRIZZLE_DEFAULT_USER' undeclared (first use in this function)
make: *** [php_drizzle.lo] Error 1
ERROR: `make' failed
EQX root@admin-tools:/var/www/vhosts/rockmyspace.com/statistics/logs# php -v
PHP 5.2.6 (cli) (built: May 5 2008 14:41:03)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with DBG v3.8.6, (C) 2000,2009, by Dmitri Dmitrienko
Reproduce code:
---------------
you can see the output above
Expected result:
----------------
expect it to compile and run
Actual result:
--------------
breaks
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 02:00:01 2025 UTC |
I am having the same issue on CentOS release 5.4 (Final) Drizzle Version --------------------- drizzle> SELECT VERSION(); +--------------+ | VERSION() | +--------------+ | 2010.02.1304 | +--------------+ 1 row in set (0 sec) Build attempt --------------------- [root@TEST drizzle-0.4.1]# ./configure checking for egrep... grep -E checking for a sed that does not truncate output... /bin/sed checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking whether gcc and cc understand -c and -o together... yes checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... i686-redhat-linux-gnu checking host system type... i686-redhat-linux-gnu checking target system type... i686-redhat-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext checking for PHP extension directory... /usr/lib/php/modules checking for PHP installed headers prefix... /usr/include/php checking for re2c... no configure: WARNING: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking whether to enable drizzle support... yes, shared found in /usr/local checking for drizzle_create in -ldrizzle... yes checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool configure: creating ./config.status config.status: creating config.h [root@TEST drizzle-0.4.1]# service httpd start Starting httpd: httpd: apr_sockaddr_info_get() failed for TEST httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName [ OK ] [root@TEST drizzle-0.4.1]# make /bin/sh /root/drizzle-0.4.1/libtool --mode=compile gcc -I. -I/root/drizzle-0.4.1 -DPHP_ATOM_INC -I/root/drizzle-0.4.1/include -I/root/drizzle-0.4.1/main -I/root/drizzle-0.4.1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -Wall -c /root/drizzle-0.4.1/php_drizzle.c -o php_drizzle.lo mkdir .libs gcc -I. -I/root/drizzle-0.4.1 -DPHP_ATOM_INC -I/root/drizzle-0.4.1/include -I/root/drizzle-0.4.1/main -I/root/drizzle-0.4.1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -Wall -c /root/drizzle-0.4.1/php_drizzle.c -fPIC -DPIC -o .libs/php_drizzle.o /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_set_options': /root/drizzle-0.4.1/php_drizzle.c:1511: error: 'DRIZZLE_AUTO_ALLOCATED' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:1511: error: (Each undeclared identifier is reported only once /root/drizzle-0.4.1/php_drizzle.c:1511: error: for each function it appears in.) /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_add_options': /root/drizzle-0.4.1/php_drizzle.c:1524: error: 'DRIZZLE_AUTO_ALLOCATED' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_remove_options': /root/drizzle-0.4.1/php_drizzle.c:1537: error: 'DRIZZLE_AUTO_ALLOCATED' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c: In function 'drizzle_con_obj_data_free': /root/drizzle-0.4.1/php_drizzle.c:1561: warning: implicit declaration of function 'READY_TO_DESTROY' /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_DrizzleCon___construct': /root/drizzle-0.4.1/php_drizzle.c:1585: warning: implicit declaration of function 'drizzle_con_set_data' /root/drizzle-0.4.1/php_drizzle.c:1586: warning: implicit declaration of function 'drizzle_con_set_data_free' /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_con_ready': /root/drizzle-0.4.1/php_drizzle.c:1802: warning: implicit declaration of function 'drizzle_con_data' /root/drizzle-0.4.1/php_drizzle.c:1802: warning: assignment makes pointer from integer without a cast /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_server_handshake_read': /root/drizzle-0.4.1/php_drizzle.c:2340: warning: implicit declaration of function 'drizzle_server_handshake_read' /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_client_handshake_write': /root/drizzle-0.4.1/php_drizzle.c:2359: warning: implicit declaration of function 'drizzle_client_handshake_write' /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_refresh': /root/drizzle-0.4.1/php_drizzle.c:2424: warning: implicit declaration of function 'drizzle_refresh' /root/drizzle-0.4.1/php_drizzle.c:2424: warning: assignment makes pointer from integer without a cast /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_stat': /root/drizzle-0.4.1/php_drizzle.c:2461: warning: implicit declaration of function 'drizzle_stat' /root/drizzle-0.4.1/php_drizzle.c:2461: warning: assignment makes pointer from integer without a cast /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_debug_info': /root/drizzle-0.4.1/php_drizzle.c:2479: warning: implicit declaration of function 'drizzle_debug_info' /root/drizzle-0.4.1/php_drizzle.c:2479: warning: assignment makes pointer from integer without a cast /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_change_user': /root/drizzle-0.4.1/php_drizzle.c:2522: warning: implicit declaration of function 'drizzle_change_user' /root/drizzle-0.4.1/php_drizzle.c:2523: warning: assignment makes pointer from integer without a cast /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_command_write': /root/drizzle-0.4.1/php_drizzle.c:2546: warning: implicit declaration of function 'drizzle_command_write' /root/drizzle-0.4.1/php_drizzle.c:2548: warning: assignment makes pointer from integer without a cast /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_DrizzleQuery___construct': /root/drizzle-0.4.1/php_drizzle.c:2588: warning: implicit declaration of function 'drizzle_query_set_data' /root/drizzle-0.4.1/php_drizzle.c:2589: warning: implicit declaration of function 'drizzle_query_set_data_free' /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_query_con': /root/drizzle-0.4.1/php_drizzle.c:2801: warning: assignment makes pointer from integer without a cast /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_query_run': /root/drizzle-0.4.1/php_drizzle.c:2993: warning: implicit declaration of function 'drizzle_query_data' /root/drizzle-0.4.1/php_drizzle.c:2993: warning: assignment makes pointer from integer without a cast /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_result_drizzle_con': /root/drizzle-0.4.1/php_drizzle.c:3241: warning: assignment makes pointer from integer without a cast /root/drizzle-0.4.1/php_drizzle.c: In function 'zm_startup_drizzle': /root/drizzle-0.4.1/php_drizzle.c:4565: error: 'DRIZZLE_AUTO_ALLOCATED' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5027: error: 'DRIZZLE_DEFAULT_USER' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5093: error: 'DRIZZLE_REFRESH_GRANT' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5096: error: 'DRIZZLE_REFRESH_HOSTS' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5099: error: 'DRIZZLE_REFRESH_LOG' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5102: error: 'DRIZZLE_REFRESH_MASTER' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5105: error: 'DRIZZLE_REFRESH_SLAVE' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5108: error: 'DRIZZLE_REFRESH_STATUS' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5111: error: 'DRIZZLE_REFRESH_TABLES' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5114: error: 'DRIZZLE_REFRESH_THREADS' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5222: error: 'DRIZZLE_SHUTDOWN_KILL_CONNECTION' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5225: error: 'DRIZZLE_SHUTDOWN_KILL_QUERY' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5228: error: 'DRIZZLE_SHUTDOWN_WAIT_ALL_BUFFERS' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5231: error: 'DRIZZLE_SHUTDOWN_WAIT_CONNECTIONS' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5234: error: 'DRIZZLE_SHUTDOWN_WAIT_CRITICAL_BUFFERS' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5237: error: 'DRIZZLE_SHUTDOWN_WAIT_TRANSACTIONS' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5240: error: 'DRIZZLE_SHUTDOWN_WAIT_UPDATES' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c: In function 'zm_info_drizzle': /root/drizzle-0.4.1/php_drizzle.c:5269: error: 'DRIZZLE_DEFAULT_USER' undeclared (first use in this function) make: *** [php_drizzle.lo] Error 1 strace on make --------------------- # strace make execve("/usr/bin/make", ["make"], [/* 21 vars */]) = 0 brk(0) = 0x9151000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=23930, ...}) = 0 mmap2(NULL, 23930, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f98000 close(3) = 0 open("/lib/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\37\251\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1611564, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f97000 mmap2(0xa7c000, 1332676, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa7c000 mprotect(0xbbb000, 4096, PROT_NONE) = 0 mmap2(0xbbc000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13f) = 0xbbc000 mmap2(0xbbf000, 9668, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xbbf000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f96000 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7f966c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 mprotect(0xbbc000, 8192, PROT_READ) = 0 mprotect(0xa73000, 4096, PROT_READ) = 0 munmap(0xb7f98000, 23930) = 0 getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=RLIM_INFINITY}) = 0 setrlimit(RLIMIT_STACK, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0 brk(0) = 0x9151000 brk(0x9172000) = 0x9172000 open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=56416160, ...}) = 0 mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7d96000 close(3) = 0 rt_sigaction(SIGHUP, {0x804aad0, [HUP], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGQUIT, {0x804aad0, [QUIT], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGINT, {0x804aad0, [INT], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGTERM, {0x804aad0, [TERM], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGXCPU, {0x804aad0, [XCPU], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGXFSZ, {0x804aad0, [XFSZ], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGCHLD, {SIG_DFL, [CHLD], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0 getcwd("/root/drizzle-0.4.1"..., 4096) = 20 stat64("/usr/include", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat64("/usr/gnu/include", 0xbfe44b3c) = -1 ENOENT (No such file or directory) stat64("/usr/local/include", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat64("/usr/include", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 rt_sigaction(SIGCHLD, {0x8053850, [CHLD], SA_RESTART}, {SIG_DFL, [CHLD], SA_RESTART}, 8) = 0 rt_sigaction(SIGUSR1, {0x80559c0, [USR1], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0 stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 getdents64(3, /* 40 entries */, 32768) = 1352 getdents64(3, /* 0 entries */, 32768) = 0 close(3) = 0 open("Makefile", O_RDONLY|O_LARGEFILE) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=6087, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f9d000 read(3, "srcdir = /root/drizzle-0.4.1\nbui"..., 4096) = 4096 read(3, "CUTABLE)\" && test -x \"$(PHP_EXEC"..., 4096) = 1991 read(3, "", 4096) = 0 close(3) = 0 munmap(0xb7f9d000, 4096) = 0 stat64("RCS", 0xbfe44aa4) = -1 ENOENT (No such file or directory) stat64("SCCS", 0xbfe44aa4) = -1 ENOENT (No such file or directory) stat64("Makefile", {st_mode=S_IFREG|0644, st_size=6087, ...}) = 0 gettimeofday({1267442726, 455700}, NULL) = 0 stat64("/root/drizzle-0.4.1/modules/drizzle.la", 0xbfe429d8) = -1 ENOENT (No such file or directory) stat64("drizzle.la", 0xbfe42908) = -1 ENOENT (No such file or directory) stat64("php_drizzle.lo", 0xbfe42838) = -1 ENOENT (No such file or directory) stat64("/root/drizzle-0.4.1/php_drizzle.c", {st_mode=S_IFREG|0644, st_size=175560, ...}) = 0 stat64("/root/drizzle-0.4.1", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat64("/root/drizzle-0.4.1/RCS", 0xbfe43344) = -1 ENOENT (No such file or directory) stat64("/root/drizzle-0.4.1/SCCS", 0xbfe43344) = -1 ENOENT (No such file or directory) fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f9d000 write(1, "/bin/sh /root/drizzle-0.4.1/libt"..., 400/bin/sh /root/drizzle-0.4.1/libtool --mode=compile gcc -I. -I/root/drizzle-0.4.1 -DPHP_ATOM_INC -I/root/drizzle-0.4.1/include -I/root/drizzle-0.4.1/main -I/root/drizzle-0.4.1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -Wall -c /root/drizzle-0.4.1/php_drizzle.c -o php_drizzle.lo ) = 400 pipe([3, 4]) = 0 close(4) = 0 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT TERM XCPU XFSZ], NULL, 8) = 0 vfork() = 22568 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 wait4(-1, gcc -I. -I/root/drizzle-0.4.1 -DPHP_ATOM_INC -I/root/drizzle-0.4.1/include -I/root/drizzle-0.4.1/main -I/root/drizzle-0.4.1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -Wall -c /root/drizzle-0.4.1/php_drizzle.c -fPIC -DPIC -o .libs/php_drizzle.o /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_set_options': /root/drizzle-0.4.1/php_drizzle.c:1511: error: 'DRIZZLE_AUTO_ALLOCATED' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:1511: error: (Each undeclared identifier is reported only once /root/drizzle-0.4.1/php_drizzle.c:1511: error: for each function it appears in.) /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_add_options': /root/drizzle-0.4.1/php_drizzle.c:1524: error: 'DRIZZLE_AUTO_ALLOCATED' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_remove_options': /root/drizzle-0.4.1/php_drizzle.c:1537: error: 'DRIZZLE_AUTO_ALLOCATED' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c: In function 'drizzle_con_obj_data_free': /root/drizzle-0.4.1/php_drizzle.c:1561: warning: implicit declaration of function 'READY_TO_DESTROY' /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_DrizzleCon___construct': /root/drizzle-0.4.1/php_drizzle.c:1585: warning: implicit declaration of function 'drizzle_con_set_data' /root/drizzle-0.4.1/php_drizzle.c:1586: warning: implicit declaration of function 'drizzle_con_set_data_free' /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_con_ready': /root/drizzle-0.4.1/php_drizzle.c:1802: warning: implicit declaration of function 'drizzle_con_data' /root/drizzle-0.4.1/php_drizzle.c:1802: warning: assignment makes pointer from integer without a cast /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_server_handshake_read': /root/drizzle-0.4.1/php_drizzle.c:2340: warning: implicit declaration of function 'drizzle_server_handshake_read' /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_client_handshake_write': /root/drizzle-0.4.1/php_drizzle.c:2359: warning: implicit declaration of function 'drizzle_client_handshake_write' /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_refresh': /root/drizzle-0.4.1/php_drizzle.c:2424: warning: implicit declaration of function 'drizzle_refresh' /root/drizzle-0.4.1/php_drizzle.c:2424: warning: assignment makes pointer from integer without a cast /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_stat': /root/drizzle-0.4.1/php_drizzle.c:2461: warning: implicit declaration of function 'drizzle_stat' /root/drizzle-0.4.1/php_drizzle.c:2461: warning: assignment makes pointer from integer without a cast /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_debug_info': /root/drizzle-0.4.1/php_drizzle.c:2479: warning: implicit declaration of function 'drizzle_debug_info' /root/drizzle-0.4.1/php_drizzle.c:2479: warning: assignment makes pointer from integer without a cast /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_change_user': /root/drizzle-0.4.1/php_drizzle.c:2522: warning: implicit declaration of function 'drizzle_change_user' /root/drizzle-0.4.1/php_drizzle.c:2523: warning: assignment makes pointer from integer without a cast /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_command_write': /root/drizzle-0.4.1/php_drizzle.c:2546: warning: implicit declaration of function 'drizzle_command_write' /root/drizzle-0.4.1/php_drizzle.c:2548: warning: assignment makes pointer from integer without a cast /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_DrizzleQuery___construct': /root/drizzle-0.4.1/php_drizzle.c:2588: warning: implicit declaration of function 'drizzle_query_set_data' /root/drizzle-0.4.1/php_drizzle.c:2589: warning: implicit declaration of function 'drizzle_query_set_data_free' /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_query_con': /root/drizzle-0.4.1/php_drizzle.c:2801: warning: assignment makes pointer from integer without a cast /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_query_run': /root/drizzle-0.4.1/php_drizzle.c:2993: warning: implicit declaration of function 'drizzle_query_data' /root/drizzle-0.4.1/php_drizzle.c:2993: warning: assignment makes pointer from integer without a cast /root/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_result_drizzle_con': /root/drizzle-0.4.1/php_drizzle.c:3241: warning: assignment makes pointer from integer without a cast /root/drizzle-0.4.1/php_drizzle.c: In function 'zm_startup_drizzle': /root/drizzle-0.4.1/php_drizzle.c:4565: error: 'DRIZZLE_AUTO_ALLOCATED' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5027: error: 'DRIZZLE_DEFAULT_USER' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5093: error: 'DRIZZLE_REFRESH_GRANT' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5096: error: 'DRIZZLE_REFRESH_HOSTS' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5099: error: 'DRIZZLE_REFRESH_LOG' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5102: error: 'DRIZZLE_REFRESH_MASTER' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5105: error: 'DRIZZLE_REFRESH_SLAVE' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5108: error: 'DRIZZLE_REFRESH_STATUS' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5111: error: 'DRIZZLE_REFRESH_TABLES' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5114: error: 'DRIZZLE_REFRESH_THREADS' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5222: error: 'DRIZZLE_SHUTDOWN_KILL_CONNECTION' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5225: error: 'DRIZZLE_SHUTDOWN_KILL_QUERY' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5228: error: 'DRIZZLE_SHUTDOWN_WAIT_ALL_BUFFERS' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5231: error: 'DRIZZLE_SHUTDOWN_WAIT_CONNECTIONS' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5234: error: 'DRIZZLE_SHUTDOWN_WAIT_CRITICAL_BUFFERS' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5237: error: 'DRIZZLE_SHUTDOWN_WAIT_TRANSACTIONS' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c:5240: error: 'DRIZZLE_SHUTDOWN_WAIT_UPDATES' undeclared (first use in this function) /root/drizzle-0.4.1/php_drizzle.c: In function 'zm_info_drizzle': /root/drizzle-0.4.1/php_drizzle.c:5269: error: 'DRIZZLE_DEFAULT_USER' undeclared (first use in this function) [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 22568 --- SIGCHLD (Child exited) @ 0 (0) --- sigreturn() = ? (mask now []) open("/usr/share/locale/locale.alias", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=2528, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f9c000 read(4, "# Locale name alias data base.\n#"..., 4096) = 2528 read(4, "", 4096) = 0 close(4) = 0 munmap(0xb7f9c000, 4096) = 0 open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/make.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_US.utf8/LC_MESSAGES/make.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_US/LC_MESSAGES/make.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en.UTF-8/LC_MESSAGES/make.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en.utf8/LC_MESSAGES/make.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en/LC_MESSAGES/make.mo", O_RDONLY) = -1 ENOENT (No such file or directory) write(2, "make: ", 6make: ) = 6 write(2, "*** [php_drizzle.lo] Error 1", 28*** [php_drizzle.lo] Error 1) = 28 write(2, "\n", 1 ) = 1 rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT TERM XCPU XFSZ], NULL, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 chdir("/root/drizzle-0.4.1") = 0 close(1) = 0 munmap(0xb7f9d000, 4096) = 0 exit_group(2) = ?