pg_sema.h
pg_sema.h
От:
Rod Taylor <rbt@zort.ca>
Дата:
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 root@knight.barchord.com:/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
Re: pg_sema.h
От:
"Rod Taylor" <rbt@zort.ca>
Дата:
Figured this one out a while ago. Configure was running with a --no-create (DOH!) -- Rod ----- Original Message ----- From: "Rod Taylor" To: Sent: Tuesday, May 07, 2002 9:41 AM Subject: [HACKERS] pg_sema.h > 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 > root@knight.barchord.com:/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 >
Re: pg_sema.h
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Rod Taylor writes: > Doesn't appear that pg_sema is picking up the semaphore implementation > on FreeBSD. > 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' Did you rerun configure? regards, tom lane