[antlr-interest] crash burn on C runtime

Brian Lavender brian at brie.com
Thu Oct 13 09:39:09 PDT 2011


Well, it seems that I forgot to build the antlr runtime library. Doh!

The antlr-3.3.tar.gz download doesn't have a configure.sh file in the 
runtime/C directory. When I try to generate one using autoconf or 
automake, it complains about missing m4 macros. Anyone have the fix
for this? 

This is the tar g zed file I am using.
http://antlr.org/download/antlr-3.3.tar.gz


brian

On Wed, Oct 12, 2011 at 05:17:28PM -0700, Brian Lavender wrote:
> Missing header file it appears.
> 
> fix?
> 
> cost: 1019 states, 98 ms
> gcc -ggdb -O0 -fno-inline -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/home/brian/pkg/antlr-3.3/runtime/C/include -I/home/brian/pkg/antlr-3.3/runtime/C -c OracleSQLParser.c -o OracleSQLParser.o
> In file included from /home/brian/pkg/antlr-3.3/runtime/C/include/antlr3.h:33:0,
>                  from OracleSQLParser.h:539,
>                  from OracleSQLParser.c:45:
> /home/brian/pkg/antlr-3.3/runtime/C/include/antlr3defs.h:246:26: fatal error: antlr3config.h: No such file or directory
> compilation terminated.
> make: *** [OracleSQLParser.o] Error 1
> 
> 
> 
> -- 
> Brian Lavender
> http://www.brie.com/brian/
> 
> "There are two ways of constructing a software design. One way is to
> make it so simple that there are obviously no deficiencies. And the other
> way is to make it so complicated that there are no obvious deficiencies."
> 
> Professor C. A. R. Hoare
> The 1980 Turing award lecture
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address

-- 
Brian Lavender
http://www.brie.com/brian/

"There are two ways of constructing a software design. One way is to
make it so simple that there are obviously no deficiencies. And the other
way is to make it so complicated that there are no obvious deficiencies."

Professor C. A. R. Hoare
The 1980 Turing award lecture


More information about the antlr-interest mailing list