Re: PostgreSQL 7.1.3 vs. gcc 2.95.4 and GNU libc 2.2.4 - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: PostgreSQL 7.1.3 vs. gcc 2.95.4 and GNU libc 2.2.4
Date
Msg-id Pine.LNX.4.30.0109120113281.680-100000@peter.localdomain
Whole thread Raw
In response to PostgreSQL 7.1.3 vs. gcc 2.95.4 and GNU libc 2.2.4  (tomas@fabula.de)
Responses Re: PostgreSQL 7.1.3 vs. gcc 2.95.4 and GNU libc 2.2.4
List pgsql-bugs
tomas@fabula.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@gmx.net   http://funkturm.homeip.net/~peter

pgsql-bugs by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: Bug #443: Problem with time functions.
Next
From: Peter Eisentraut
Date:
Subject: Re: Bug #448: 7.1.3 interfaces build fail on solaris w. gcc