Build-Problem with pgc.c on OSX 10.4

Поиск
Список
Период
Сортировка
От Florian G. Pflug
Тема Build-Problem with pgc.c on OSX 10.4
Дата
Msg-id 4622A54A.8060906@phlo.org
обсуждение исходный текст
Ответы Re: Build-Problem with pgc.c on OSX 10.4  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi

When I try to build CVS HEAD on OSX 10.4, compiling
src/interfaces/ecpg/preproc/preproc.c fails with:
In file included from preproc.y:6951:
pgc.l:3:20: error: config.h: No such file or directory
In file included from pgc.l:28,                 from preproc.y:6951:
preproc.h:996: error: conflicting types for 'base_yylloc'
y.tab.c:18673: error: previous declaration of 'base_yylloc' was here
In file included from preproc.y:6951:
pgc.l:43: error: 'MAX_PARSE_BUFFER' undeclared here (not in a function)

If I delete pgc.c, it is rebuilt automatically, and then
preproc.c compiles just fine.

I'm using gcc 4.0.1, flex 2.5.4 and bison 2.3

greetings, Florian Pflug


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: RESET command seems pretty disjointed now
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Build-Problem with pgc.c on OSX 10.4