Re: pg7.3b5 on cygwin 1.3.15-1 - Same error

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Henshall, Stuart - Design & Print" <SHenshall(at)westcountry-design-print(dot)co(dot)uk>, <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: pg7.3b5 on cygwin 1.3.15-1 - Same error
Date: 2002-11-08 09:59:32
Message-ID: 03AF4E498C591348A42FC93DEA9661B8128B9B@mail.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Hi Stuart,

Jason did submit a patch, but I don't know how long it takes for one to
get into Cygwin. I don't have it to hand, but if you check the archives
you can hack stdio.h to get round the problem in the meantime.

Regards, Dave.

-----Original Message-----
From: Henshall, Stuart - Design & Print
[mailto:SHenshall(at)westcountry-design-print(dot)co(dot)uk]
Sent: 08 November 2002 09:25
To: pgsql-cygwin(at)postgresql(dot)org
Subject: [CYGWIN] pg7.3b5 on cygwin 1.3.15-1 - Same error

Using:
$ uname -a
CYGWIN_98-4.10 BX3551_TC 1.3.15(0.63/3/2) 2002-11-06 22:41 i686
unknown
I still get the error below on building 7.3b5. I thought Jason
had entered a patch to cygwin to fix it. Am I just imagining things, or
did it just not get applied for some reason?

Cheers,
- Stuart
gcc -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations
-I../../../../src/i
nclude -DBUILDING_DLL -c -o heaptuple.o heaptuple.c -MMD
In file included from ../../../../src/include/c.h:56,
from ../../../../src/include/postgres.h:48,
from heaptuple.c:21:
/usr/include/stdio.h:207: parse error before '(' token
/usr/include/stdio.h:207: `off_t' redeclared as different kind
of symbol
/usr/include/cygwin/types.h:29: previous declaration of `off_t'
/usr/include/stdio.h:207: parse error before "int"
/usr/include/stdio.h:208: parse error before "ftell"
In file included from /usr/include/sys/stat.h:26,
from /usr/include/sys/fcntl.h:164,
from ../../../../src/include/c.h:68,
from ../../../../src/include/postgres.h:48,
from heaptuple.c:21:
/usr/include/cygwin/stat.h:71: parse error before "off_t"
/usr/include/cygwin/stat.h:78: parse error before '}' token

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Florian Litot 2002-11-08 10:03:56 Re: command
Previous Message Henshall, Stuart - Design & Print 2002-11-08 09:25:10 pg7.3b5 on cygwin 1.3.15-1 - Same error