Re: BUG #5709: PostgreSQL server 8.4.5 does not compile with gcc 4.5
От | Tom Lane |
---|---|
Тема | Re: BUG #5709: PostgreSQL server 8.4.5 does not compile with gcc 4.5 |
Дата | |
Msg-id | 17789.1287066406@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | BUG #5709: PostgreSQL server 8.4.5 does not compile with gcc 4.5 ("Daniel Gerzo" <danger@freebsd.org>) |
Список | pgsql-bugs |
"Daniel Gerzo" <danger@freebsd.org> writes: > libpq/auth.o: In function `pg_GSS_error.clone.2': > auth.c:(.text+0x1a9): undefined reference to `gss_display_status' > auth.c:(.text+0x1d1): undefined reference to `gss_release_buffer' > auth.c:(.text+0x203): undefined reference to `gss_display_status' > auth.c:(.text+0x223): undefined reference to `gss_release_buffer' > libpq/auth.o: In function `ClientAuthentication': > auth.c:(.text+0x704): undefined reference to `gss_accept_sec_context' > auth.c:(.text+0x787): undefined reference to `gss_delete_sec_context' > auth.c:(.text+0x7b4): undefined reference to `gss_release_cred' > auth.c:(.text+0x7cc): undefined reference to `gss_display_name' > auth.c:(.text+0xa46): undefined reference to `gss_release_buffer' > auth.c:(.text+0xb1d): undefined reference to `gss_release_buffer' > auth.c:(.text+0xd19): undefined reference to `gss_release_buffer' > auth.c:(.text+0x110b): undefined reference to `gss_release_buffer' > libpq/pqcomm.o: In function `pq_close': > pqcomm.c:(.text+0x14e): undefined reference to `gss_delete_sec_context' > pqcomm.c:(.text+0x171): undefined reference to `gss_release_cred' > collect2: ld returned 1 exit status > gmake: *** [postgres] Error 1 This is not a compiler issue, it's a library issue. Apparently you did --with-gssapi but your gssapi library doesn't actually work, or at least doesn't work the way Postgres is expecting. I'd suggest leaving off that configure option --- unless you really need it, in which case you're going to have to track down the reason for the incompatibility. regards, tom lane
В списке pgsql-bugs по дате отправления: