[antlr-interest] I faced problem for installing libantlr is there anybody help me? i have limited time :(

Reza reza.genial at gmail.com
Thu Feb 17 02:14:19 PST 2011


Dear All
      I'm using Sesame framework, this framework included some other
applications and one of them is ANTLR 2.7.3 (20050127-10) but when i try to
compile this part(xmlpl/libantlr) of framework i receive an error.

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
root at ubuntu:/home/reza/daedalus/Tools/sesame-release_20071126/xmlpl/libantlr#
make
make  all-recursive
make[1]: Entering directory
`/home/reza/daedalus/Tools/sesame-release_20071126/xmlpl/libantlr'
Making all in src
make[2]: Entering directory
`/home/reza/daedalus/Tools/sesame-release_20071126/xmlpl/libantlr/src'
Making all in antlr
make[3]: Entering directory
`/home/reza/daedalus/Tools/sesame-release_20071126/xmlpl/libantlr/src/antlr'
g++ -DHAVE_CONFIG_H     -I.. -g -O2 -MT libantlr_a-Parser.o -MD -MP -MF
.deps/libantlr_a-Parser.Tpo -c -o libantlr_a-Parser.o `test -f 'Parser.cpp'
|| echo './'`Parser.cpp
Parser.cpp: In member function ‘virtual void antlr::Parser::panic()’:
Parser.cpp:154: error: ‘exit’ was not declared in this scope
make[3]: *** [libantlr_a-Parser.o] Error 1
make[3]: Leaving directory
`/home/reza/daedalus/Tools/sesame-release_20071126/xmlpl/libantlr/src/antlr'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/reza/daedalus/Tools/sesame-release_20071126/xmlpl/libantlr/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/reza/daedalus/Tools/sesame-release_20071126/xmlpl/libantlr'
make: *** [all] Error 2
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

is there anybody help in this issue?


-- 
Best Regards
Reza


More information about the antlr-interest mailing list