Re: Make Problems

From: "Qingqing Zhou" <zhouqq(at)cs(dot)toronto(dot)edu>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Make Problems
Date: 2005-06-15 04:43:13
Message-ID: d8obp3$2inb$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


"Jamie Deppeler" <jamie(at)doitonce(dot)net(dot)au> writes >
> gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -fno-strict-aliasing
> -I../../src/port -DFRONTEND -I../../src/include
> -I./src/include/port/win32 -DEXEC_BACKEND
> "-I../../src/include/port/win32" -c -o open.o open.c
> open.c: In function `win32_open':
> open.c:67: `O_SEQUENTIAL' undeclared (first use in this function)
> open.c:67: (Each undeclared identifier is reported only once
> open.c:67: for each function it appears in.)
> make[2]: *** [open.o] Error 1

O_SEQUENTIAL is defined in \include\fcntl.h. I guess your mingw missed a
line:

#define O_SEQUENTIAL _O_SEQUENTIAL

Update it or simply add this line should be ok.

Regards,
Qingqing

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Neil Conway 2005-06-15 05:26:56 Re: Autovacuum in the backend
Previous Message Bruce Momjian 2005-06-15 04:35:45 Re: LGPL