Re: ubuntu 9.10 AMD64 undefined reference to `optreset' - Mailing list pgsql-bugs

From Tom Lane
Subject Re: ubuntu 9.10 AMD64 undefined reference to `optreset'
Date
Msg-id 517.1273067928@sss.pgh.pa.us
Whole thread Raw
In response to ubuntu 9.10 AMD64 undefined reference to `optreset'  (Graham Swallow <lists@information-cascade.co.uk>)
List pgsql-bugs
Graham Swallow <lists@information-cascade.co.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

pgsql-bugs by date:

Previous
From: Graham Swallow
Date:
Subject: ubuntu 9.10 AMD64 undefined reference to `optreset'
Next
From: "KOIZUMI Satoru"
Date:
Subject: BUG #5449: "elements" are not parameter