this is part of errors:
/usr/local/cphalcon/build/64bits/phalcon.c:105293: error: 'spl_ce_BadMethodCallException' undeclared (first use in this function) /usr/local/cphalcon/build/64bits/phalcon.c:105293: warning: passing argument 1 of 'zend_throw_exception_ex' from incompatible pointer type /usr/local/cphalcon/build/64bits/phalcon.c: In function 'zif_Phalcon_Queue_Beanstalk_disconnect': /usr/local/cphalcon/build/64bits/phalcon.c:105422: error: 'PHP_STREAM_FLAG_NO_FCLOSE' undeclared (first use in this function) /usr/local/cphalcon/build/64bits/phalcon.c:105422: error: invalid operands to binary & /usr/local/cphalcon/build/64bits/phalcon.c: In function 'zif_Phalcon_Queue_Beanstalk_Job_construct': /usr/local/cphalcon/build/64bits/phalcon.c:105518: error: 'spl_ce_BadMethodCallException' undeclared (first use in this function) /usr/local/cphalcon/build/64bits/phalcon.c:105518: warning: passing argument 1 of 'zend_throw_exception_ex' from incompatible pointer type /usr/local/cphalcon/build/64bits/phalcon.c: In function 'phalcon_session_adapter_get_iterator': /usr/local/cphalcon/build/64bits/phalcon.c:106036: error: 'spl_ce_ArrayIterator' undeclared (first use in this function) /usr/local/cphalcon/build/64bits/phalcon.c:106036: warning: passing argument 2 of '_object_init_ex' from incompatible pointer type /usr/local/cphalcon/build/64bits/phalcon.c:106042: error: 'zend_function_entry' has no member named 'get_iterator' /usr/local/cphalcon/build/64bits/phalcon.c:106042: error: called object '<erroneous-expression>' is not a function /usr/local/cphalcon/build/64bits/phalcon.c:106042: warning: assignment from incompatible pointer type /usr/local/cphalcon/build/64bits/phalcon.c: In function 'phalcon_Phalcon_Session_Adapter_init': /usr/local/cphalcon/build/64bits/phalcon.c:106075: warning: assignment from incompatible pointer type /usr/local/cphalcon/build/64bits/phalcon.c:106080: error: 'spl_ce_Countable' undeclared (first use in this function) /usr/local/cphalcon/build/64bits/phalcon.c: In function 'zif_Phalcon_SessionAdapterget': /usr/local/cphalcon/build/64bits/phalcon.c:106227: error: 'spl_ce_BadMethodCallException' undeclared (first use in this function) /usr/local/cphalcon/build/64bits/phalcon.c:106227: warning: passing argument 1 of 'zend_throw_exception_ex' from incompatible pointer type /usr/local/cphalcon/build/64bits/phalcon.c: In function 'zif_Phalcon_Session_Adapter_getIterator': /usr/local/cphalcon/build/64bits/phalcon.c:106252: error: 'spl_ce_ArrayIterator' undeclared (first use in this function) /usr/local/cphalcon/build/64bits/phalcon.c:106252: warning: passing argument 2 of '_object_init_ex' from incompatible pointer type /usr/local/cphalcon/build/64bits/phalcon.c: In function 'phalcon_session_bag_get_iterator': /usr/local/cphalcon/build/64bits/phalcon.c:106369: error: 'spl_ce_ArrayIterator' undeclared (first use in this function) /usr/local/cphalcon/build/64bits/phalcon.c:106369: warning: passing argument 2 of '_object_init_ex' from incompatible pointer type /usr/local/cphalcon/build/64bits/phalcon.c:106375: error: 'zend_function_entry' has no member named 'get_iterator' /usr/local/cphalcon/build/64bits/phalcon.c:106375: error: called object '<erroneous-expression>' is not a function /usr/local/cphalcon/build/64bits/phalcon.c:106375: warning: assignment from incompatible pointer type /usr/local/cphalcon/build/64bits/phalcon.c: In function 'phalcon_Phalcon_Session_Bag_init': /usr/local/cphalcon/build/64bits/phalcon.c:106395: warning: assignment from incompatible pointer type /usr/local/cphalcon/build/64bits/phalcon.c:106403: error: 'spl_ce_Countable' undeclared (first use in this function) /usr/local/cphalcon/build/64bits/phalcon.c: In function 'zif_Phalcon_Session_Bag_construct': /usr/local/cphalcon/build/64bits/phalcon.c:106413: error: 'spl_ce_BadMethodCallException' undeclared (first use in this function) /usr/local/cphalcon/build/64bits/phalcon.c:106413: warning: passing argument 1 of 'zend_throw_exception_ex' from incompatible pointer type /usr/local/cphalcon/build/64bits/phalcon.c: In function 'zif_Phalcon_Session_Bag_initialize': /usr/local/cphalcon/build/64bits/phalcon.c:106457: warning: initialization discards qualifiers from pointer target type /usr/local/cphalcon/build/64bits/phalcon.c:106461: error: 'spl_ce_LogicException' undeclared (first use in this function) /usr/local/cphalcon/build/64bits/phalcon.c:106461: warning: passing argument 1 of 'zend_throw_exception_ex' from incompatible pointer type /usr/local/cphalcon/build/64bits/phalcon.c:106461: warning: passing argument 1 of 'zend_throw_exception_ex' from incompatible pointer type /usr/local/cphalcon/build/64bits/phalcon.c: In function 'zif_Phalcon_Session_Bag_getIterator': /usr/local/cphalcon/build/64bits/phalcon.c:106647: error: 'spl_ce_ArrayIterator' undeclared (first use in this function) /usr/local/cphalcon/build/64bits/phalcon.c:106647: warning: passing argument 2 of '_object_init_ex' from incompatible pointer type /usr/local/cphalcon/build/64bits/phalcon.c: In function 'zif_Phalcon_Translate_Adapter_offsetExists': /usr/local/cphalcon/build/64bits/phalcon.c:107178: error: 'spl_ce_BadMethodCallException' undeclared (first use in this function) /usr/local/cphalcon/build/64bits/phalcon.c:107178: warning: passing argument 1 of 'zend_throw_exception_ex' from incompatible pointer type /usr/local/cphalcon/build/64bits/phalcon.c: In function 'zif_Phalcon_Translate_Adapter_offsetGet': /usr/local/cphalcon/build/64bits/phalcon.c:107192: error: 'spl_ce_BadMethodCallException' undeclared (first use in this function) /usr/local/cphalcon/build/64bits/phalcon.c:107192: warning: passing argument 1 of 'zend_throw_exception_ex' from incompatible pointer type /usr/local/cphalcon/build/64bits/phalcon.c: In function 'zif_Phalcon_Translate_Adapter_NativeArray_exists': /usr/local/cphalcon/build/64bits/phalcon.c:107382: error: 'spl_ce_BadMethodCallException' undeclared (first use in this function) /usr/local/cphalcon/build/64bits/phalcon.c:107382: warning: passing argument 1 of 'zend_throw_exception_ex' from incompatible pointer type /usr/local/cphalcon/build/64bits/phalcon.c: In function 'phalcon_validation_validator_getoption_helper': /usr/local/cphalcon/build/64bits/phalcon.c:107662: warning: initialization discards qualifiers from pointer target type /usr/local/cphalcon/build/64bits/phalcon.c: In function 'zif_Phalcon_Validation_Validator_getOption': /usr/local/cphalcon/build/64bits/phalcon.c:107704: error: 'spl_ce_BadMethodCallException' undeclared (first use in this function) /usr/local/cphalcon/build/64bits/phalcon.c:107704: warning: passing argument 1 of 'zend_throw_exception_ex' from incompatible pointer type /usr/local/cphalcon/build/64bits/phalcon.c: In function 'phalcon_validation_message_group_write_dimension': /usr/local/cphalcon/build/64bits/phalcon.c:107943: error: 'spl_ce_BadMethodCallException' undeclared (first use in this function) /usr/local/cphalcon/build/64bits/phalcon.c:107943: warning: passing argument 1 of 'zend_throw_exception_ex' from incompatible pointer type /usr/local/cphalcon/build/64bits/phalcon.c:107943: warning: passing argument 1 of 'zend_throw_exception_ex' from incompatible pointer type /usr/local/cphalcon/build/64bits/phalcon.c: In function 'phalcon_Phalcon_Validation_Message_Group_init': /usr/local/cphalcon/build/64bits/phalcon.c:108044: warning: assignment from incompatible pointer type /usr/local/cphalcon/build/64bits/phalcon.c:108054: error: 'spl_ce_Countable' undeclared (first use in this function) /usr/local/cphalcon/build/64bits/phalcon.c: In function 'zif_Phalcon_Validation_Message_Group___construct': /usr/local/cphalcon/build/64bits/phalcon.c:108072: error: 'spl_ce_BadMethodCallException' undeclared (first use in this function) /usr/local/cphalcon/build/64bits/phalcon.c:108072: warning: passing argument 1 of 'zend_throw_exception_ex' from incompatible pointer type /usr/local/cphalcon/build/64bits/phalcon.c: In function 'zif_Phalcon_Validation_Message_Group_offsetGet': /usr/local/cphalcon/build/64bits/phalcon.c:108080: error: 'spl_ce_BadMethodCallException' undeclared (first use in this function) /usr/local/cphalcon/build/64bits/phalcon.c:108080: warning: passing argument 1 of 'zend_throw_exception_ex' from incompatible pointer type /usr/local/cphalcon/build/64bits/phalcon.c: In function 'zif_Phalcon_Validation_Message_Group_offsetSet': /usr/local/cphalcon/build/64bits/phalcon.c:108093: error: 'spl_ce_BadMethodCallException' undeclared (first use in this function) /usr/local/cphalcon/build/64bits/phalcon.c:108093: warning: passing argument 1 of 'zend_throw_exception_ex' from incompatible pointer type /usr/local/cphalcon/build/64bits/phalcon.c: In function 'zif_Phalcon_Validation_Message_Group_offsetExists': /usr/local/cphalcon/build/64bits/phalcon.c:108101: error: 'spl_ce_BadMethodCallException' undeclared (first use in this function) /usr/local/cphalcon/build/64bits/phalcon.c:108101: warning: passing argument 1 of 'zend_throw_exception_ex' from incompatible pointer type /usr/local/cphalcon/build/64bits/phalcon.c: In function 'zif_Phalcon_Validation_Message_Group_offsetUnset': /usr/local/cphalcon/build/64bits/phalcon.c:108109: error: 'spl_ce_BadMethodCallException' undeclared (first use in this function) /usr/local/cphalcon/build/64bits/phalcon.c:108109: warning: passing argument 1 of 'zend_throw_exception_ex' from incompatible pointer type /usr/local/cphalcon/build/64bits/phalcon.c: In function 'zif_Phalcon_Validation_Message_Group_appendMessage': /usr/local/cphalcon/build/64bits/phalcon.c:108118: error: 'spl_ce_BadMethodCallException' undeclared (first use in this function) /usr/local/cphalcon/build/64bits/phalcon.c:108118: warning: passing argument 1 of 'zend_throw_exception_ex' from incompatible pointer type /usr/local/cphalcon/build/64bits/phalcon.c:108118: warning: passing argument 1 of 'zend_throw_exception_ex' from incompatible pointer type /usr/local/cphalcon/build/64bits/phalcon.c: In function 'zif_Phalcon_Validation_Message_Group_appendMessages': /usr/local/cphalcon/build/64bits/phalcon.c:108150: error: too many arguments to function 'ce->get_iterator' /usr/local/cphalcon/build/64bits/phalcon.c: In function 'zif_Phalcon_Validation_MessageGroupset_state': /usr/local/cphalcon/build/64bits/phalcon.c:108294: error: 'spl_ce_BadMethodCallException' undeclared (first use in this function) /usr/local/cphalcon/build/64bits/phalcon.c:108294: warning: passing argument 1 of 'zend_throw_exception_ex' from incompatible pointer type /usr/local/cphalcon/build/64bits/phalcon.c:108301: warning: passing argument 1 of 'zend_throw_exception_ex' from incompatible pointer type /usr/local/cphalcon/build/64bits/phalcon.c: In function 'PHP_GINIT_FUNCTION': /usr/local/cphalcon/build/64bits/phalcon.c:109873: error: incompatible type for argument 1 of 'php_phalcon_init_globals' /usr/local/cphalcon/build/64bits/phalcon.c: At top level: /usr/local/cphalcon/build/64bits/phalcon.c:109974: error: 'phalcon' undeclared here (not in a function) /usr/local/cphalcon/build/64bits/phalcon.c:109974: error: initializer element is not constant /usr/local/cphalcon/build/64bits/phalcon.c:109974: error: (near initialization for 'phalcon_module_entry.post_deactivate_func') /usr/local/cphalcon/build/64bits/phalcon.c:109975: error: initializer element is not constant /usr/local/cphalcon/build/64bits/phalcon.c:109975: error: (near initialization for 'phalcon_module_entry.globals_id') /usr/local/cphalcon/build/64bits/phalcon.c:109976: error: initializer element is not constant /usr/local/cphalcon/build/64bits/phalcon.c:109976: error: (near initialization for 'phalcon_module_entry.module_started') /usr/local/cphalcon/build/64bits/phalcon.c:109977: warning: initialization makes integer from pointer without a cast /usr/local/cphalcon/build/64bits/phalcon.c:109977: error: initializer element is not computable at load time /usr/local/cphalcon/build/64bits/phalcon.c:109977: error: (near initialization for 'phalcon_module_entry.type') /usr/local/cphalcon/build/64bits/phalcon.c:109978: warning: excess elements in struct initializer /usr/local/cphalcon/build/64bits/phalcon.c:109978: warning: (near initialization for 'phalcon_module_entry') /usr/local/cphalcon/build/64bits/phalcon.c:109978: warning: excess elements in struct initializer /usr/local/cphalcon/build/64bits/phalcon.c:109978: warning: (near initialization for 'phalcon_module_entry') /usr/local/cphalcon/build/64bits/phalcon.c:109979: warning: excess elements in struct initializer /usr/local/cphalcon/build/64bits/phalcon.c:109979: warning: (near initialization for 'phalcon_module_entry') make: *** [phalcon.lo] Error 1
**I use php5.5.8,and now the phalcon in my os is 1.2.5. I try to upgrade old version of Phalcon to latest version 1.3.2 :
git clone --depth=1 git://github.com/phalcon/cphalcon.git cd cphalcon/build sudo ./install
but it compile failed
Please help,do I miss any steps?**