Re: PostgreSQL 7.1.3 vs. gcc 2.95.4 and GNU libc 2.2.4

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: <tomas(at)fabula(dot)de>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: PostgreSQL 7.1.3 vs. gcc 2.95.4 and GNU libc 2.2.4
Date: 2001-09-11 23:16:17
Message-ID: Pine.LNX.4.30.0109120113281.680-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

tomas(at)fabula(dot)de writes:

> trying to compile PostgreSQL 7.1.3 (my system: Linux Debian-ish,
> fairly new Gnu libc (where I think the problem resides):
> gcc 2.95.4 and GNU libc 2.2.4 bails out at:
>
> | input.c: In function `initializeInput':
> | input.c:157: warning: passing arg 1 of `on_exit' from incompatible pointer type
> | input.c:157: too few arguments to function `on_exit'
> | make[3]: *** [input.o] Error 1
> | make[3]: Leaving directory `/usr/local/src/postgresql-7.1.3/src/bin/psql'
> | make[2]: *** [all] Error 2

I have installed a fix for this in the development sources; I understand
that you were able to fix this yourself.

The more interesting question is why it's trying to use on_exit() when it
should be using atexit(). If you're interested, you can try to look
through config.log to see what's happening with the atexit test.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2001-09-11 23:37:31 Re: Bug #448: 7.1.3 interfaces build fail on solaris w. gcc
Previous Message Thomas Lockhart 2001-09-11 15:06:26 Re: Bug #443: Problem with time functions.