I want to install phalcon with the php that the osx come with. My system is 10.10.1, php version is 5.5.14. Phalcon source code is checked out via github.
When I do 'sudo ./install', it display like this below:
cphalcon/build/64bits/phalcon.c:19939:2: warning: implicit declaration of function 'zend_hash_get_current_key_zval_ex' is invalid in C99
[-Wimplicit-function-declaration]
zend_hash_get_current_key_zval_ex(Z_ARRVAL_P(obj->properties), key, &obj->pos);
^
cphalcon/build/64bits/phalcon.c:19965:2: warning: incompatible pointer types initializing 'int (*)(zend_object_iterator *, char **, uint *, unsigned long *)'
with an expression of type 'void (zend_object_iterator *, zval *)' [-Wincompatible-pointer-types]
phalcon_registry_iterator_get_current_key,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cphalcon/build/64bits/phalcon.c:48768:2: warning: incompatible pointer types initializing 'int (*)(zend_object_iterator *, char **, uint *, unsigned long *)'
with an expression of type 'void (zend_object_iterator *, zval *)' [-Wincompatible-pointer-types]
phalcon_forms_form_get_current_key,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cphalcon/build/64bits/phalcon.c:49534:79: error: too few arguments to function call, expected 4, have 2
phalcon_forms_form_iterator_funcs.get_current_key(&it, return_value TSRMLS_CC);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
cphalcon/build/64bits/phalcon.c:95084:41: warning: \U used with no following hex digits; treating as '\' followed by identifier [-Wunicode]
PHALCON_REGISTER_CLASS_EX(Phalcon\\Mvc\\Url, Exception, mvc_url_exception, phalcon_exception_ce, NULL, 0);
^
cphalcon/build/64bits/phalcon.c:95097:41: warning: \U used with no following hex digits; treating as '\' followed by identifier [-Wunicode]
PHALCON_REGISTER_CLASS_EX(Phalcon\\Mvc\\User, Component, mvc_user_component, phalcon_di_injectable_ce, NULL, 0);
^
cphalcon/build/64bits/phalcon.c:95110:41: warning: \U used with no following hex digits; treating as '\' followed by identifier [-Wunicode]
PHALCON_REGISTER_CLASS_EX(Phalcon\\Mvc\\User, Module, mvc_user_module, phalcon_di_injectable_ce, NULL, 0);
^
cphalcon/build/64bits/phalcon.c:95123:41: warning: \U used with no following hex digits; treating as '\' followed by identifier [-Wunicode]
PHALCON_REGISTER_CLASS_EX(Phalcon\\Mvc\\User, Plugin, mvc_user_plugin, phalcon_di_injectable_ce, NULL, 0);
^
cphalcon/build/64bits/phalcon.c:109942:2: warning: incompatible pointer types initializing 'int (*)(zend_object_iterator *, char **, uint *, unsigned long *)'
with an expression of type 'void (zend_object_iterator *, zval *)' [-Wincompatible-pointer-types]
phalcon_validation_message_group_get_current_key,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cphalcon/build/64bits/phalcon.c:110318:93: error: too few arguments to function call, expected 4, have 2
phalcon_validation_message_group_iterator_funcs.get_current_key(&it, return_value TSRMLS_CC);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
8 warnings and 2 errors generated.
make: *** [phalcon.lo] Error 1
Can someone tell me how to solve this problem? Thank you