Configured as: 

CC=cc CXX=CC ./configure  --prefix=/home/ler/pg-test --enable-syslog --with-CXX --with-perl --enable-multibyte --with-includes=/usr/local/include --with-libs=/usr/local/lib

I get:

gmake -C doc all
gmake[1]: Entering directory `/home/ler/pg-dev/pgsql/doc'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/home/ler/pg-dev/pgsql/doc'
gmake -C src all
gmake[1]: Entering directory `/home/ler/pg-dev/pgsql/src'
gmake -C backend all
gmake[2]: Entering directory `/home/ler/pg-dev/pgsql/src/backend'
gmake -C parser parse.h
gmake[3]: Entering directory `/home/ler/pg-dev/pgsql/src/backend/parser'
bison -y -d  gram.y
mv y.tab.c ./gram.c
mv y.tab.h ./parse.h
gmake[3]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend/parser'
prereqdir=`cd parser/ && pwd` && \
  cd ../../src/include/parser/ && rm -f parse.h && \
  ln -s $prereqdir/parse.h .
gmake -C utils fmgroids.h
gmake[3]: Entering directory `/home/ler/pg-dev/pgsql/src/backend/utils'
CPP='cc -E' AWK='gawk' /bin/sh Gen_fmgrtab.sh ../../../src/include/catalog/pg_proc.h
gmake[3]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend/utils'
cd ../../src/include/utils/ && rm -f fmgroids.h && \
    ln -s ../../../src/backend/utils/fmgroids.h .
gmake -C access all
gmake[3]: Entering directory `/home/ler/pg-dev/pgsql/src/backend/access'
gmake -C common SUBSYS.o
gmake[4]: Entering directory `/home/ler/pg-dev/pgsql/src/backend/access/common'
cc -O -K inline -DXLOG -I/usr/local/include -I../../../../src/include  -c -o heaptuple.o heaptuple.c
cc -O -K inline -DXLOG -I/usr/local/include -I../../../../src/include  -c -o indextuple.o indextuple.c
cc -O -K inline -DXLOG -I/usr/local/include -I../../../../src/include  -c -o indexvalid.o indexvalid.c
cc -O -K inline -DXLOG -I/usr/local/include -I../../../../src/include  -c -o printtup.o printtup.c
cc -O -K inline -DXLOG -I/usr/local/include -I../../../../src/include  -c -o scankey.o scankey.c
cc -O -K inline -DXLOG -I/usr/local/include -I../../../../src/include  -c -o tupdesc.o tupdesc.c
/bin/ld -r -o SUBSYS.o heaptuple.o indextuple.o indexvalid.o printtup.o scankey.o tupdesc.o  
gmake[4]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend/access/common'
gmake -C gist SUBSYS.o
gmake[4]: Entering directory `/home/ler/pg-dev/pgsql/src/backend/access/gist'
cc -O -K inline -DXLOG -I/usr/local/include -I../../../../src/include  -c -o gist.o gist.c
cc -O -K inline -DXLOG -I/usr/local/include -I../../../../src/include  -c -o gistget.o gistget.c
cc -O -K inline -DXLOG -I/usr/local/include -I../../../../src/include  -c -o gistscan.o gistscan.c
cc -O -K inline -DXLOG -I/usr/local/include -I../../../../src/include  -c -o giststrat.o giststrat.c
/bin/ld -r -o SUBSYS.o gist.o gistget.o gistscan.o giststrat.o
gmake[4]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend/access/gist'
gmake -C hash SUBSYS.o
gmake[4]: Entering directory `/home/ler/pg-dev/pgsql/src/backend/access/hash'
cc -O -K inline -DXLOG -I/usr/local/include -I../../../../src/include  -c -o hash.o hash.c
cc -O -K inline -DXLOG -I/usr/local/include -I../../../../src/include  -c -o hashfunc.o hashfunc.c
cc -O -K inline -DXLOG -I/usr/local/include -I../../../../src/include  -c -o hashinsert.o hashinsert.c
cc -O -K inline -DXLOG -I/usr/local/include -I../../../../src/include  -c -o hashovfl.o hashovfl.c
cc -O -K inline -DXLOG -I/usr/local/include -I../../../../src/include  -c -o hashpage.o hashpage.c
cc -O -K inline -DXLOG -I/usr/local/include -I../../../../src/include  -c -o hashscan.o hashscan.c
cc -O -K inline -DXLOG -I/usr/local/include -I../../../../src/include  -c -o hashsearch.o hashsearch.c
cc -O -K inline -DXLOG -I/usr/local/include -I../../../../src/include  -c -o hashstrat.o hashstrat.c
cc -O -K inline -DXLOG -I/usr/local/include -I../../../../src/include  -c -o hashutil.o hashutil.c
/bin/ld -r -o SUBSYS.o hash.o hashfunc.o hashinsert.o hashovfl.o hashpage.o hashscan.o hashsearch.o hashstrat.o hashutil.o
gmake[4]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend/access/hash'
gmake -C heap SUBSYS.o
gmake[4]: Entering directory `/home/ler/pg-dev/pgsql/src/backend/access/heap'
cc -O -K inline -DXLOG -I/usr/local/include -I../../../../src/include  -c -o heapam.o heapam.c
UX:acomp: ERROR: "heapam.c", line 1396: invalid cast expression
UX:acomp: ERROR: "heapam.c", line 1504: invalid cast expression
UX:acomp: ERROR: "heapam.c", line 1700: invalid cast expression
UX:acomp: ERROR: "heapam.c", line 1703: invalid cast expression
UX:acomp: ERROR: "heapam.c", line 2105: invalid cast expression
UX:acomp: ERROR: "heapam.c", line 2129: invalid cast expression
UX:acomp: ERROR: "heapam.c", line 2143: invalid cast expression
UX:acomp: ERROR: "heapam.c", line 2190: invalid cast expression
UX:acomp: ERROR: "heapam.c", line 2213: invalid cast expression
UX:acomp: ERROR: "heapam.c", line 2233: invalid cast expression
UX:acomp: ERROR: "heapam.c", line 2310: invalid cast expression
UX:acomp: ERROR: "heapam.c", line 2338: invalid cast expression
UX:acomp: ERROR: "heapam.c", line 2363: invalid cast expression
UX:acomp: ERROR: "heapam.c", line 2409: invalid cast expression
UX:acomp: ERROR: "heapam.c", line 2432: invalid cast expression
UX:acomp: ERROR: "heapam.c", line 2472: invalid cast expression
gmake[4]: *** [heapam.o] Error 1
gmake[4]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend/access/heap'
gmake[3]: *** [heap-recursive] Error 2
gmake[3]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend/access'
gmake[2]: *** [access-recursive] Error 2
gmake[2]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/home/ler/pg-dev/pgsql/src'
gmake: *** [all] Error 2

Not Good....
-- 
Larry Rosenman                      http://www.lerctr.org/~ler
Phone: +1 972-414-9812 (voice) Internet: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

Mon, 20 Nov 2000 09:04:02 -0600
Larry Rosenman <ler@lerctr.org>
err, XLOG/UW711/cc/Doesn't compile.
* Larry Rosenman <ler@lerctr.org> [001120 09:05]:
[snip]
more info.  It seems to not like the following from
src/include/buffer/bufpage.h (line 305):
#define PageSetLSN(page, lsn) \
        (((PageHeader) (page))->pd_lsn = (XLogRecPtr) (lsn))

I'm not sure what it's trying to do... 

LER

-- 
Larry Rosenman                      http://www.lerctr.org/~ler
Phone: +1 972-414-9812 (voice) Internet: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

Mon, 20 Nov 2000 09:17:12 -0600
Larry Rosenman <ler@lerctr.org>
Re: err, XLOG/UW711/cc/Doesn't compile.