Hi,
I get following warnings during compilation of phalcon 2:
[email protected]:~/Code/cphalcon# zephir build Warning: Class "APCIterator" does not exist at compile time in /root/Code/cphalcon/phalcon/cache/backend/apc.zep on 224 [nonexistent-class]
apc = new \APCIterator("user", prefixPattern);
------------------------------------------------^
Warning: Function "imagecreatefromxbm" does not exist at compile time in /root/Code/cphalcon/phalcon/image/adapter/gd.zep on 93 [nonexistent-function]
let this->_image = imagecreatefromxbm(this->_file);
-------------------------------------------------------^
Warning: Function "imagescale" does not exist at compile time in /root/Code/cphalcon/phalcon/image/adapter/gd.zep on 158 [nonexistent-function]
let image = imagescale(this->_image, width, height);
------------------------------------------------------^
Warning: Function "imagecrop" does not exist at compile time in /root/Code/cphalcon/phalcon/image/adapter/gd.zep on 180 [nonexistent-function]
let image = imagecrop(this->_image, rect);
--------------------------------------------^
Warning: Function "imageflip" does not exist at compile time in /root/Code/cphalcon/phalcon/image/adapter/gd.zep on 238 [nonexistent-function]
imageflip(this->_image, IMG_FLIP_HORIZONTAL);
------------------------------------------------^
Warning: Constant 'IMG_FLIP_HORIZONTAL' does not exist at compile time in /root/Code/cphalcon/phalcon/image/adapter/gd.zep on 238 [nonexistent-constant]
imageflip(this->_image, IMG_FLIP_HORIZONTAL);
-----------------------------------------------^
Warning: Function "imageflip" does not exist at compile time in /root/Code/cphalcon/phalcon/image/adapter/gd.zep on 240 [nonexistent-function]
imageflip(this->_image, IMG_FLIP_VERTICAL);
----------------------------------------------^
Warning: Constant 'IMG_FLIP_VERTICAL' does not exist at compile time in /root/Code/cphalcon/phalcon/image/adapter/gd.zep on 240 [nonexistent-constant]
imageflip(this->_image, IMG_FLIP_VERTICAL);
---------------------------------------------^
Warning: Function "imagelayereffect" does not exist at compile time in /root/Code/cphalcon/phalcon/image/adapter/gd.zep on 323 [nonexistent-function]
imagelayereffect(overlay, IMG_EFFECT_OVERLAY);
------------------------------------------------^
Warning: Constant 'IMG_EFFECT_OVERLAY' does not exist at compile time in /root/Code/cphalcon/phalcon/image/adapter/gd.zep on 323 [nonexistent-constant]
imagelayereffect(overlay, IMG_EFFECT_OVERLAY);
-----------------------------------------------^
Warning: Function "imagexbm" does not exist at compile time in /root/Code/cphalcon/phalcon/image/adapter/gd.zep on 529 [nonexistent-function]
imagexbm(this->_image, file);
-------------------------------^
Warning: Function "imagexbm" does not exist at compile time in /root/Code/cphalcon/phalcon/image/adapter/gd.zep on 556 [nonexistent-function]
imagexbm(this->_image, null);
-------------------------------^
Warning: Function "phalcon_orm_singlequotes" does not exist at compile time in /root/Code/cphalcon/phalcon/mvc/model/query.zep on 513 [nonexistent-function]
let escapedValue = phalcon_orm_singlequotes(value);
---------------------------------------------------------^
Warning: Possible attempt to append elements on a non-array dynamic variable in /root/Code/cphalcon/phalcon/mvc/router.zep on 110 [non-array-append]
]);
-----^
Warning: Possible attempt to append elements on a non-array dynamic variable in /root/Code/cphalcon/phalcon/mvc/router.zep on 116 [non-array-append]
]);
-----^
Any pointers on how to fix them? I have APC and GD library installed in my debian VM.
Thanks,
Jeroen