[antlr-interest] crash burn on C runtime

金杰 hellojinjie at gmail.com
Wed Oct 12 18:16:56 PDT 2011


Have you tried to use "find /home/brian -name "antlr3config.h"" to locate
antlr3config.h?
I guess that you must have not type "make install" to install antlr3.
My suggestion is first install antlr3
make DESTDIR=/opt/antlr3c install

On Thu, Oct 13, 2011 at 8:17 AM, Brian Lavender <brian at brie.com> 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
>



-- 
金杰


More information about the antlr-interest mailing list