Search Postgresql Archives

Re: Error while compiling on HP-UX ia64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

After a new install of HP-UX B.11.23 (ia64) and installing the latest patches on it, I've tried to compile PostgreSQL 9.0.1 from source again.
But I've still got problems with compiling, the process is ending with the next errors:

gmake[3]: Entering directory `/anva/PostgreSQL/pgsqlsource/postgresql-9.0.1/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:725: error: 'struct lifreq' has no member named 'lifr_addr'
ip.c:735: error: 'struct lifreq' has no member named 'lifr_addr'
ip.c:654: warning: unused variable 'lifc'
gmake[3]: *** [ip.o] Error 1
gmake[3]: Leaving directory `/anva/PostgreSQL/pgsqlsource/postgresql-9.0.1/src/backend/libpq'
gmake[2]: *** [libpq-recursive] Error 2
gmake[2]: Leaving directory `/anva/PostgreSQL/pgsqlsource/postgresql-9.0.1/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/anva/PostgreSQL/pgsqlsource/postgresql-9.0.1/src'
gmake: *** [all] Error 2


SIOCGLIFCONF is declared in /usr/include/sys/ioctl.h
        #define SIOCGLIFCONF    _IOWR('I',20, struct if_laddrconf) /*get l_addr list  */

Struct lifreq is declared in /usr/include/net/if.h
        /* Logical interface request */
        struct lifreq {
           int  lifr_flags;
           char lifr_target[IFNAMSIZ];
           char lifr_source[IFNAMSIZ];
           };

Mkheaders from the gcc tools is used to solve incompatibilities between the HP-UX system header files and the gcc library.
But it doesn't affect this problem.

Does anybody knows how to solve this problem?


Regards, 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.
******************************************************************************

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux