Re: Problem while building SRPM PostgreSQL on Red Hat Linux

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: Problem while building SRPM PostgreSQL on Red Hat Linux
Дата
Msg-id 3E9854CF.90803@joeconway.com
обсуждение исходный текст
Ответ на Re: Problem while building SRPM PostgreSQL on Red Hat Linux 9  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Problem while building SRPM PostgreSQL on Red Hat Linux  (Joe Conway <mail@joeconway.com>)
Список pgsql-general
Tom Lane wrote:
> Devrim GUNDUZ <devrim@gunduz.org> writes:
>
>>gcc -O2 -g -pipe -march=i686 -Wall -Wmissing-prototypes
>>-Wmissing-declarations -I../../../src/include -I/usr/kerberos/include  -c
>>-o hba.o hba.c
>>hba.c:76: parse error before "c"
>>hba.c:76: parse error before '&' token
>>make[3]: *** [hba.o] Error 1
>
>
> I'm betting the system headers define a macro isblank().  I've always
> wondered why we don't have more trouble with that.
>
> Try putting "#ifndef isblank ... #endif" around the isblank function
> in hba.c.
>

I just ran into the exact same issue with cvs tip on Red Hat 9. The
ifndef does the trick.

Joe


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Problem while building SRPM PostgreSQL on Red Hat Linux 9
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Case sensitive order by