Re: compiling PostgreSQL with --enable-llvm
| От | Tom Lane |
|---|---|
| Тема | Re: compiling PostgreSQL with --enable-llvm |
| Дата | |
| Msg-id | 6345.1557288133@sss.pgh.pa.us обсуждение |
| Ответ на | compiling PostgreSQL with --enable-llvm ("Saifi Khan" <saifi.khan@strikr.in>) |
| Список | pgsql-novice |
"=?utf-8?Q?Saifi=20Khan?=" <saifi.khan@strikr.in> writes:
> In file included from llvmjit_inline.cpp:35:
> /usr/include/unistd.h:1124:14: error: declaration of ‘char* crypt(const char*, const char*) throw ()’ has a different
exceptionspecifier
> 1124 | extern char *crypt (const char *__key, const char *__salt)
> | ^~~~~
> In file included from ../../../../src/include/c.h:1267,
> from ../../../../src/include/postgres.h:46,
> from llvmjit_inline.cpp:24:
> ../../../../src/include/port.h:334:14: note: from previous declaration ‘char* crypt(const char*, const char*)’
> 334 | extern char *crypt(const char *key, const char *setting);
> | ^~~~~
> make[2]: *** [<builtin>: llvmjit_inline.o] Error 1
Hm. That declaration in port.h is only compiled if not HAVE_CRYPT.
So maybe you should look into config.log and try to determine why
configure thinks your system hasn't got crypt(), when it seemingly
does.
regards, tom lane
В списке pgsql-novice по дате отправления: