Re: CVS broken - large file support? - Mailing list pgsql-hackers

From Sean Chittenden
Subject Re: CVS broken - large file support?
Date
Msg-id 20020821230641.GD46902@ninja1.internal
Whole thread Raw
In response to Re: CVS broken - large file support?  (Sean Chittenden <sean@chittenden.org>)
Responses Re: CVS broken - large file support?
List pgsql-hackers
> > > On FreeBSD/Alpha, CVS gives [trouble]
> >
> > I'm currently having to use "configure --disable-largefile" on HPUX;
> > looks like you'll have to do the same until Peter finishes ironing out
> > the wrinkles with autoconfiguring largefile support.  It would be
> > helpful if you'd poke into your system headers and find out (a) can you
> > do large files at all, and if so (b) what is the correct magic
> > combination of #defines for your system.
>
> FreeBSD 5.0-CURRENT, gcc 3.1 and 3.2 both have this same problem even
> with largefile disabled.  Help?  -sc

For those interested and with commit powers, including sys/types.h in
pg_backup_archiver.h fixes this build problem.  -sc

> gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfaces/libpq -I../../../src/include
-c-o common.o common.c 
> In file included from common.c:21:
> pg_backup_archiver.h:168: syntax error before "off_t"
> gmake[3]: *** [common.o] Error 1


--
Sean Chittenden

Attachment

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Build failure in current CVS
Next
From: Neil Conway
Date:
Subject: Re: Build failure in current CVS