[antlr-interest] C runtime linking error?

Gavin Lambert antlr at mirality.co.nz
Thu Mar 15 04:19:23 PDT 2012


At 22:19 15/03/2012, Yves Weißig wrote:
 >I'm trying to compile and link an ANTLR C backend with some C++
 >code which I wrote.
[...]
 >/tmp/ccnHhg86.o: In function `RtfLexerNewSSD':
 >RtfLexer.cpp:(.text+0xb0): undefined reference to
 >`antlr3LexerNewStream'

Most likely, you're missing some extern "C" blocks.

-- 
Gavin Lambert, Mirality Systems
<http://www.mirality.co.nz/>
<http://lambert.geek.nz/>
----
Anyone who goes to a psychiatrist ought to have 
their head examined.

Few women admit their age.  Few men act theirs.



More information about the antlr-interest mailing list