Re: Problem while building SRPM PostgreSQL on Red Hat Linux

From: Joe Conway <mail(at)joeconway(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Devrim GUNDUZ <devrim(at)gunduz(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: Problem while building SRPM PostgreSQL on Red Hat Linux
Date: 2003-04-12 18:02:55
Message-ID: 3E9854CF.90803@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:
> Devrim GUNDUZ <devrim(at)gunduz(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jim C. Nasby 2003-04-12 18:08:03 Re: Case sensitive order by
Previous Message Tom Lane 2003-04-12 17:22:29 Re: Problem while building SRPM PostgreSQL on Red Hat Linux 9