Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
- downloading sqlsrv-5.2.0.tgz ...
- Starting to download sqlsrv-5.2.0.tgz (171,728 bytes)
- ............done: 171,728 bytes
- downloading pdo_sqlsrv-5.2.0.tgz ...
- Starting to download pdo_sqlsrv-5.2.0.tgz (164,456 bytes)
- ...done: 164,456 bytes
- 33 source files, building
- running: phpize
- Configuring for:
- PHP Api Version: 20170718
- Zend Module Api No: 20170718
- Zend Extension Api No: 320170718
- building in /private/tmp/pear/temp/pear-build-root5XI7ZG/sqlsrv-5.2.0
- running: /private/tmp/pear/temp/sqlsrv/configure --with-php-config=/Applications/MAMP/bin/php/php7.2.1/bin/php-config
- checking for grep that handles long lines and -e... /usr/bin/grep
- checking for egrep... /usr/bin/grep -E
- checking for a sed that does not truncate output... /usr/bin/sed
- checking for cc... cc
- checking whether the C compiler works... yes
- checking for C compiler default output file name... a.out
- checking for suffix of executables...
- checking whether we are cross compiling... no
- checking for suffix of object files... o
- checking whether we are using the GNU C compiler... yes
- checking whether cc accepts -g... yes
- checking for cc option to accept ISO C89... none needed
- checking how to run the C preprocessor... cc -E
- checking for icc... no
- checking for suncc... no
- checking whether cc understands -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-apple-darwin16.7.0
- checking host system type... x86_64-apple-darwin16.7.0
- checking target system type... x86_64-apple-darwin16.7.0
- checking for PHP prefix... /Applications/MAMP/bin/php/php7.2.1
- checking for PHP includes... -I/Applications/MAMP/bin/php/php7.2.1/include/php -I/Applications/MAMP/bin/php/php7.2.1/include/php/main -I/Applications/MAMP/bin/php/php7.2.1/include/php/TSRM -I/Applications/MAMP/bin/php/php7.2.1/include/php/Zend -I/Applications/MAMP/bin/php/php7.2.1/include/php/ext -I/Applications/MAMP/bin/php/php7.2.1/include/php/ext/date/lib
- checking for PHP extension directory... /Applications/MAMP/bin/php/php7.2.1/lib/php/extensions/no-debug-non-zts-20170718
- checking for PHP installed headers prefix... /Applications/MAMP/bin/php/php7.2.1/include/php
- checking if debug is enabled... no
- checking if zts is enabled... no
- checking for re2c... no
- configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
- checking for gawk... no
- checking for nawk... no
- checking for awk... awk
- checking if awk is broken... no
- checking whether to enable sqlsrv functions... yes, shared
- checking for SQLSRV headers... /private/tmp/pear/temp/sqlsrv/shared/
- 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 ld used by cc... /Library/Developer/CommandLineTools/usr/bin/ld
- checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
- checking for /Library/Developer/CommandLineTools/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 recognize dependent libraries... pass_all
- 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 how to run the C++ preprocessor... g++ -E
- checking the maximum length of command line arguments... 196608
- checking command to parse /usr/bin/nm -B output from cc object... ok
- checking for objdir... .libs
- checking for ar... ar
- checking for ranlib... ranlib
- checking for strip... strip
- checking for dsymutil... dsymutil
- checking for nmedit... nmedit
- checking for -single_module linker flag... yes
- checking for -exported_symbols_list linker flag... yes
- checking if cc supports -fno-rtti -fno-exceptions... yes
- checking for cc option to produce PIC... -fno-common
- checking if cc PIC flag -fno-common works... yes
- checking if cc static flag -static works... no
- checking if cc supports -c -o file.o... yes
- checking whether the cc linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
- checking dynamic linker characteristics... darwin16.7.0 dyld
- 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
- creating libtool
- appending configuration tag "CXX" to libtool
- checking for ld used by g++... /Library/Developer/CommandLineTools/usr/bin/ld
- checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
- checking whether the g++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
- checking for g++ option to produce PIC... -fno-common
- checking if g++ PIC flag -fno-common works... yes
- checking if g++ static flag -static works... no
- checking if g++ supports -c -o file.o... yes
- checking whether the g++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
- checking dynamic linker characteristics... darwin16.7.0 dyld
- (cached) (cached) checking how to hardcode library paths into programs... immediate
- configure: creating ./config.status
- config.status: creating config.h
- running: make
- /bin/sh /private/tmp/pear/temp/pear-build-root5XI7ZG/sqlsrv-5.2.0/libtool --mode=compile g++ -std=c++11 -I. -I/private/tmp/pear/temp/sqlsrv -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-root5XI7ZG/sqlsrv-5.2.0/include -I/private/tmp/pear/temp/pear-build-root5XI7ZG/sqlsrv-5.2.0/main -I/private/tmp/pear/temp/sqlsrv -I/Applications/MAMP/bin/php/php7.2.1/include/php -I/Applications/MAMP/bin/php/php7.2.1/include/php/main -I/Applications/MAMP/bin/php/php7.2.1/include/php/TSRM -I/Applications/MAMP/bin/php/php7.2.1/include/php/Zend -I/Applications/MAMP/bin/php/php7.2.1/include/php/ext -I/Applications/MAMP/bin/php/php7.2.1/include/php/ext/date/lib -I/private/tmp/pear/temp/sqlsrv/shared/ -DHAVE_CONFIG_H -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /private/tmp/pear/temp/sqlsrv/conn.cpp -o conn.lo
- mkdir .libs
- g++ -std=c++11 -I. -I/private/tmp/pear/temp/sqlsrv -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-root5XI7ZG/sqlsrv-5.2.0/include -I/private/tmp/pear/temp/pear-build-root5XI7ZG/sqlsrv-5.2.0/main -I/private/tmp/pear/temp/sqlsrv -I/Applications/MAMP/bin/php/php7.2.1/include/php -I/Applications/MAMP/bin/php/php7.2.1/include/php/main -I/Applications/MAMP/bin/php/php7.2.1/include/php/TSRM -I/Applications/MAMP/bin/php/php7.2.1/include/php/Zend -I/Applications/MAMP/bin/php/php7.2.1/include/php/ext -I/Applications/MAMP/bin/php/php7.2.1/include/php/ext/date/lib -I/private/tmp/pear/temp/sqlsrv/shared/ -DHAVE_CONFIG_H -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /private/tmp/pear/temp/sqlsrv/conn.cpp -fno-common -DPIC -o .libs/conn.o
- In file included from /private/tmp/pear/temp/sqlsrv/conn.cpp:20:
- In file included from /private/tmp/pear/temp/sqlsrv/php_sqlsrv.h:25:
- In file included from /private/tmp/pear/temp/sqlsrv/shared/core_sqlsrv.h:41:
- In file included from /private/tmp/pear/temp/sqlsrv/shared/FormattedPrint.h:24:
- In file included from /private/tmp/pear/temp/sqlsrv/shared/xplat_winnls.h:24:
- In file included from /private/tmp/pear/temp/sqlsrv/shared/typedefs_for_linux.h:23:
- /private/tmp/pear/temp/sqlsrv/shared/xplat.h:132:16: error: typedef redefinition with different types ('WCHAR *' (aka 'unsigned short *') vs 'wchar_t *')
- typedef WCHAR *LPWSTR;
- ^
- /usr/local/include/iodbcunix.h:131:20: note: previous definition is here
- typedef wchar_t * LPWSTR;
- ^
- In file included from /private/tmp/pear/temp/sqlsrv/conn.cpp:20:
- In file included from /private/tmp/pear/temp/sqlsrv/php_sqlsrv.h:25:
- In file included from /private/tmp/pear/temp/sqlsrv/shared/core_sqlsrv.h:41:
- In file included from /private/tmp/pear/temp/sqlsrv/shared/FormattedPrint.h:24:
- In file included from /private/tmp/pear/temp/sqlsrv/shared/xplat_winnls.h:24:
- In file included from /private/tmp/pear/temp/sqlsrv/shared/typedefs_for_linux.h:23:
- /private/tmp/pear/temp/sqlsrv/shared/xplat.h:133:22: error: typedef redefinition with different types ('const WCHAR *' (aka 'const unsigned short *') vs 'const wchar_t *')
- typedef CONST WCHAR *LPCWSTR;
- ^
- /usr/local/include/iodbcunix.h:132:26: note: previous definition is here
- typedef const wchar_t * LPCWSTR;
- ^
- In file included from /private/tmp/pear/temp/sqlsrv/conn.cpp:20:
- In file included from /private/tmp/pear/temp/sqlsrv/php_sqlsrv.h:25:
- In file included from /private/tmp/pear/temp/sqlsrv/shared/core_sqlsrv.h:41:
- In file included from /private/tmp/pear/temp/sqlsrv/shared/FormattedPrint.h:24:
- In file included from /private/tmp/pear/temp/sqlsrv/shared/xplat_winnls.h:24:
- In file included from /private/tmp/pear/temp/sqlsrv/shared/typedefs_for_linux.h:23:
- /private/tmp/pear/temp/sqlsrv/shared/xplat.h:182:9: warning: 'FALSE' macro redefined [-Wmacro-redefined]
- #define FALSE ((BOOL)0)
- ^
- /usr/local/include/iodbcunix.h:112:9: note: previous definition is here
- #define FALSE 0
- ^
- In file included from /private/tmp/pear/temp/sqlsrv/conn.cpp:20:
- In file included from /private/tmp/pear/temp/sqlsrv/php_sqlsrv.h:25:
- In file included from /private/tmp/pear/temp/sqlsrv/shared/core_sqlsrv.h:41:
- In file included from /private/tmp/pear/temp/sqlsrv/shared/FormattedPrint.h:24:
- In file included from /private/tmp/pear/temp/sqlsrv/shared/xplat_winnls.h:24:
- In file included from /private/tmp/pear/temp/sqlsrv/shared/typedefs_for_linux.h:23:
- /private/tmp/pear/temp/sqlsrv/shared/xplat.h:183:9: warning: 'TRUE' macro redefined [-Wmacro-redefined]
- #define TRUE ((BOOL)1)
- ^
- /usr/local/include/iodbcunix.h:109:9: note: previous definition is here
- #define TRUE 1
- ^
- In file included from /private/tmp/pear/temp/sqlsrv/conn.cpp:20:
- In file included from /private/tmp/pear/temp/sqlsrv/php_sqlsrv.h:25:
- In file included from /private/tmp/pear/temp/sqlsrv/shared/core_sqlsrv.h:41:
- In file included from /private/tmp/pear/temp/sqlsrv/shared/FormattedPrint.h:24:
- In file included from /private/tmp/pear/temp/sqlsrv/shared/xplat_winnls.h:24:
- /private/tmp/pear/temp/sqlsrv/shared/typedefs_for_linux.h:35:5: error: unknown type name 'LPTSTR'
- LPTSTR lpBuffer,
- ^
- In file included from /private/tmp/pear/temp/sqlsrv/conn.cpp:20:
- In file included from /private/tmp/pear/temp/sqlsrv/php_sqlsrv.h:25:
- /private/tmp/pear/temp/sqlsrv/shared/core_sqlsrv.h:1752:29: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs]
- va_start( print_params, warning );
- ^
- /private/tmp/pear/temp/sqlsrv/shared/core_sqlsrv.h:1749:120: note: parameter of type 'bool' is declared here
- inline bool call_error_handler( _Inout_ sqlsrv_context& ctx, _In_ unsigned long sqlsrv_error_code TSRMLS_DC, _In_ bool warning, ... )
- ^
- /private/tmp/pear/temp/sqlsrv/shared/core_sqlsrv.h:1761:29: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs]
- va_start( print_params, warning );
- ^
- /private/tmp/pear/temp/sqlsrv/shared/core_sqlsrv.h:1758:120: note: parameter of type 'bool' is declared here
- inline bool call_error_handler( _Inout_ sqlsrv_context* ctx, _In_ unsigned long sqlsrv_error_code TSRMLS_DC, _In_ bool warning, ... )
- ^
- In file included from /private/tmp/pear/temp/sqlsrv/conn.cpp:20:
- /private/tmp/pear/temp/sqlsrv/php_sqlsrv.h:514:20: warning: expression result unused [-Wunused-value]
- SQLSRV_UNUSED( return_value );
- ^~~~~~~~~~~~
- /private/tmp/pear/temp/sqlsrv/shared/core_sqlsrv.h:1643:32: note: expanded from macro 'SQLSRV_UNUSED'
- #define SQLSRV_UNUSED( var ) var;
- ^~~
- /private/tmp/pear/temp/sqlsrv/conn.cpp:1218:22: warning: enumeration value 'CONN_ATTR_INVALID' not handled in switch [-Wswitch]
- switch( SS_CONN_OPTS[ i ].value_type ) {
- ^
- /private/tmp/pear/temp/sqlsrv/conn.cpp:1218:22: note: add missing switch cases
- switch( SS_CONN_OPTS[ i ].value_type ) {
- ^
- In file included from /private/tmp/pear/temp/sqlsrv/conn.cpp:20:
- /private/tmp/pear/temp/sqlsrv/php_sqlsrv.h:514:20: warning: expression result unused [-Wunused-value]
- SQLSRV_UNUSED( return_value );
- ^~~~~~~~~~~~
- /private/tmp/pear/temp/sqlsrv/shared/core_sqlsrv.h:1643:32: note: expanded from macro 'SQLSRV_UNUSED'
- #define SQLSRV_UNUSED( var ) var;
- ^~~
- /private/tmp/pear/temp/sqlsrv/conn.cpp:597:5: note: in instantiation of function template specialization 'process_params<ss_sqlsrv_conn>' requested here
- PROCESS_PARAMS( conn, "r", _FN_, 0 );
- ^
- /private/tmp/pear/temp/sqlsrv/conn.cpp:168:12: note: expanded from macro 'PROCESS_PARAMS'
- rsrc = process_params<ss_sqlsrv_conn>( INTERNAL_FUNCTION_PARAM_PASSTHRU, param_spec, calling_func, param_count, ##__VA_ARGS__ );\
- ^
- 7 warnings and 3 errors generated.
- make: *** [conn.lo] Error 1
- ERROR: `make' failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement