I've built PostgreSQL 7.1.1 and aolserver 3.4 from their
respective standard distribution sources, both compile and
seem to work fine out of the box except aolserver can't figure out
the correct extension for shared libraries (easy to do a manual
override in the init file) and the postgresql build fails when I try to
include perl support (so I didn't include it).
then on to the postgres aolserver driver, tweak nsthread.h in the
aolserver includes to remove multiple definition of FD_SETSIZE,
and then I get that error message from the guts of GCC.
I recall that someone on darwin-development has gcc3 running
on Darwin (albeit without the Apple Obj-C extensions) - I might
try getting that installed and see how I go from there...