Error compiling sem.c on Darwin 10.2

From: Mike Johnson <afp(at)miketec(dot)org>
To: pgsql-ports(at)postgresql(dot)org
Subject: Error compiling sem.c on Darwin 10.2
Date: 2002-08-25 03:47:11
Message-ID: 20020825034711.C38999CFF@fido.trinitycapital.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Hello,

I've encountered the following error compiling with:

gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1151, based on gcc version 3.1 20020420 (prerelease)"

Here's the error:

gcc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o sem.o sem.c
In file included from sem.c:30:
../../../../src/include/port/darwin/sem.h:66: warning: `union semun' declared inside parameter list
../../../../src/include/port/darwin/sem.h:66: warning: its scope is only this definition or declaration, which is probably not what you want
../../../../src/include/port/darwin/sem.h:66: warning: parameter has incomplete type
sem.c:67: warning: `union semun' declared inside parameter list
sem.c:68: parameter `arg' has incomplete type
make[4]: *** [sem.o] Error 1
make[3]: *** [darwin.dir] Error 2
make[2]: *** [port-recursive] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2

Thanks so much!

(Please copy me, I'm not on any of the lists.)

Mike Johnson

Browse pgsql-ports by date

  From Date Subject
Next Message richmit 2002-08-25 06:23:14 MacOS X 10.2
Previous Message joseph v d'silva 2002-08-23 05:07:06 Is there a port of postgresql on Hp-Unix