Doesn't appear that pg_sema is picking up the semaphore implementation on FreeBSD.
bash-2.05a$ uname -a FreeBSD knight.zort.ca 4.5-RELEASE FreeBSD 4.5-RELEASE #3: Sun Feb 3 22:26:40 EST 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/KNIGHT i386 In file included from ../../../../src/include/storage/proc.h:20, from varsup.c:19: ../../../../src/include/storage/pg_sema.h:60: syntax error before `*' ../../../../src/include/storage/pg_sema.h:60: warning: type defaults to `int' in declaration of `PGSemaphore' ../../../../src/include/storage/pg_sema.h:60: warning: data definition has no type or storage class ../../../../src/include/storage/pg_sema.h:66: syntax error before `sema' ../../../../src/include/storage/pg_sema.h:68: syntax error before `sema' ../../../../src/include/storage/pg_sema.h:70: syntax error before `sema' ../../../../src/include/storage/pg_sema.h:72: syntax error before `sema' ../../../../src/include/storage/pg_sema.h:74: syntax error before `sema' In file included from varsup.c:19: ../../../../src/include/storage/proc.h:36: syntax error before `PGSemaphoreData' gmake[4]: *** [varsup.o] Error 1 ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org