pgsql-bugs(at)postgresql(dot)org writes:
> Building postgresql from ports on a sparc64 fails with the following
> error message.
It would appear that typedef slock_t isn't getting defined in your
build. I suspect this is because src/include/port/freebsd.h is wrong
(it should probably look more like openbsd.h or netbsd.h ...)
regards, tom lane