Re: BUG #5709: PostgreSQL server 8.4.5 does not compile with gcc 4.5

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Daniel Gerzo" <danger(at)freebsd(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5709: PostgreSQL server 8.4.5 does not compile with gcc 4.5
Date: 2010-10-14 14:26:46
Message-ID: 17789.1287066406@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Daniel Gerzo" <danger(at)freebsd(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message David Newall 2010-10-14 14:54:04 Re: rollback to savepoint leads to transaction already in progress
Previous Message Michael Meskes 2010-10-14 14:18:59 Re: rollback to savepoint leads to transaction already in progress