On 01/21/2011 12:48 PM, Bruce Momjian wrote:
Move test_fsync to /contrib.



This appears to have broken Solaris, Unixware and MSVC builds.

Here's the error on Solaris:

gmake[1]: Entering directory 
`/export/home/dpage/pgbuildfarm/moa/HEAD/pgsql.4167/contrib/pg_test_fsync'
cc -Xa -m64 -xarch=native -xdepend -xO3 -xprefetch=auto,explicit -g -I. -I. 
-I../../src/include   -c -o pg_test_fsync.o pg_test_fsync.c
cc -Xa -m64 -xarch=native -xdepend -xO3 -xprefetch=auto,explicit -g 
pg_test_fsync.o  -L../../src/port  
-Wl,-R'/export/home/dpage/pgbuildfarm/moa/HEAD/inst/lib'  -lpgport -lpam -lgss 
-lz -lnsl -lsocket -lm  -o pg_test_fsync
Undefined                       first referenced
 symbol                             in file
CurrentMemoryContext                pg_test_fsync.o
ld: fatal: Symbol referencing errors. No output written to pg_test_fsync


Why does pg_test_fsync.c include postgres.h? Shouldn't it use postgres_fe.h?


cheers

andrew




--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to