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