[antlr-interest] anybody get gcj to compile antlr?

Terence Parr parrt at jguru.com
Fri Sep 20 21:24:16 PDT 2002


Howdy...gcj 3.1 doesn't compile antlr...lots of unresolved  
refs...anybody had any luck with it?  Here's some noise:

$ gcj  
--classpath=/usr/local/share/java/libgcj-3.1.jar:/usr/local/antlr- 
2.7.2a3 --main=antlr.Tool -o antlrexec Tool.java
...
/tmp/ccjCN7Lq.o: In function  
`antlr::Tool::setNameSpace(java::lang::String*)':
/tmp/ccjCN7Lq.o(.text+0x3165): undefined reference to  
`antlr::NameSpace::class$'
/tmp/ccjCN7Lq.o(.text+0x3191): undefined reference to  
`antlr::StringUtils::stripFrontBack(java::lang::String*,  
java::lang::String*, java::lang::String*)'
/tmp/ccjCN7Lq.o(.text+0x319d): undefined reference to  
`antlr::NameSpace::NameSpace[in-charge](java::lang::String*)'
/tmp/ccjCN7Lq.o(.data+0x44): undefined reference to  
`antlr::ToolErrorHandler::class$'
/tmp/ccjCN7Lq.o(.data+0xb4): undefined reference to  
`antlr::NameSpace::class$'
/tmp/ccjCN7Lq.o(.data+0xf4): undefined reference to  
`antlr::collections::impl::BitSet::class$'
/tmp/ccjCN7Lq.o(.gcc_except_table+0xcc): undefined reference to  
`antlr::RecognitionException::class$'
/tmp/ccjCN7Lq.o(.gcc_except_table+0xd0): undefined reference to  
`antlr::TokenStreamException::class$'
collect2: ld returned 1 exit status

Ter
--
Co-founder, http://www.jguru.com
Creator, ANTLR Parser Generator: http://www.antlr.org
Lecturer in Comp. Sci., University of San Francisco


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list