Re: Problem while building SRPM PostgreSQL on Red Hat Linux - Mailing list pgsql-general

From Joe Conway
Subject Re: Problem while building SRPM PostgreSQL on Red Hat Linux
Date
Msg-id 3E9854CF.90803@joeconway.com
Whole thread Raw
In response to Re: Problem while building SRPM PostgreSQL on Red Hat Linux 9  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Problem while building SRPM PostgreSQL on Red Hat Linux  (Joe Conway <mail@joeconway.com>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Problem while building SRPM PostgreSQL on Red Hat Linux 9
Next
From: "Jim C. Nasby"
Date:
Subject: Re: Case sensitive order by