Error compiling sem.c on Darwin 10.2
От | Mike Johnson |
---|---|
Тема | Error compiling sem.c on Darwin 10.2 |
Дата | |
Msg-id | 20020825034711.C38999CFF@fido.trinitycapital.com обсуждение исходный текст |
Список | 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 probablynot 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
В списке pgsql-ports по дате отправления: