>>> php-ssh2 1.1.2 Downloading converted 'https://pecl.php.net/get/ssh2-1.1.2.tgz' (ANSI_X3.4-1968) -> 'https://pecl.php.net/get/ssh2-1.1.2.tgz' (UTF-8) --2019-01-06 22:58:59-- https://pecl.php.net/get/ssh2-1.1.2.tgz Resolving pecl.php.net (pecl.php.net)... 104.236.228.160 Connecting to pecl.php.net (pecl.php.net)|104.236.228.160|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 32057 (31K) [application/octet-stream] Saving to: '/home/buildroot/build/instance-0/output/build/.ssh2-1.1.2.tgz.EbFeCt/output' 0K .......... .......... .......... . 100% 439K=0.07s 2019-01-06 22:58:59 (439 KB/s) - '/home/buildroot/build/instance-0/output/build/.ssh2-1.1.2.tgz.EbFeCt/output' saved [32057/32057] ssh2-1.1.2.tgz: OK (sha256: 87618d6a0981afe8c24b36d6b38c21a0aa0237b62e60347d0170bd86b51f79fb) >>> php-ssh2 1.1.2 Extracting gzip -d -c /home/buildroot/build/instance-0/dl/php-ssh2/ssh2-1.1.2.tgz | tar --strip-components=1 -C /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2 -xf - >>> php-ssh2 1.1.2 Patching >>> php-ssh2 1.1.2 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2 -name $file); do cp support/gnuconfig/$file $i; done; done >>> php-ssh2 1.1.2 Patching libtool >>> php-ssh2 1.1.2 Configuring (cd /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2; PHP_AUTOCONF=/home/buildroot/build/instance-0/output/host/bin/autoconf PHP_AUTOHEADER=/home/buildroot/build/instance-0/output/host/bin/autoheader /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/phpize) Configuring for: PHP Api Version: 20180731 Zend Module Api No: 20180731 Zend Extension Api No: 320180731 (cd /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ && rm -rf config.cache && PATH="/home/buildroot/build/instance-0/output/host/bin:/home/buildroot/build/instance-0/output/host/sbin:/sbin:/usr/sbin:/bin:/usr/bin" AR="/home/buildroot/build/instance-0/output/host/bin/arm-linux-ar" AS="/home/buildroot/build/instance-0/output/host/bin/arm-linux-as" LD="/home/buildroot/build/instance-0/output/host/bin/arm-linux-ld" NM="/home/buildroot/build/instance-0/output/host/bin/arm-linux-nm" CC="/home/buildroot/build/instance-0/output/host/bin/arm-linux-gcc" GCC="/home/buildroot/build/instance-0/output/host/bin/arm-linux-gcc" CPP="/home/buildroot/build/instance-0/output/host/bin/arm-linux-cpp" CXX="/home/buildroot/build/instance-0/output/host/bin/arm-linux-g++" FC="/home/buildroot/build/instance-0/output/host/bin/arm-linux-gfortran" F77="/home/buildroot/build/instance-0/output/host/bin/arm-linux-gfortran" RANLIB="/home/buildroot/build/instance-0/output/host/bin/arm-linux-ranlib" READELF="/home/buildroot/build/instance-0/output/host/bin/arm-linux-readelf" STRIP="/home/buildroot/build/instance-0/output/host/bin/arm-linux-strip" OBJCOPY="/home/buildroot/build/instance-0/output/host/bin/arm-linux-objcopy" OBJDUMP="/home/buildroot/build/instance-0/output/host/bin/arm-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/buildroot/build/instance-0/output/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/build/instance-0/output/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/build/instance-0/output/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/build/instance-0/output/host/lib -Wl,-rpath,/home/buildroot/build/instance-0/output/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/build/instance-0/output/host/bin/arm-linux-as" DEFAULT_LINKER="/home/buildroot/build/instance-0/output/host/bin/arm-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " LDFLAGS="" FCFLAGS=" -Os " FFLAGS=" -Os " PKG_CONFIG="/home/buildroot/build/instance-0/output/host/bin/pkg-config" STAGING_DIR="/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no CONFIG_SITE=/dev/null ./configure --target=arm-buildroot-linux-uclibcgnueabi --host=arm-buildroot-linux-uclibcgnueabi --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --with-php-config=/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/php-config --with-ssh2=/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-ipv6, --disable-nls checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for arm-buildroot-linux-uclibcgnueabi-cc... /home/buildroot/build/instance-0/output/host/bin/arm-linux-gcc 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... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /home/buildroot/build/instance-0/output/host/bin/arm-linux-gcc accepts -g... yes checking for /home/buildroot/build/instance-0/output/host/bin/arm-linux-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... /home/buildroot/build/instance-0/output/host/bin/arm-linux-cpp checking for icc... no checking for suncc... no checking whether /home/buildroot/build/instance-0/output/host/bin/arm-linux-gcc and cc understand -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... yes checking build system type... x86_64-pc-linux-gnu checking host system type... arm-buildroot-linux-uclibcgnueabi checking target system type... arm-buildroot-linux-uclibcgnueabi checking for PHP prefix... /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr checking for PHP includes... -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/TSRM -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/ext -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/ext/date/lib checking for PHP extension directory... /home/buildroot/build/instance-0/output/target/usr/lib/php/extensions/no-debug-non-zts-20180731 checking for PHP installed headers prefix... /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/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... gawk checking for ssh2 support... yes, shared checking for libssh2_session_hostkey in -lssh2... yes checking for libssh2_agent_init in -lssh2... yes checking for libssh2_session_set_timeout in -lssh2... yes checking for ld used by /home/buildroot/build/instance-0/output/host/bin/arm-linux-gcc... /home/buildroot/build/instance-0/output/host/bin/arm-linux-ld checking if the linker (/home/buildroot/build/instance-0/output/host/bin/arm-linux-ld) is GNU ld... yes checking for /home/buildroot/build/instance-0/output/host/bin/arm-linux-ld option to reload object files... -r checking for BSD-compatible nm... /home/buildroot/build/instance-0/output/host/bin/arm-linux-nm 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 the maximum length of command line arguments... 1572864 checking command to parse /home/buildroot/build/instance-0/output/host/bin/arm-linux-nm output from /home/buildroot/build/instance-0/output/host/bin/arm-linux-gcc object... ok checking for objdir... .libs checking for arm-buildroot-linux-uclibcgnueabi-ar... /home/buildroot/build/instance-0/output/host/bin/arm-linux-ar checking for arm-buildroot-linux-uclibcgnueabi-ranlib... /home/buildroot/build/instance-0/output/host/bin/arm-linux-ranlib checking for arm-buildroot-linux-uclibcgnueabi-strip... /home/buildroot/build/instance-0/output/host/bin/arm-linux-strip checking if /home/buildroot/build/instance-0/output/host/bin/arm-linux-gcc supports -fno-rtti -fno-exceptions... no checking for /home/buildroot/build/instance-0/output/host/bin/arm-linux-gcc option to produce PIC... -fPIC checking if /home/buildroot/build/instance-0/output/host/bin/arm-linux-gcc PIC flag -fPIC works... yes checking if /home/buildroot/build/instance-0/output/host/bin/arm-linux-gcc static flag -static works... yes checking if /home/buildroot/build/instance-0/output/host/bin/arm-linux-gcc supports -c -o file.o... yes checking whether the /home/buildroot/build/instance-0/output/host/bin/arm-linux-gcc linker (/home/buildroot/build/instance-0/output/host/bin/arm-linux-ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so (cached) 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 configure: creating ./config.status config.status: creating config.h configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-ipv6, --disable-nls >>> php-ssh2 1.1.2 Building PATH="/home/buildroot/build/instance-0/output/host/bin:/home/buildroot/build/instance-0/output/host/sbin:/sbin:/usr/sbin:/bin:/usr/bin" /usr/bin/make -j8 -C /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2' /bin/sh /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/libtool --mode=compile /home/buildroot/build/instance-0/output/host/bin/arm-linux-gcc -I. -I/home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2 -DPHP_ATOM_INC -I/home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/include -I/home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/main -I/home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2 -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/TSRM -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/ext -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/ext/date/lib -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2.c -o ssh2.lo /bin/sh /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/libtool --mode=compile /home/buildroot/build/instance-0/output/host/bin/arm-linux-gcc -I. -I/home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2 -DPHP_ATOM_INC -I/home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/include -I/home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/main -I/home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2 -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/TSRM -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/ext -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/ext/date/lib -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c -o ssh2_fopen_wrappers.lo /bin/sh /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/libtool --mode=compile /home/buildroot/build/instance-0/output/host/bin/arm-linux-gcc -I. -I/home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2 -DPHP_ATOM_INC -I/home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/include -I/home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/main -I/home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2 -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/TSRM -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/ext -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/ext/date/lib -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c -o ssh2_sftp.lo mkdir .libs mkdir .libs mkdir: cannot create directory '.libs': File exists /home/buildroot/build/instance-0/output/host/bin/arm-linux-gcc -I. -I/home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2 -DPHP_ATOM_INC -I/home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/include -I/home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/main -I/home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2 -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/TSRM -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/ext -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/ext/date/lib -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c -fPIC -DPIC -o .libs/ssh2_sftp.o /home/buildroot/build/instance-0/output/host/bin/arm-linux-gcc -I. -I/home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2 -DPHP_ATOM_INC -I/home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/include -I/home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/main -I/home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2 -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/TSRM -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/ext -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/ext/date/lib -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2.c -fPIC -DPIC -o .libs/ssh2.o /home/buildroot/build/instance-0/output/host/bin/arm-linux-gcc -I. -I/home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2 -DPHP_ATOM_INC -I/home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/include -I/home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/main -I/home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2 -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/TSRM -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/ext -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/ext/date/lib -I/home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c -fPIC -DPIC -o .libs/ssh2_fopen_wrappers.o In file included from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/php_ssh2.h:25:0, from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:26: /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c: In function 'php_ssh2_sftp_stream_opener': /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:241:35: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types] handle = libssh2_sftp_open(sftp, resource->path, flags, perms); ^ In file included from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main/../main/php_config.h:2612:0, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_config.h:1, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_portability.h:43, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_types.h:25, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend.h:27, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main/php.h:33, from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:25: /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/string.h:247:15: note: expected 'const char *' but argument is of type 'zend_string * {aka struct _zend_string *}' extern size_t strlen (const char *__s) ^~~~~~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:241:11: warning: passing argument 2 of 'libssh2_sftp_open_ex' from incompatible pointer type [-Wincompatible-pointer-types] handle = libssh2_sftp_open(sftp, resource->path, flags, perms); ^~~~~~~~~~~~~~~~~ In file included from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/php_ssh2.h:25:0, from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:26: /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/libssh2_sftp.h:224:34: note: expected 'const char *' but argument is of type 'zend_string * {aka struct _zend_string *}' LIBSSH2_API LIBSSH2_SFTP_HANDLE *libssh2_sftp_open_ex(LIBSSH2_SFTP *sftp, ^~~~~~~~~~~~~~~~~~~~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c: In function 'php_ssh2_sftp_dirstream_opener': /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:344:38: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types] handle = libssh2_sftp_opendir(sftp, resource->path); ^ In file included from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main/../main/php_config.h:2612:0, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_config.h:1, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_portability.h:43, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_types.h:25, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend.h:27, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main/php.h:33, from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:25: /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/string.h:247:15: note: expected 'const char *' but argument is of type 'zend_string * {aka struct _zend_string *}' extern size_t strlen (const char *__s) ^~~~~~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:344:11: warning: passing argument 2 of 'libssh2_sftp_open_ex' from incompatible pointer type [-Wincompatible-pointer-types] handle = libssh2_sftp_opendir(sftp, resource->path); ^~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/php_ssh2.h:25:0, from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:26: /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/libssh2_sftp.h:224:34: note: expected 'const char *' but argument is of type 'zend_string * {aka struct _zend_string *}' LIBSSH2_API LIBSSH2_SFTP_HANDLE *libssh2_sftp_open_ex(LIBSSH2_SFTP *sftp, ^~~~~~~~~~~~~~~~~~~~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c: In function 'php_ssh2_sftp_urlstat': /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:389:56: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types] if (libssh2_sftp_stat_ex(sftp, resource->path, strlen(resource->path), ^~~~~~~~ In file included from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main/../main/php_config.h:2612:0, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_config.h:1, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_portability.h:43, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_types.h:25, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend.h:27, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main/php.h:33, from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:25: /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/string.h:247:15: note: expected 'const char *' but argument is of type 'zend_string * {aka struct _zend_string *}' extern size_t strlen (const char *__s) ^~~~~~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:389:33: warning: passing argument 2 of 'libssh2_sftp_stat_ex' from incompatible pointer type [-Wincompatible-pointer-types] if (libssh2_sftp_stat_ex(sftp, resource->path, strlen(resource->path), ^~~~~~~~ In file included from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/php_ssh2.h:25:0, from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:26: /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/libssh2_sftp.h:312:17: note: expected 'const char *' but argument is of type 'zend_string * {aka struct _zend_string *}' LIBSSH2_API int libssh2_sftp_stat_ex(LIBSSH2_SFTP *sftp, ^~~~~~~~~~~~~~~~~~~~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c: In function 'php_ssh2_sftp_unlink': /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:423:37: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types] result = libssh2_sftp_unlink(sftp, resource->path); ^ In file included from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main/../main/php_config.h:2612:0, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_config.h:1, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_portability.h:43, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_types.h:25, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend.h:27, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main/php.h:33, from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:25: /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/string.h:247:15: note: expected 'const char *' but argument is of type 'zend_string * {aka struct _zend_string *}' extern size_t strlen (const char *__s) ^~~~~~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:423:11: warning: passing argument 2 of 'libssh2_sftp_unlink_ex' from incompatible pointer type [-Wincompatible-pointer-types] result = libssh2_sftp_unlink(sftp, resource->path); ^~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/php_ssh2.h:25:0, from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:26: /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/libssh2_sftp.h:286:17: note: expected 'const char *' but argument is of type 'zend_string * {aka struct _zend_string *}' LIBSSH2_API int libssh2_sftp_unlink_ex(LIBSSH2_SFTP *sftp, ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c: In function 'php_ssh2_sftp_rename': /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:465:37: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types] result = libssh2_sftp_rename(sftp, resource->path, resource_to->path); ^ In file included from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main/../main/php_config.h:2612:0, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_config.h:1, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_portability.h:43, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_types.h:25, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend.h:27, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main/php.h:33, from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:25: /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/string.h:247:15: note: expected 'const char *' but argument is of type 'zend_string * {aka struct _zend_string *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/php_ssh2.h:25:0, from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:26: /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:465:53: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types] result = libssh2_sftp_rename(sftp, resource->path, resource_to->path); ^ In file included from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main/../main/php_config.h:2612:0, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_config.h:1, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_portability.h:43, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_types.h:25, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend.h:27, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main/php.h:33, from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:25: /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/string.h:247:15: note: expected 'const char *' but argument is of type 'zend_string * {aka struct _zend_string *}' extern size_t strlen (const char *__s) ^~~~~~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:465:11: warning: passing argument 2 of 'libssh2_sftp_rename_ex' from incompatible pointer type [-Wincompatible-pointer-types] result = libssh2_sftp_rename(sftp, resource->path, resource_to->path); ^~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/php_ssh2.h:25:0, from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:26: /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/libssh2_sftp.h:273:17: note: expected 'const char *' but argument is of type 'zend_string * {aka struct _zend_string *}' LIBSSH2_API int libssh2_sftp_rename_ex(LIBSSH2_SFTP *sftp, ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:465:11: warning: passing argument 4 of 'libssh2_sftp_rename_ex' from incompatible pointer type [-Wincompatible-pointer-types] result = libssh2_sftp_rename(sftp, resource->path, resource_to->path); ^~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/php_ssh2.h:25:0, from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:26: /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/libssh2_sftp.h:273:17: note: expected 'const char *' but argument is of type 'zend_string * {aka struct _zend_string *}' LIBSSH2_API int libssh2_sftp_rename_ex(LIBSSH2_SFTP *sftp, ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c: In function 'php_ssh2_sftp_mkdir': /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:496:13: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] char *p = resource->path; ^~~~~~~~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:498:50: error: invalid operands to binary - (have 'char *' and 'zend_string * {aka struct _zend_string *}') libssh2_sftp_mkdir_ex(sftp, resource->path, p - resource->path, mode); ^ ~~~~~~~~~~~~~~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:498:32: warning: passing argument 2 of 'libssh2_sftp_mkdir_ex' from incompatible pointer type [-Wincompatible-pointer-types] libssh2_sftp_mkdir_ex(sftp, resource->path, p - resource->path, mode); ^~~~~~~~ In file included from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/php_ssh2.h:25:0, from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:26: /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/libssh2_sftp.h:300:17: note: expected 'const char *' but argument is of type 'zend_string * {aka struct _zend_string *}' LIBSSH2_API int libssh2_sftp_mkdir_ex(LIBSSH2_SFTP *sftp, ^~~~~~~~~~~~~~~~~~~~~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:502:36: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types] result = libssh2_sftp_mkdir(sftp, resource->path, mode); ^ In file included from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main/../main/php_config.h:2612:0, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_config.h:1, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_portability.h:43, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_types.h:25, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend.h:27, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main/php.h:33, from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:25: /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/string.h:247:15: note: expected 'const char *' but argument is of type 'zend_string * {aka struct _zend_string *}' extern size_t strlen (const char *__s) ^~~~~~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:502:11: warning: passing argument 2 of 'libssh2_sftp_mkdir_ex' from incompatible pointer type [-Wincompatible-pointer-types] result = libssh2_sftp_mkdir(sftp, resource->path, mode); ^~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/php_ssh2.h:25:0, from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:26: /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/libssh2_sftp.h:300:17: note: expected 'const char *' but argument is of type 'zend_string * {aka struct _zend_string *}' LIBSSH2_API int libssh2_sftp_mkdir_ex(LIBSSH2_SFTP *sftp, ^~~~~~~~~~~~~~~~~~~~~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c: In function 'php_ssh2_sftp_rmdir': /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:530:36: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types] result = libssh2_sftp_rmdir(sftp, resource->path); ^ In file included from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main/../main/php_config.h:2612:0, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_config.h:1, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_portability.h:43, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_types.h:25, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend.h:27, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main/php.h:33, from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:25: /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/string.h:247:15: note: expected 'const char *' but argument is of type 'zend_string * {aka struct _zend_string *}' extern size_t strlen (const char *__s) ^~~~~~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:530:11: warning: passing argument 2 of 'libssh2_sftp_rmdir_ex' from incompatible pointer type [-Wincompatible-pointer-types] result = libssh2_sftp_rmdir(sftp, resource->path); ^~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/php_ssh2.h:25:0, from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_sftp.c:26: /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/libssh2_sftp.h:306:17: note: expected 'const char *' but argument is of type 'zend_string * {aka struct _zend_string *}' LIBSSH2_API int libssh2_sftp_rmdir_ex(LIBSSH2_SFTP *sftp, ^~~~~~~~~~~~~~~~~~~~~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c: In function 'php_ssh2_fopen_wraper_parse_path': Makefile:198: recipe for target 'ssh2_sftp.lo' failed make[1]: *** [ssh2_sftp.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c:236:14: warning: passing argument 1 of 'strncmp' from incompatible pointer type [-Wincompatible-pointer-types] if (strncmp(resource->scheme, "ssh2.", sizeof("ssh2.") - 1)) { ^~~~~~~~ In file included from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main/../main/php_config.h:2612:0, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_config.h:1, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_portability.h:43, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_types.h:25, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend.h:27, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main/php.h:33, from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/string.h:101:12: note: expected 'const char *' but argument is of type 'zend_string * {aka struct _zend_string *}' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c:242:13: warning: passing argument 1 of 'strcmp' from incompatible pointer type [-Wincompatible-pointer-types] if (strcmp(resource->scheme + sizeof("ssh2.") - 1, type)) { ^~~~~~~~ In file included from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main/../main/php_config.h:2612:0, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_config.h:1, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_portability.h:43, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_types.h:25, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend.h:27, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main/php.h:33, from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/string.h:98:12: note: expected 'const char *' but argument is of type 'zend_string * {aka struct _zend_string *}' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c:256:4: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] s = resource->path; ^ In file included from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend.h:29:0, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main/php.h:33, from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c:257:40: warning: passing argument 2 of 'strstr' from incompatible pointer type [-Wincompatible-pointer-types] resource->path = estrdup(strstr(path, resource->path)); ^ /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_alloc.h:170:36: note: in definition of macro 'estrdup' #define estrdup(s) _estrdup((s) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC) ^ In file included from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main/../main/php_config.h:2612:0, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_config.h:1, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_portability.h:43, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_types.h:25, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend.h:27, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main/php.h:33, from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/string.h:193:14: note: expected 'const char *' but argument is of type 'zend_string * {aka struct _zend_string *}' extern char *strstr (const char *__haystack, const char *__needle) ^~~~~~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c:257:17: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] resource->path = estrdup(strstr(path, resource->path)); ^ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c:261:4: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] s = resource->host; ^ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c:312:24: error: invalid operands to binary == (have 'zend_string {aka struct _zend_string}' and 'int') if (resource->host[0] == 0 && context && psftp && ~~~~~~~~~~~~~~~~~ ^~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c:326:24: error: invalid operands to binary == (have 'zend_string {aka struct _zend_string}' and 'int') if (resource->host[0] == 0 && context && ~~~~~~~~~~~~~~~~~ ^~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c:402:20: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types] int len = strlen(resource->user); ^~~~~~~~ In file included from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main/../main/php_config.h:2612:0, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_config.h:1, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_portability.h:43, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_types.h:25, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend.h:27, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main/php.h:33, from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/string.h:247:15: note: expected 'const char *' but argument is of type 'zend_string * {aka struct _zend_string *}' extern size_t strlen (const char *__s) ^~~~~~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c:405:13: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] username = resource->user; ^ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c:411:20: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types] int len = strlen(resource->pass); ^~~~~~~~ In file included from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main/../main/php_config.h:2612:0, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_config.h:1, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_portability.h:43, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend_types.h:25, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/Zend/zend.h:27, from /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../usr/include/php/main/php.h:33, from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/string.h:247:15: note: expected 'const char *' but argument is of type 'zend_string * {aka struct _zend_string *}' extern size_t strlen (const char *__s) ^~~~~~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c:414:13: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] password = resource->pass; ^ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c:425:37: warning: passing argument 1 of 'php_ssh2_session_connect' from incompatible pointer type [-Wincompatible-pointer-types] session = php_ssh2_session_connect(resource->host, resource->port, methods, callbacks); ^~~~~~~~ In file included from /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c:26:0: /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/php_ssh2.h:151:18: note: expected 'char *' but argument is of type 'zend_string * {aka struct _zend_string *}' LIBSSH2_SESSION *php_ssh2_session_connect(char *host, int port, zval *methods, zval *callbacks); ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c: In function 'php_ssh2_fopen_wrapper_shell': /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c:634:4: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] s = resource->path ? resource->path : NULL; ^ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c: In function 'php_ssh2_fopen_wrapper_exec': /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c:881:55: warning: passing argument 3 of 'php_ssh2_exec_command' from incompatible pointer type [-Wincompatible-pointer-types] stream = php_ssh2_exec_command(session, resource_id, resource->path + 1, terminal, terminal_len, environment, width, height, type); ^~~~~~~~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c:737:20: note: expected 'char *' but argument is of type 'zend_string * {aka struct _zend_string *}' static php_stream *php_ssh2_exec_command(LIBSSH2_SESSION *session, int resource_id, char *command, char *term, int term_len, zval *environment, long width, long height, long type) ^~~~~~~~~~~~~~~~~~~~~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c: In function 'php_ssh2_fopen_wrapper_scp': /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c:1024:51: warning: passing argument 3 of 'php_ssh2_scp_xfer' from incompatible pointer type [-Wincompatible-pointer-types] stream = php_ssh2_scp_xfer(session, resource_id, resource->path); ^~~~~~~~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c:970:20: note: expected 'char *' but argument is of type 'zend_string * {aka struct _zend_string *}' static php_stream *php_ssh2_scp_xfer(LIBSSH2_SESSION *session, int resource_id, char *filename) ^~~~~~~~~~~~~~~~~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c: In function 'php_ssh2_fopen_wrapper_tunnel': /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c:1265:42: error: invalid operands to binary == (have 'zend_string {aka struct _zend_string}' and 'int') if (resource->path && resource->path[0] == '/') { ~~~~~~~~~~~~~~~~~ ^~ /home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/ssh2_fopen_wrappers.c:1268:8: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] host = resource->path + 1; ^ Makefile:196: recipe for target 'ssh2_fopen_wrappers.lo' failed make[1]: *** [ssh2_fopen_wrappers.lo] Error 1 make[1]: Leaving directory '/home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2' package/pkg-generic.mk:230: recipe for target '/home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/.stamp_built' failed make: *** [/home/buildroot/build/instance-0/output/build/php-ssh2-1.1.2/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/build/instance-0/buildroot'