I think it's that XLog stuff:
gcc -pipe -O -g -Wall -Wmissing-prototypes -Wmissing-declarations -R/home/c
hriskl/local/lib -export-dynamic access/SUBSYS.o bootstrap/SUBSYS.o
catalog/SUBSYS.o parser/SUBSYS.o commands/SUBSYS.o executor/SUBSYS.o
lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o nodes/SUBSYS.o optimizer/SUBSYS.o
port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o rewrite/SUBSYS.o
storage/SUBSYS.o tcop/SUBSYS.o
utils/SUBSYS.o -lz -lreadline -lcrypt -lcompat -lm -lutil -o postgres
tcop/SUBSYS.o: In function `PostgresMain':
/home/chriskl/pgsql-head/src/backend/tcop/postgres.c:1550: undefined
reference to `XLogDir'
gmake[2]: *** [postgres] Error 1
gmake[2]: Leaving directory `/home/chriskl/pgsql-head/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/home/chriskl/pgsql-head/src'
gmake: *** [all] Error 2
Chris