[HACKERS] Trouble building uuid-ossp extension in new versions of Postgres
От | Ryan Murphy |
---|---|
Тема | [HACKERS] Trouble building uuid-ossp extension in new versions of Postgres |
Дата | |
Msg-id | CAHeEsBf42AWTnk=1qJvFv+mYgRFm07Knsfuc86Ono8nRjf3tvQ@mail.gmail.com обсуждение исходный текст |
Ответы |
Re: [HACKERS] Trouble building uuid-ossp extension in new versions of Postgres
|
Список | pgsql-hackers |
Hello,
I have been trying to build Postgres and migrate my data to the newest version. Postgres builds just fine, but I also need the uuid-ossp module, which used to build fine for me and now does not...I am currently "git pull"ed to commit b645a05fc6112a4857ceac574d4aa2 4174a70417.
$ make
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-
uuid-ossp.c:282:23: error: use of undeclared identifier 'uuid_s_ok'
uuid-ossp.c:285:5: warning: implicit declaration of function 'uuid_create' is invalid in C99 [-Wimplicit-function-
uuid-ossp.c:287:19: error: use of undeclared identifier 'uuid_s_ok'
uuid-ossp.c:289:6: warning: implicit declaration of function 'uuid_to_string' is invalid in C99 [-Wimplicit-function-
uuid-ossp.c:290:20: error: use of undeclared identifier 'uuid_s_ok'
uuid-ossp.c:306:19: error: use of undeclared identifier 'uuid_s_ok'
...
The code that is failing to build dates to Tom Lane's commit b8cc8f94730610c0189aa82dfec4ae
Again I am on a Mac, this is my compiler info:
$ clang -v
Apple LLVM version 7.0.2 (clang-700.1.79)
Target: x86_64-apple-darwin14.0.0
Thread model: posix
Target: x86_64-apple-darwin14.0.0
Thread model: posix
В списке pgsql-hackers по дате отправления: