[antlr-interest] Problem compiling antlr 2.7.4

Ric Klaren ric.klaren at gmail.com
Thu Dec 2 16:18:40 PST 2004


On Fri, 03 Dec 2004 00:13:59 +0100, Pierre <pierre42d at 9online.fr> wrote:
> [...]
> =============================
> Making examples ...
> =============================
> make[1]: Entering directory `/tmp/antlr-2.7.4/examples'
>  >>>>>>>>>>>>>>>>>>> cpp
> make[2]: Entering directory `/tmp/antlr-2.7.4/examples/cpp'
>  >>>>>>>>>>>>>>>>>>> ASTsupport
> make[3]: Entering directory `/tmp/antlr-2.7.4/examples/cpp/ASTsupport'
> make all_targets
> make[4]: Entering directory `/tmp/antlr-2.7.4/examples/cpp/ASTsupport'
> make[4]: *** No rule to make target `SupportTest.hpp', needed by
> `SupportTest.o'.  Stop.
> make[4]: Leaving directory `/tmp/antlr-2.7.4/examples/cpp/ASTsupport'
> make[3]: *** [first_rule] Error 2
> make[3]: Leaving directory `/tmp/antlr-2.7.4/examples/cpp/ASTsupport'
> make[2]: *** [sub_dirs] Error 2
> make[2]: Leaving directory `/tmp/antlr-2.7.4/examples/cpp'
> make[1]: *** [sub_dirs] Error 2
> make[1]: Leaving directory `/tmp/antlr-2.7.4/examples'
> make: *** [subdirs] Error 2

Hmm that's an odd error. It should not do that. What version of make
are you using? Any case it seems like antlr isn't being run on the .g
file that generates that headerfile. You might do that manually to fix
things. Normally this should be done automatically (at least I'm
pretty sure that all worked on 2.7.4 release)

You might try the latest development snapshot available at:

http://wwwhome.cs.utwente.nl/~klaren/antlr/

And see if it fixes the problem for you.

For 2.7.5 I hope to make another pass at configure and the makefiles.
The people doing the python codegenerator had some suggestions for it.

Cheers,

Ric


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

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





More information about the antlr-interest mailing list