Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Phalcon 2 beta - Problems with phalcon/crypt.lo

The build process of Phalcon 2.0. started via cphalcon/ext/install, always stops with an error:

... libtool: compile: cc -I. -I/home/user/git/cphalcon/ext -DPHPATOMINC -I/home/user/git/cphalcon/ext/include -I/home/user/git/cphalcon/ext/main -I/home/user/git/cphalcon/ext -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVECONFIGH -g -O2 -c /home/user/git/cphalcon/ext/phalcon/config/exception.zep.c -fPIC -DPIC -o phalcon/config/.libs/exception.o libtool: compile: cc -I. -I/home/user/git/cphalcon/ext -DPHPATOMINC -I/home/user/git/cphalcon/ext/include -I/home/user/git/cphalcon/ext/main -I/home/user/git/cphalcon/ext -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVECONFIGH -g -O2 -c /home/user/git/cphalcon/ext/phalcon/crypt.zep.c -fPIC -DPIC -o phalcon/.libs/crypt.o /home/user/git/cphalcon/ext/phalcon/crypt.zep.c: In function 'zimPhalconCryptdecrypt': /home/user/git/cphalcon/ext/phalcon/crypt.zep.c:423:2: error: incompatible types when initializing type 'struct zval *' using type 'zval' ZEPHIRCALLFUNCTION(&9, "substr", &10, text, _0); ^ /home/user/git/cphalcon/ext/phalcon/crypt.zep.c:429:2: error: incompatible types when initializing type 'struct zval *' using type 'zval' ZEPHIRCALLFUNCTION(&12, "substr", &10, text, &11, _1); ^ make: * [phalcon/crypt.lo] Error 1

Tried it on Ubuntu12.04 + Ubuntu14.04 (32bit) + Ubuntu 14.04 (64bit), as a VMWare-Image or on a VPS...

Phalcon 1.x works without any problems.

Any suggestions on that?



1.1k
Accepted
answer

Please update and try again



1.5k

YOU DID IT!!!!

Thanks a lot!