Re: ubuntu 9.10 AMD64 undefined reference to `optreset'

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Graham Swallow <lists(at)information-cascade(dot)co(dot)uk>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: ubuntu 9.10 AMD64 undefined reference to `optreset'
Date: 2010-05-05 13:58:48
Message-ID: 517.1273067928@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Graham Swallow <lists(at)information-cascade(dot)co(dot)uk> writes:
> 9.0 beta1 tarball
> configure --prefix=/tmp/PG9/
> ...
> postmaster/postmaster.o: In function `PostmasterMain':
> postmaster.c:(.text+0x42ac): undefined reference to `optreset'
> tcop/postgres.o: In function `process_postgres_switches':
> postgres.c:(.text+0x12fb): undefined reference to `optreset'

That's very peculiar, because those files only attempt to touch optreset
if configure found that that variable is defined by the system
libraries. Would you look at the part of config.log that begins with
"checking for optreset"?

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message KOIZUMI Satoru 2010-05-05 14:04:40 BUG #5449: "elements" are not parameter
Previous Message Graham Swallow 2010-05-05 11:49:46 ubuntu 9.10 AMD64 undefined reference to `optreset'