[] > > $ antlr C.g ## or however you invoke ANTLR, this is my > shell script > > that does "java org.antlr.Tool C.g" > > $ gcc -I. CParser.c CLexer.c main.c -lantlr3c > > > > I get this: > > > > "/cygdrive/c/DOCUME~1/GaryV/LOCALS~1/Temp/ccwDPkR8.o:CParser.c > :(.text+0xbc2c > > ): undefined reference to `_ptranslation_unit_SymbolsPop' > > /cygdrive/c/DOCUME~1/GaryV/LOCALS~1/Temp/ccwDPkR8.o:CParser.c: > (.text+0xc6a2) > > : undefined reference to `_pfunction_definition_SymbolsPop' > > /cygdrive/c/DOCUME~1/GaryV/LOCALS~1/Temp/ccwDPkR8.o:CParser.c: > (.text+0xd189) > > : undefined reference to `_pdeclaration_declarationPop' > > /cygdrive/c/DOCUME~1/GaryV/LOCALS~1/Temp/ccwDPkR8.o:CParser.c: > (.text+0x107df > > ): undefined reference to `_pstruct_or_union_specifier_SymbolsPop' > > /cygdrive/c/DOCUME~1/GaryV/LOCALS~1/Temp/ccwDPkR8.o:CParser.c: > (.text+0x27dc1 > > ): undefined reference to `_pcompound_statement_SymbolsPop' > > collect2: ld returned 1 exit status" > > > > Comment out the AST lines and it builds fine. > > > > ??? > > > > > Jim > > > > > Replicated this with "ANTLR Parser Generator Version > 3.1.2-2008-10-21" > and... I'm not sure which version of runtime, Makefile.am is > dated 10/1/08. >
...and also replicated with "ANTLR Parser Generator Version 3.1.2-2008-10-21" and libantlr3c-3.1.2.b1.tar.gz from here: <http://www.antlr.org/hudson/job/ANTLR%20C%20Runtime/lastSuccessfulBuild/art ifact/libantlr3c-3.1.2.b1.tar.gz> Is there something else I can do to try help debugging this? -- Gary R. Van Sickle List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---
