Search Postgresql Archives

Re: Error while compiling on HP-UX ia64

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

 



Tom,

I found the next system header files:
/usr/include/sys/ioctl.h
/usr/include/net/if.h
/usr/include/net/if6.h

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

Lifreq is declared in if.h While if_laddrconf is declared in if6.h

So after your reply I was searching to the right HP-UX patches but I ran stuck with it.
There are some patches installed and after that the error on 'struct if_laddrconf' is disappeared but gmake is still going wrong with the next messages:
        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

So I think the problem should be found in HP-UX patches.
Unfortunately the install of the last service pack ran into trouble with incomplete dependencies and a broken kernel compilation. So at this moment I have to fix an HP-UX Itanium (another challenge)

Regards,

Derk Jan Horstman

-----Oorspronkelijk bericht-----
Van: Tom Lane [mailto:tgl@xxxxxxxxxxxxx]
Verzonden: maandag 4 oktober 2010 16:12
Aan: Derk Jan Horstman
CC: 'pgsql-general@xxxxxxxxxxxxxx'
Onderwerp: Re:  Error while compiling on HP-UX ia64

Derk Jan Horstman <dj.horstman@xxxxxxx> writes:
> While compiling PostgreSQL-9.0.0 on HP-UX/ia64 (B.11.23) gmake breaks up with the next errors:
> 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'

So which system header files declare those structs?  They should exist
someplace, since the system evidently declares SIOCGLIFCONF.

                        regards, tom lane

***************************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