I have an openSUSE 11.3 box running. Now I would like to use the SSH2 functions in php. I tried to install the extension via PECL as described in PHP: Installation - Manual . Unfortunately the make interrupted with the following error:
/tmp/pear/download/ssh2-0.11.0/ssh2.c:1105:3: warning: passing argument 4 of ‘add_assoc_stringl_ex’ discards qualifiers from pointer target type
/usr/include/php5/Zend/zend_API.h:361:14: note: expected ‘char *’ but argument is of type ‘const unsigned char *’
make: *** [ssh2.lo] Error 1
ERROR: `make’ failed
Does anybody have an idea what I’m doing wrong, or is there another way to install or use the ssh extensions?
>
> I have an openSUSE 11.3 box running. Now I would like to use the SSH2
> functions in php. I tried to install the extension via PECL as
> described in ‘PHP: Installation - Manual’
> (http://bg.php.net/manual/en/ssh2.installation.php) . Unfortunately
> the make interrupted with the following error:
>
> /tmp/pear/download/ssh2-0.11.0/ssh2.c:1105:3: warning: passing
> argument 4 of add_assoc_stringl_ex discards qualifiers from pointer
> target type
> /usr/include/php5/Zend/zend_API.h:361:14: note: expected char * but
> argument is of type const unsigned char *
> make: *** [ssh2.lo] Error 1
> ERROR: `make’ failed
None of those messages are errors - there must be something you’ve
overlooked.