| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Saifi Khan <saifi(dot)khan(at)strikr(dot)in> |
| Cc: | pgsql-novice(at)postgresql(dot)org |
| Subject: | Re: compiling PostgreSQL with --enable-llvm |
| Date: | 2019-05-08 04:02:13 |
| Message-ID: | 6345.1557288133@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-novice |
"=?utf-8?Q?Saifi=20Khan?=" <saifi(dot)khan(at)strikr(dot)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 exception specifier
> 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Gavin M2301 | 2019-05-08 23:10:47 | Re: trouble connecting with psql to running server |
| Previous Message | Gavin M2301 | 2019-05-08 03:30:50 | Re: trouble connecting with psql to running server |