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




07 May 2002 09:41:02 -0400
Rod Taylor <rbt@zort.ca>
pg_sema.h
Figured this one out a while ago.

Configure was running with a --no-create (DOH!)
--
Rod
----- Original Message -----
From: "Rod Taylor" <rbt@zort.ca>
To: <pgsql-hackers@postgresql.org>
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
>


Tue, 7 May 2002 12:19:59 -0400
"Rod Taylor" <rbt@zort.ca>
Re: pg_sema.h
Rod Taylor <rbt@zort.ca> 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

Tue, 07 May 2002 12:41:15 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_sema.h 