Alpha 4.0d SLOCK problems v6.4.2 - Mailing list pgsql-ports

From Mary Pat Reeve
Subject Alpha 4.0d SLOCK problems v6.4.2
Date
Msg-id 36C05FB5.41C6@alum.mit.edu
Whole thread Raw
List pgsql-ports
When compiling v6.4.2 I get the error

In file included from ipc.c:36:
../../../include/storage/s_lock.h:103: aggregate value used where an
integer was expected
ipc.c: In function `IpcSemaphoreCreate':
ipc.c:367: warning: cast to pointer from integer of different size
ipc.c: In function `IpcMemoryCreate':
ipc.c:569: warning: cast to pointer from integer of different size
ipc.c: In function `CreateAndInitSLockMemory':
ipc.c:699: incompatible types in assignment
ipc.c:702: incompatible types in assignment
ipc.c:703: incompatible types in assignment
ipc.c:704: incompatible types in assignment
ipc.c: In function `AttachSLockMemory':
ipc.c:725: incompatible types in assignment
../../../include/storage/s_lock.h: At top level:
../../../include/storage/s_lock.h:86: warning: `tas' defined but not
used
make: *** [ipc.o] Error 1

The lines all result from the function/macro S_INIT_LOCK().

I'm having trouble trakcing down the solution, has anyone
else had this problem and found a type change that will work?

Thanks!
Mary Pat

pgsql-ports by date:

Previous
From: Druart Laurent
Date:
Subject: unsubscribe
Next
From: Unprivileged user
Date:
Subject: Port Bug Report: Unpredictable backend behavior on Solaris 2.7