When I am going to build the extension in Ubuntu it's giving me this error. What is the problem? I have followed all the installation steps directed by the installation guide but then why it's happening. $zephir build
zephir_parser extension not loaded, compiling it Parser statistics: 127 terminals, 99 nonterminals, 459 rules 947 states, 0 parser table entries, 0 conflicts make: ** No rule to make target 'clean'. Stop. Preparing for parser compilation... Compiling the parser... /home/sayan/zephir/parser/parser/parser.c: In function 'yy_reduce': /home/sayan/zephir/parser/parser/parser.c:8763:38: warning: passing argument 2 of 'xx_ret_scall' from incompatible pointer type [-Wincompatible-pointer-types] yygotominor.yy132 = xx_ret_scall(0, yymsp[-6].minor.yy0, 1, yymsp[-3].minor.yy0, NULL, status->scanner_state); ^ /home/sayan/zephir/parser/parser/parser.c:1189:14: note: expected 'char ' but argument is of type 'xx_parser_token {aka struct _xx_parser_token }' static zval xx_ret_scall(int dynamic_class, char class_name, int dynamic_method, xx_parser_token M, zval parameters, xx_scanner_state state) ^ /home/sayan/zephir/parser/parser/parser.c:8775:38: warning: passing argument 2 of 'xx_ret_scall' from incompatible pointer type [-Wincompatible-pointer-types] yygotominor.yy132 = xx_ret_scall(0, yymsp[-7].minor.yy0, 1, yymsp[-4].minor.yy0, yymsp[-1].minor.yy132, status->scanner_state); ^ /home/sayan/zephir/parser/parser/parser.c:1189:14: note: expected 'char ' but argument is of type 'xx_parser_token {aka struct _xx_parser_token }' static zval xx_ret_scall(int dynamic_class, char class_name, int dynamic_method, xx_parser_token M, zval parameters, xx_scanner_state state) ^ In file included from /usr/include/string.h:634:0, from /usr/include/php5/main/php_config.h:2543, from /usr/include/php5/main/php.h:34, from /home/sayan/zephir/parser/parser/parser.c:9: /home/sayan/zephir/parser/parser/parser.c: At top level: /home/sayan/zephir/parser/parser/parser.c:9257:7: error: expected identifier or '(' before 'extension' char strndup(const char *s, size_t len) ^ /home/sayan/zephir/parser/parser/scanner.c: In function 'xx_get_token': /home/sayan/zephir/parser/parser/scanner.c:1273:4: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(token->value); ^ /home/sayan/zephir/parser/parser/scanner.c:1273:4: warning: incompatible implicit declaration of built-in function 'free' /home/sayan/zephir/parser/parser/scanner.c:1273:4: note: include '<stdlib.h>' or provide a declaration of 'free' /home/sayan/zephir/parser/parser/parser.c: In function 'xx_parse_program': /home/sayan/zephir/parser/parser/parser.c:9235:17: warning: return makes pointer from integer without a cast [-Wint-conversion]
define SUCCESS 1
^
/home/sayan/zephir/parser/parser/parser.c:9350:10: note: in expansion of macro 'SUCCESS' return SUCCESS; ^ make: [parser/parser.lo] Error 1 make: Waiting for unfinished jobs....
libtool: compile: gcc -I. -I/home/sayan/zephir/parser -DPHP_ATOM_INC -I/home/sayan/zephir/parser/include -I/home/sayan/zephir/parser/main -I/home/sayan/zephir/parser -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -c /home/sayan/zephir/parser/zephir_parser.c -fPIC -DPIC -o .libs/zephir_parser.o libtool: compile: gcc -I. -I/home/sayan/zephir/parser -DPHP_ATOM_INC -I/home/sayan/zephir/parser/include -I/home/sayan/zephir/parser/main -I/home/sayan/zephir/parser -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -c /home/sayan/zephir/parser/parser/parser.c -fPIC -DPIC -o parser/.libs/parser.o libtool: compile: gcc -I. -I/home/sayan/zephir/parser -DPHP_ATOM_INC -I/home/sayan/zephir/parser/include -I/home/sayan/zephir/parser/main -I/home/sayan/zephir/parser -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -c /home/sayan/zephir/parser/parser/scanner.c -fPIC -DPIC -o parser/.libs/scanner.o Makefile:183: recipe for target 'parser/parser.lo' failed
PHP Warning: copy(modules/zephir_parser.so): failed to open stream: No such file or directory in /home/sayan/zephir/Library/Compiler.php on line 251 Zephir\Exception: The zephir parser extension could not be found or compiled!
at Library/Compiler.php(256) 0 Library/Compiler.php(269): Zephir\Compiler->compileParser() 1 Library/Compiler.php(328): Zephir\Compiler->preCompile('utils/greeting....') 2 Library/Compiler.php(872): Zephir\Compiler->recursivePreCompile('utils') 3 Library/Compiler.php(1076): Zephir\Compiler->generate(Object(Zephir\Commands\CommandBuild)) 4 Library/Compiler.php(1195): Zephir\Compiler->compile(Object(Zephir\Commands\CommandBuild), false) 5 Library/Compiler.php(1276): Zephir\Compiler->install(Object(Zephir\Commands\CommandBuild), false) 6 Library/Commands/CommandAbstract.php(108): Zephir\Compiler->build(Object(Zephir\Commands\CommandBuild)) 7 Library/Bootstrap.php(200): Zephir\Commands\CommandAbstract->execute(Object(Zephir\Config), Object(Zephir\Logger)) 8 compiler.php(21): Zephir\Bootstrap::boot() 9 {main}