HI Claes,
Thanks for the tip, but it seems not working. Downloaded antlr-2.7.7 from
www.antlr2.org/download, updated the file with the required changes and installed.
I have also removed the previous antlr (with apt-get remove antlr) and when I run antlr from the shell it displays version 2.7.7 so that seems to be Ok.
I wonder if I have to clean the pwr project first? Do I have to start from scratch by deleting the current tree and unpacking, setting environment etc ?
Here is the error
[code:1]
/home/sk/Projects/pwrsrc_4.8.2-1/xtt/exe/rt_xtt/gtk/.os_linux/.hw_x86
Linking /home/sk/Projects/pwrsrc_4.8.2-1/rls_dbg/os_linux/hw_x86/xtt/exe/rt_xtt
/home/sk/Projects/pwrsrc_4.8.2-1/xtt/exe/wb_ge/gtk/.os_linux/.hw_x86
Linking /home/sk/Projects/pwrsrc_4.8.2-1/rls_dbg/os_linux/hw_x86/xtt/exe/wb_ge
/home/sk/Projects/pwrsrc_4.8.2-1/rls_dbg/os_linux/hw_x86/exp/lib/libpwr_wb.a(wb_erep.o): In function `~RecognitionException':
/usr/include/antlr/RecognitionException.hpp:28: undefined reference to `vtable for antlr::RecognitionException'
/home/sk/Projects/pwrsrc_4.8.2-1/rls_dbg/os_linux/hw_x86/exp/lib/libpwr_wb.a(wb_erep.o): In function `~MismatchedCharException':
/usr/include/antlr/MismatchedCharException.hpp:90: undefined reference to `vtable for antlr::MismatchedCharException'
/usr/include/antlr/MismatchedCharException.hpp:90: undefined reference to `antlr::BitSet::~BitSet()'
/home/sk/Projects/pwrsrc_4.8.2-1/rls_dbg/os_linux/hw_x86/exp/lib/libpwr_wb.a(wb_erep.o): In function `antlr::CharScanner::consumeUntil(antlr::BitSet const&«»)':
/usr/include/antlr/CharScanner.hpp:178: undefined reference to `antlr::BitSet::member(unsigned int) const'
/home/sk/Projects/pwrsrc_4.8.2-1/rls_dbg/os_linux/hw_x86/exp/lib/libpwr_wb.a(wb_erep.o): In function `antlr::CharScanner::match(int)':
/usr/include/antlr/CharScanner.hpp:200: undefined reference to `antlr::MismatchedCharException::MismatchedCharException(int, int, bool, antlr::CharScanner*)'
/usr/include/antlr/CharScanner.hpp:200: undefined reference to `typeinfo for antlr::MismatchedCharException'
/home/sk/Projects/pwrsrc_4.8.2-1/rls_dbg/os_linux/hw_x86/exp/lib/libpwr_wb.a(wb_erep.o): In function `antlr::CharScanner::match(antlr::BitSet const&«»)':
/usr/include/antlr/CharScanner.hpp:211: undefined reference to `antlr::BitSet::member(unsigned int) const'
/usr/include/antlr/CharScanner.hpp:212: undefined reference to `antlr::MismatchedCharException::MismatchedCharException(int, antlr::BitSet, bool, antlr::CharScanner*)'
/usr/include/antlr/CharScanner.hpp:212: undefined reference to `antlr::BitSet::~BitSet()'
/usr/include/antlr/CharScanner.hpp:212: undefined reference to `typeinfo for antlr::MismatchedCharException'
/usr/include/antlr/CharScanner.hpp:212: undefined reference to `antlr::BitSet::~BitSet()'
/home/sk/Projects/pwrsrc_4.8.2-1/rls_dbg/os_linux/hw_x86/exp/lib/libpwr_wb.a(wb_erep.o): In function `antlr::CharScanner::match(char const*)':
/usr/include/antlr/CharScanner.hpp:227: undefined reference to `antlr::MismatchedCharException::MismatchedCharException(int, int, bool, antlr::CharScanner*)'
/usr/include/antlr/CharScanner.hpp:227: undefined reference to `typeinfo for antlr::MismatchedCharException'
/home/sk/Projects/pwrsrc_4.8.2-1/rls_dbg/os_linux/hw_x86/exp/lib/libpwr_wb.a(wb_erep.o): In function `antlr::CharScanner::match(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&«»)':
....
[/code:1]
Best Regards
Shahzad