Alpha 4.0d SLOCK problems v6.4.2

From: Mary Pat Reeve <mpreeve(at)alum(dot)mit(dot)edu>
To: pgsql-ports(at)postgreSQL(dot)org
Subject: Alpha 4.0d SLOCK problems v6.4.2
Date: 1999-02-09 16:17:57
Message-ID: 36C05FB5.41C6@alum.mit.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-ports by date

  From Date Subject
Next Message Unprivileged user 1999-02-09 23:27:05 Port Bug Report: Unpredictable backend behavior on Solaris 2.7
Previous Message Druart Laurent 1999-02-09 08:56:43 unsubscribe