Hello all,
I have a problem while compiling postgresql 7.2.1 on AIX using the
following:
./configure --prefix=/usr/local/pgsql
--with-includes=/usr/local/include
--with-libraries=/usr/local/lib
--with-perl --with-CC=gcc
gmake --version
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for powerpc-ibm-aix4.3.0.0
gcc --version
2.9-aix51-020209
I get while compiling pqcomm.c the following error:
gcc -O2 -pipe -Wall -Wmissing-prototypes -Wmissing-declarations
-I../../../src/include -c
-o pqcomm.o pqcomm.c
pqcomm.c: In function `StreamConnection':
pqcomm.c:398: warning: passing arg 3 of `naccept' from incompatible
pointer type
pqcomm.c:417: warning: passing arg 3 of `ngetsockname' from incompatible
pointer type
pqcomm.c:428: `TCP_NODELAY' undeclared (first use in this function)
pqcomm.c:428: (Each undeclared identifier is reported only once
pqcomm.c:428: for each function it appears in.)
gmake[3]: *** [pqcomm.o] Error 1
gmake[3]: Leaving directory
`/usr/local/pgsql/postgresql-7.2.1/src/backend/libpq'
gmake[2]: *** [libpq-recursive] Error 2
gmake[2]: Leaving directory
`/usr/local/pgsql/postgresql-7.2.1/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/local/pgsql/postgresql-7.2.1/src'
gmake: *** [all] Error 2
Can anybody show me what is going on here?
Best Regards
José.