digoal@126.com writes:
> CFLAGS=-DUSE_NAMED_POSIX_SEMAPHORES ./configure
That's not the correct way to do it; it will result in configure doing the
wrong things (in particular, selecting the wrong semaphore implementation
file). Instead use
configure ... USE_NAMED_POSIX_SEMAPHORES=1
regards, tom lane