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NjZXNzJw0KZ21ha2VbMl06ICoqKiBbYWNjZXNzLXJl Y3Vyc2l2ZV0gRXJyb3IgMg0KZ21ha2VbMl06IExlYXZpbmcgZGlyZWN0b3J5 IGAvaG9tZS9kaWdvYWwvcG9zdGdyZXNxbC05LjUuMy9zcmMvYmFja2VuZCcN CmdtYWtlWzFdOiAqKiogW2FsbC1iYWNrZW5kLXJlY3Vyc2VdIEVycm9yIDIN CmdtYWtlWzFdOiBMZWF2aW5nIGRpcmVjdG9yeSBgL2hvbWUvZGlnb2FsL3Bv c3RncmVzcWwtOS41LjMvc3JjJw0KZ21ha2U6ICoqKiBbYWxsLXNyYy1yZWN1 cnNlXSBFcnJvciAyDQpgYGAKCg==
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