Re: Compile breakage - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: Compile breakage
Date
Msg-id 40ADBF71.1090304@familyhealth.com.au
Whole thread Raw
In response to Compile breakage  (Grant Finnemore <grantf@guruhut.co.za>)
Responses Re: Compile breakage  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I get this:

gmake[4]: Entering directory 
`/space/1/home/chriskl/pgsql/src/backend/access/gist'
gcc -O2 -fno-strict-aliasing -g -Wall -Wmissing-prototypes 
-Wmissing-declarations -I../../../../src/include   -c -o gist.o gist.c -MMD
In file included from ../../../../src/include/commands/vacuum.h:18,                 from gist.c:22:
/usr/include/sys/resource.h:58: field `ru_utime' has incomplete type
/usr/include/sys/resource.h:59: field `ru_stime' has incomplete type
In file included from gist.c:22:
../../../../src/include/commands/vacuum.h:118: field `tv' has incomplete 
type
gmake[4]: *** [gist.o] Error 1


Grant Finnemore wrote:

> RHL 9.0
> 
> cvs HEAD, fresh update
> 
> make maintainer-clean
> ./configure --with-java --prefix=/home/grant/bin/pgsql/ \
>     --with-integer-datetimes --enable-debug --enable-cassert
> make
> 
> yields:
> gcc -O2 -fno-strict-aliasing -g -Wall -Wmissing-prototypes 
> -Wmissing-declarations -I../../../src/include -D_GNU_SOURCE   -c -o 
> vacuum.o vacuum.c
> vacuum.c: In function `vac_init_rusage':
> vacuum.c:3122: storage size of `tz' isn't known
> vacuum.c:3125: warning: implicit declaration of function `gettimeofday'
> vacuum.c:3122: warning: unused variable `tz'
> make[3]: *** [vacuum.o] Error 1
> 
> Regards,
> Grant
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
>               http://www.postgresql.org/docs/faqs/FAQ.html


pgsql-hackers by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Database variables when copying a database
Next
From: Peter Galbavy
Date:
Subject: Re: Table Spaces