[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: automake: ylwrap does not update parser.cc HELP!
From: |
Gvnaena Pura |
Subject: |
Re: automake: ylwrap does not update parser.cc HELP! |
Date: |
Tue, 12 Jun 2007 07:08:09 -0700 |
User-agent: |
G2/1.0 |
Never mind. Ignore this, it was not the problem.
On Jun 12, 2:05 am, Gvnaena Pura <tianran.c...@gmail.com> wrote:
> Greetings,
>
> I'm using automake 1.10, together with autoconf and libtool for a very
> simple project which uses flex and bision. The part that is causing
> trouble is the parser: parser.yy.
>
> parser.yy itself should be perfectly correct since it was taken out of
> another project. Bison correctly generated parser.h and parser.cc
> (after renamed by ylwrap). But apparently, ylwrap failed to update
> parser.cc (i.e. do subsititution: s/y.tab.h/parser.h), so when I try
> to compile, it will complain that y.tab.h cannot be found. And now I
> really have no idea what the problem could be. Below is the
> Makefile.am, please help me. Thanks in advance.
>
> lib_LTLIBRARIES = libpolyread.la
> libpolyread_la_SOURCES = parser.yy lexer.ll polysys.hh