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.