|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2007-09-05 21:20 UTC] philipissa at hotmail dot com
  [2007-10-06 00:59 UTC] eugene at snowball dot co dot za
  [2007-10-06 02:27 UTC] eugene at snowball dot co dot za
  [2008-12-20 12:39 UTC] mikesul@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 06:00:01 2025 UTC | 
Description: ------------ [7:18am]# ./configure checking for gcc... gcc checking for C compiler default output... 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 for PHP prefix... /usr checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM checking for PHP extension directory... /usr/lib/php4 checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for gawk... gawk checking for ssh2 support... yes, shared checking for ssh2 files in default path... found in /usr/local checking for libssh2_banner_set in -lssh2... yes checking for libssh2_channel_forward_listen_ex in -lssh2... yes checking for libssh2_userauth_hostbased_fromfile_ex in -lssh2... yes checking for libssh2_poll in -lssh2... yes checking for libssh2_publickey_init in -lssh2... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu 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 for a sed that does not truncate output... /bin/sed checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking command to parse /usr/bin/nm -B output... ok 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 ranlib... ranlib checking for strip... strip checking for objdir... .libs 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 if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether -lc should be explicitly linked in... no creating libtool configure: creating ./config.status config.status: creating config.h config.status: config.h is unchanged [/home/developer/install/ssh2-0.10] root@linux11638(pts/1) [7:18am]# make /bin/sh /home/developer/install/ssh2-0.10/libtool --mode=compile gcc -I. -I/home/developer/install/ssh2-0.10 -DPHP_ATOM_INC -I/home/developer/install/ssh2-0.10/include -I/home/developer/install/ssh2-0.10/main -I/home/developer/install/ssh2-0.10 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -prefer-pic -c /home/developer/install/ssh2-0.10/ssh2.c -o ssh2.lo gcc -I. -I/home/developer/install/ssh2-0.10 -DPHP_ATOM_INC -I/home/developer/install/ssh2-0.10/include -I/home/developer/install/ssh2-0.10/main -I/home/developer/install/ssh2-0.10 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c /home/developer/install/ssh2-0.10/ssh2.c -fPIC -DPIC -o ssh2.lo In file included from /usr/include/openssl/ssl.h:179, from /usr/include/php/main/php_network.h:78, from /home/developer/install/ssh2-0.10/ssh2.c:26: /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory In file included from /usr/include/openssl/ssl.h:179, from /usr/include/php/main/php_network.h:78, from /home/developer/install/ssh2-0.10/ssh2.c:26: /usr/include/openssl/kssl.h:134: syntax error before "krb5_enctype" /usr/include/openssl/kssl.h:136: syntax error before '*' token /usr/include/openssl/kssl.h:137: syntax error before '}' token /usr/include/openssl/kssl.h:149: syntax error before "kssl_ctx_setstring" /usr/include/openssl/kssl.h:149: syntax error before '*' token /usr/include/openssl/kssl.h:150: syntax error before '*' token /usr/include/openssl/kssl.h:151: syntax error before '*' token /usr/include/openssl/kssl.h:151: syntax error before '*' token /usr/include/openssl/kssl.h:152: syntax error before '*' token /usr/include/openssl/kssl.h:153: syntax error before "kssl_ctx_setprinc" /usr/include/openssl/kssl.h:153: syntax error before '*' token /usr/include/openssl/kssl.h:155: syntax error before "kssl_cget_tkt" /usr/include/openssl/kssl.h:155: syntax error before '*' token /usr/include/openssl/kssl.h:157: syntax error before "kssl_sget_tkt" /usr/include/openssl/kssl.h:157: syntax error before '*' token /usr/include/openssl/kssl.h:159: syntax error before "kssl_ctx_setkey" /usr/include/openssl/kssl.h:159: syntax error before '*' token /usr/include/openssl/kssl.h:161: syntax error before "context" /usr/include/openssl/kssl.h:162: syntax error before "kssl_build_principal_2" /usr/include/openssl/kssl.h:162: syntax error before "context" /usr/include/openssl/kssl.h:165: syntax error before "kssl_validate_times" /usr/include/openssl/kssl.h:165: syntax error before "atime" /usr/include/openssl/kssl.h:167: syntax error before "kssl_check_authent" /usr/include/openssl/kssl.h:167: syntax error before '*' token /usr/include/openssl/kssl.h:169: syntax error before "enctype" In file included from /usr/include/php/main/php_network.h:78, from /home/developer/install/ssh2-0.10/ssh2.c:26: /usr/include/openssl/ssl.h:909: syntax error before "KSSL_CTX" /usr/include/openssl/ssl.h:931: syntax error before '}' token /home/developer/install/ssh2-0.10/ssh2.c: In function `zif_ssh2_methods_negotiated': /home/developer/install/ssh2-0.10/ssh2.c:483: warning: assignment discards qualifiers from pointer target type /home/developer/install/ssh2-0.10/ssh2.c:484: warning: assignment discards qualifiers from pointer target type /home/developer/install/ssh2-0.10/ssh2.c:485: warning: assignment discards qualifiers from pointer target type /home/developer/install/ssh2-0.10/ssh2.c:486: warning: assignment discards qualifiers from pointer target type /home/developer/install/ssh2-0.10/ssh2.c:487: warning: assignment discards qualifiers from pointer target type /home/developer/install/ssh2-0.10/ssh2.c:488: warning: assignment discards qualifiers from pointer target type /home/developer/install/ssh2-0.10/ssh2.c:489: warning: assignment discards qualifiers from pointer target type /home/developer/install/ssh2-0.10/ssh2.c:490: warning: assignment discards qualifiers from pointer target type /home/developer/install/ssh2-0.10/ssh2.c:491: warning: assignment discards qualifiers from pointer target type /home/developer/install/ssh2-0.10/ssh2.c:492: warning: assignment discards qualifiers from pointer target type /home/developer/install/ssh2-0.10/ssh2.c: In function `zif_ssh2_fingerprint': /home/developer/install/ssh2-0.10/ssh2.c:536: warning: assignment discards qualifiers from pointer target type make: *** [ssh2.lo] Error 1 --------------------------------------------- As found in an earlier bug id #4756, i deleted the lines #ifdef ZEND_ENGINE_2 static ZEND_BEGIN_ARG_INFO(first_arg_force_ref, 0) ZEND_ARG_PASS_INFO(1) ZEND_END_ARG_INFO() #else static unsigned char first_arg_force_ref[] = { 1, BYREF_FORCE }; #endif after that i received a new error. --------------------------- [7:29am]# make /bin/sh /home/developer/install/ssh2-0.10/libtool --mode=compile gcc -I. -I/home/developer/install/ssh2-0.10 -DPHP_ATOM_INC -I/home/developer/install/ssh2-0.10/include -I/home/developer/install/ssh2-0.10/main -I/home/developer/install/ssh2-0.10 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -prefer-pic -c /home/developer/install/ssh2-0.10/ssh2.c -o ssh2.lo gcc -I. -I/home/developer/install/ssh2-0.10 -DPHP_ATOM_INC -I/home/developer/install/ssh2-0.10/include -I/home/developer/install/ssh2-0.10/main -I/home/developer/install/ssh2-0.10 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c /home/developer/install/ssh2-0.10/ssh2.c -fPIC -DPIC -o ssh2.lo In file included from /usr/include/openssl/ssl.h:179, from /usr/include/php/main/php_network.h:78, from /home/developer/install/ssh2-0.10/ssh2.c:26: /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory In file included from /usr/include/openssl/ssl.h:179, from /usr/include/php/main/php_network.h:78, from /home/developer/install/ssh2-0.10/ssh2.c:26: /usr/include/openssl/kssl.h:134: syntax error before "krb5_enctype" /usr/include/openssl/kssl.h:136: syntax error before '*' token /usr/include/openssl/kssl.h:137: syntax error before '}' token /usr/include/openssl/kssl.h:149: syntax error before "kssl_ctx_setstring" /usr/include/openssl/kssl.h:149: syntax error before '*' token /usr/include/openssl/kssl.h:150: syntax error before '*' token /usr/include/openssl/kssl.h:151: syntax error before '*' token /usr/include/openssl/kssl.h:151: syntax error before '*' token /usr/include/openssl/kssl.h:152: syntax error before '*' token /usr/include/openssl/kssl.h:153: syntax error before "kssl_ctx_setprinc" /usr/include/openssl/kssl.h:153: syntax error before '*' token /usr/include/openssl/kssl.h:155: syntax error before "kssl_cget_tkt" /usr/include/openssl/kssl.h:155: syntax error before '*' token /usr/include/openssl/kssl.h:157: syntax error before "kssl_sget_tkt" /usr/include/openssl/kssl.h:157: syntax error before '*' token /usr/include/openssl/kssl.h:159: syntax error before "kssl_ctx_setkey" /usr/include/openssl/kssl.h:159: syntax error before '*' token /usr/include/openssl/kssl.h:161: syntax error before "context" /usr/include/openssl/kssl.h:162: syntax error before "kssl_build_principal_2" /usr/include/openssl/kssl.h:162: syntax error before "context" /usr/include/openssl/kssl.h:165: syntax error before "kssl_validate_times" /usr/include/openssl/kssl.h:165: syntax error before "atime" /usr/include/openssl/kssl.h:167: syntax error before "kssl_check_authent" /usr/include/openssl/kssl.h:167: syntax error before '*' token /usr/include/openssl/kssl.h:169: syntax error before "enctype" In file included from /usr/include/php/main/php_network.h:78, from /home/developer/install/ssh2-0.10/ssh2.c:26: /usr/include/openssl/ssl.h:909: syntax error before "KSSL_CTX" /usr/include/openssl/ssl.h:931: syntax error before '}' token /home/developer/install/ssh2-0.10/ssh2.c: In function `zif_ssh2_methods_negotiated': /home/developer/install/ssh2-0.10/ssh2.c:474: warning: assignment discards qualifiers from pointer target type /home/developer/install/ssh2-0.10/ssh2.c:475: warning: assignment discards qualifiers from pointer target type /home/developer/install/ssh2-0.10/ssh2.c:476: warning: assignment discards qualifiers from pointer target type /home/developer/install/ssh2-0.10/ssh2.c:477: warning: assignment discards qualifiers from pointer target type /home/developer/install/ssh2-0.10/ssh2.c:478: warning: assignment discards qualifiers from pointer target type /home/developer/install/ssh2-0.10/ssh2.c:479: warning: assignment discards qualifiers from pointer target type /home/developer/install/ssh2-0.10/ssh2.c:480: warning: assignment discards qualifiers from pointer target type /home/developer/install/ssh2-0.10/ssh2.c:481: warning: assignment discards qualifiers from pointer target type /home/developer/install/ssh2-0.10/ssh2.c:482: warning: assignment discards qualifiers from pointer target type /home/developer/install/ssh2-0.10/ssh2.c:483: warning: assignment discards qualifiers from pointer target type /home/developer/install/ssh2-0.10/ssh2.c: In function `zif_ssh2_fingerprint': /home/developer/install/ssh2-0.10/ssh2.c:527: warning: assignment discards qualifiers from pointer target type /home/developer/install/ssh2-0.10/ssh2.c: At top level: /home/developer/install/ssh2-0.10/ssh2.c:1284: `php_ssh2_first_arg_force_ref' undeclared here (not in a function) /home/developer/install/ssh2-0.10/ssh2.c:1284: initializer element is not constant /home/developer/install/ssh2-0.10/ssh2.c:1284: (near initialization for `ssh2_functions[15].func_arg_types') /home/developer/install/ssh2-0.10/ssh2.c:1284: initializer element is not constant /home/developer/install/ssh2-0.10/ssh2.c:1284: (near initialization for `ssh2_functions[15]') /home/developer/install/ssh2-0.10/ssh2.c:1288: initializer element is not constant /home/developer/install/ssh2-0.10/ssh2.c:1288: (near initialization for `ssh2_functions[16]') /home/developer/install/ssh2-0.10/ssh2.c:1291: initializer element is not constant /home/developer/install/ssh2-0.10/ssh2.c:1291: (near initialization for `ssh2_functions[17]') /home/developer/install/ssh2-0.10/ssh2.c:1292: initializer element is not constant /home/developer/install/ssh2-0.10/ssh2.c:1292: (near initialization for `ssh2_functions[18]') /home/developer/install/ssh2-0.10/ssh2.c:1293: initializer element is not constant /home/developer/install/ssh2-0.10/ssh2.c:1293: (near initialization for `ssh2_functions[19]') /home/developer/install/ssh2-0.10/ssh2.c:1294: initializer element is not constant /home/developer/install/ssh2-0.10/ssh2.c:1294: (near initialization for `ssh2_functions[20]') /home/developer/install/ssh2-0.10/ssh2.c:1295: initializer element is not constant /home/developer/install/ssh2-0.10/ssh2.c:1295: (near initialization for `ssh2_functions[21]') /home/developer/install/ssh2-0.10/ssh2.c:1296: initializer element is not constant /home/developer/install/ssh2-0.10/ssh2.c:1296: (near initialization for `ssh2_functions[22]') /home/developer/install/ssh2-0.10/ssh2.c:1297: initializer element is not constant /home/developer/install/ssh2-0.10/ssh2.c:1297: (near initialization for `ssh2_functions[23]') /home/developer/install/ssh2-0.10/ssh2.c:1298: initializer element is not constant /home/developer/install/ssh2-0.10/ssh2.c:1298: (near initialization for `ssh2_functions[24]') /home/developer/install/ssh2-0.10/ssh2.c:1299: initializer element is not constant /home/developer/install/ssh2-0.10/ssh2.c:1299: (near initialization for `ssh2_functions[25]') /home/developer/install/ssh2-0.10/ssh2.c:1303: initializer element is not constant /home/developer/install/ssh2-0.10/ssh2.c:1303: (near initialization for `ssh2_functions[26]') /home/developer/install/ssh2-0.10/ssh2.c:1304: initializer element is not constant /home/developer/install/ssh2-0.10/ssh2.c:1304: (near initialization for `ssh2_functions[27]') /home/developer/install/ssh2-0.10/ssh2.c:1305: initializer element is not constant /home/developer/install/ssh2-0.10/ssh2.c:1305: (near initialization for `ssh2_functions[28]') /home/developer/install/ssh2-0.10/ssh2.c:1306: initializer element is not constant /home/developer/install/ssh2-0.10/ssh2.c:1306: (near initialization for `ssh2_functions[29]') /home/developer/install/ssh2-0.10/ssh2.c:1309: initializer element is not constant /home/developer/install/ssh2-0.10/ssh2.c:1309: (near initialization for `ssh2_functions[30]') make: *** [ssh2.lo] Error 1