While compiling PostgreSQL-9.0.0 on HP-UX/ia64 (B.11.23) gmake breaks up with 
the next errors:
.....
gmake -C libpq all
gmake[3]: Entering directory 
`/anva/compile-postgres/psqlsource/postgresql-9.0.0/src/backend/libpq'
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith 
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv 
-I../../../src/include -D_XOPEN_SOURCE_EXTENDED  -I/usr/include 
-I/usr/local/include  -c -o be-fsstubs.o be-fsstubs.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith 
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv 
-I../../../src/include -D_XOPEN_SOURCE_EXTENDED  -I/usr/include 
-I/usr/local/include  -c -o be-secure.o be-secure.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith 
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv 
-I../../../src/include -D_XOPEN_SOURCE_EXTENDED  -I/usr/include 
-I/usr/local/include  -c -o auth.o auth.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith 
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv 
-I../../../src/include -D_XOPEN_SOURCE_EXTENDED  -I/usr/include 
-I/usr/local/include  -c -o crypt.o crypt.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith 
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv 
-I../../../src/include -D_XOPEN_SOURCE_EXTENDED  -I/usr/include 
-I/usr/local/include  -c -o hba.o hba.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith 
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv 
-I../../../src/include -D_XOPEN_SOURCE_EXTENDED  -I/usr/include 
-I/usr/local/include  -c -o ip.o ip.c
ip.c: In function 'pg_foreach_ifaddr':
ip.c:654: error: storage size of 'lifc' isn't known
ip.c:656: error: storage size of 'lmask' isn't known
ip.c:692: error: invalid application of 'sizeof' to incomplete type 'struct 
if_laddrconf'
ip.c:721: error: invalid application of 'sizeof' to incomplete type 'struct 
lifreq'
ip.c:725: error: invalid use of undefined type 'struct lifreq'
ip.c:725: error: dereferencing pointer to incomplete type
ip.c:726: error: invalid use of undefined type 'struct lifreq'
ip.c:726: error: dereferencing pointer to incomplete type
ip.c:726: error: invalid application of 'sizeof' to incomplete type 'struct 
lifreq'
ip.c:732: error: invalid application of 'sizeof' to incomplete type 'struct 
if_laddrreq'
ip.c:656: warning: unused variable 'lmask'
ip.c:654: warning: unused variable 'lifc'
gmake[3]: *** [ip.o] Error 1
gmake[3]: Leaving directory 
`/anva/compile-postgres/psqlsource/postgresql-9.0.0/src/backend/libpq'
gmake[2]: *** [libpq-recursive] Error 2
gmake[2]: Leaving directory 
`/anva/compile-postgres/psqlsource/postgresql-9.0.0/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory 
`/anva/compile-postgres/psqlsource/postgresql-9.0.0/src'
gmake: *** [world] Error 2

I did a configure with the following options:
CC=gcc --with-libs=/usr/lib:/usr/local/lib 
--with-includes=/usr/include:/usr/local/include --with-openssl  
--disable-thread-safety

The used gcc is of version 4.2.3 and gmake version 3.82.

Is there anybody who knows what's going wrong.
The same compile works fine for SLES9, SLES10, SLES11, RHEL5 and AIX 5.2.


Derk Jan Horstman


________________________________
***************************DISCLAIMER***********************************
Deze e-mail is uitsluitend bestemd voor de geadresseerde(n). Verstrekking aan 
en gebruik door anderen is niet toegestaan. ANVA bv sluit iedere 
aansprakelijkheid uit die voortvloeit uit electronische verzending.

This e-mail is intended exclusively for the addressee(s), and may not be passed 
on to, or made available for use by any person other than the addressee(s). 
ANVA bv rules out any and every liability resulting from any electronic 
transmission.
******************************************************************************

Reply via email to