Re: Bug in CVS HEAD on bootparse.y???

Поиск
Список
Период
Сортировка
От Jonathan Gardner
Тема Re: Bug in CVS HEAD on bootparse.y???
Дата
Msg-id 200403181640.43626.jgardner@jonathangardner.net
обсуждение исходный текст
Ответ на Re: Bug in CVS HEAD on bootparse.y???  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thursday 18 March 2004 04:30 pm, Tom Lane wrote:
> Jonathan Gardner <jgardner@jonathangardner.net> writes:
> > gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
> > -Wmissing-declarations -I. -I../../../src/include -D_GNU_SOURCE   -c -o
> > bootparse.o bootparse.c
> > bootparse.y:26:26: access/strat.h: No such file or directory
> > In file included from bootparse.y:340:
> > bootscanner.l:24:26: access/strat.h: No such file or directory
> > make[3]: *** [bootparse.o] Error 1
> >
> > Am I missing something?
>
> access/strat.h has been gone for months.  Perhaps you have a clock-skew
> problem that is preventing bootparse.c from being rebuilt from
> bootparse.y?  Check the file dates.
>

Yes, that was it. It wasn't updating bootparse.c because bootstrap_tokens.h 
was new enough.

Here's the relevant sections from the Makefile. I doesn't look quite right, 
but I can't really suggest a way to fix it.

$(srcdir)/bootparse.c: $(srcdir)/bootstrap_tokens.h ;

$(srcdir)/bootstrap_tokens.h: bootparse.y Makefile
ifdef YACC   $(YACC) -d $(YFLAGS) $<   $(sed-magic) < y.tab.c > $(srcdir)/bootparse.c   $(sed-magic) < y.tab.h >
$(srcdir)/bootstrap_tokens.h  rm -f y.tab.c y.tab.h
 
else   @$(missing) bison $< $@
endif


-- 
Jonathan Gardner
jgardner@jonathangardner.net


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: COPY formatting
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: Further thoughts about warning for costly FK checks