kdevelop-php 1.1.1 compile problem
Rok Jaklic
rokj at rasca.net
Mon Nov 29 10:10:23 GMT 2010
When I try to compile kdevelop-php 1.1.1 I get following error:
[ 17%] Building CXX object parser/CMakeFiles/kdev4phpparser.dir/parsesession.o
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1/parser/phplexer.cpp: In member function ‘int Php::Lexer::nextTokenKind()’:
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1/parser/phplexer.cpp:841: warning: unused variable ‘startPos’
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp: In member function ‘bool Php::Parser::parseInnerStatementList(Php::InnerStatementListAst**)’:
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp:7286: error: ‘Token_REQUIR’ was not declared in this scope
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp:7286: error: ‘Token_UNSET_’ was not declared in this scope
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp:7289: error: ‘Token_LBR’ was not declared in this scope
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp:7289: error: ‘Token_VARIA’ was not declared in this scope
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp:7289: error: ‘Token_ELS’ was not declared in this scope
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp:7289: error: ‘Token_START’ was not declared in this scope
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp:7289: error: ‘Toke’ was not declared in this scope
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp:7291: error: ‘Token_REQUIRE_ON’ was not declared in this scope
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp:7291: error: ‘Token_START_HER’ was not declared in this scope
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp:7292: error: ‘Token_STRING_VARN’ was not declared in this scope
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp:7292: error: ‘Token_’ was not declared in this scope
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp:7292: error: ‘Token_DE’ was not declared in this scope
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp:7292: error: ‘Token_HAL’ was not declared in this scope
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp:7292: error: ‘Token_STRI’ was not declared in this scope
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp:7292: error: ‘T’ was not declared in this scope
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp:7292: error: ‘To’ was not declared in this scope
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp:7292: error: ‘Token_O’ was not declared in this scope
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp:7292: error: ‘Token_I’ was not declared in this scope
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp:7292: error: ‘Token_S’ was not declared in this scope
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp:7293: error: ‘yyt’ was not declared in this scope
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp:7293: error: ‘yyto’ was not declared in this scope
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp:7293: error: expected `)' before ‘!’ token
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp:7293: warning: the address of ‘yytoken’ will always evaluate as ‘true’
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp:7294: error: ‘y’ was not declared in this scope
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp:7294: error: ‘yytok’ was not declared in this scope
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp:7298: error: invalid operands of types ‘bool’ and ‘void*’ to binary ‘operator&’
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp:7298: warning: suggest parentheses around comparison in operand of &
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp:7298: error: expected `;' before ‘!’ token
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp:7293: error: label ‘yytoken’ used but not defined
/var/tmp/portage/dev-util/kdevelop-php-1.1.1/work/kdevelop-php-1.1.1_build/parser/phpparser.cpp:7298: error: label ‘yyt’ used but not defined
make[2]: *** [parser/CMakeFiles/kdev4phpparser.dir/phpparser.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [parser/CMakeFiles/kdev4phpparser.dir/all] Error 2
make: *** [all] Error 2
emake failed
Any ideas why?
More information about the KDevelop
mailing list