Compiling .pgc programs gives error

From: "mike stanton" <mstanton(at)acsa(dot)cl>
To: <pgsql-general(at)postgresql(dot)org>
Cc: "mike stanton" <mstanton(at)acsa(dot)cl>
Subject: Compiling .pgc programs gives error
Date: 2010-02-19 18:14:18
Message-ID: 03bc01cab18f$5b0d7a10$0d6ea8c0@mike
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have a problem compiling pgc programs with ecpg.
I always get the following error:

/usr/local/pgsql/lib/libpgtypes.a(timestamp.o): In function `timestamp2tm':
timestamp.c:(.text+0x2fc): undefined reference to `rint'

Version: PostgreSQL 8.3.6 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 4.2.4

Is this a known problem?
Any help will be useful.

Michael Stanton W.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2010-02-19 18:30:04 Re: Compiling .pgc programs gives error
Previous Message Raymond O'Donnell 2010-02-19 17:55:22 Re: PostgreSQL fails to start