Problems compiling postgresql 7.2.1 on AIX - Mailing list pgsql-general

From Jose Manuel Lorenzo Lopez
Subject Problems compiling postgresql 7.2.1 on AIX
Date
Msg-id 3CDFE524.2680E28E@ica.conti.de
Whole thread Raw
List pgsql-general
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é.

pgsql-general by date:

Previous
From: tony
Date:
Subject: Re: Using COPY
Next
From: "Joel Burton"
Date:
Subject: Re: Question about setval() function