ORBit2 under HP-UX 11.11



Hi,

Does anyone successful build ORBit2 under HP-UX 11.11 ?
I have following pre-build HP-UX tool set installed, but still
can't compile ORBit2:

gettext-0.14.6, libiconv-1.11, bash-3.1.17, libtool-1.5.22
automake-1.9.6, autoconf-2.60, gcc-4.1.1, m4-1.4.4,
make-3.81, tar-1.15.1, bison-2.2, flex-2.5.4a
popt-1.7, pkgconfig-0.21, libIDL-0.8.7, glib2-2.13.3

I got the following error message when compile ORBit2-2.14.3:
Other ORBit2 version failed too.   It looks like a INET6 and RESOLV
related issue ... any suggestion is appreciated, Thanks




...
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../linc2/include
-I../../linc2/include -pthread -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations -DG_DISABLE_DEPRECATED -D_GNU_SOURCE -g -O2
-Werror-implicit-function-declaration -std=gnu89 -c linc-protocols.c
-MT linc-protocols.lo -MD -MP -MF .deps/linc-protocols.TPlo  -fPIC
-DPIC -o .libs/linc-protocols.o
In file included from /usr/include/sys/mp.h:47,
                from /usr/include/sys/malloc.h:59,
                from /usr/include/net/netmp.h:53,
                from /usr/include/net/if.h:59,
                from linc-protocols.c:26:
/usr/include/sys/ki_calls.h:490: error: expected '=', ',', ';', 'asm'
or '__attribute__' before 'struct'
In file included from /usr/include/net/if.h:234,
                from linc-protocols.c:26:
/usr/include/net/if6.h:77: error: field 'iflru_addr' has incomplete type
/usr/include/net/if6.h:78: error: field 'iflru_dstaddr' has incomplete type
/usr/include/net/if6.h:118: error: field 'lifra_addr' has incomplete type
/usr/include/net/if6.h:119: error: field 'lifra_mask' has incomplete type
linc-protocols.c: In function 'link_protocol_is_local_ipv46':
linc-protocols.c:465: error: dereferencing pointer to incomplete type
linc-protocols.c: In function 'link_protocol_get_sockaddr_ipv4':
linc-protocols.c:529: error: implicit declaration of function 'res_init'
linc-protocols.c: In function 'link_protocol_get_sockaddr_ipv6':
linc-protocols.c:589: error: invalid application of 'sizeof' to
incomplete type 'struct sockaddr_in6'
linc-protocols.c:591: error: invalid application of 'sizeof' to
incomplete type 'struct sockaddr_in6'
linc-protocols.c:595: error: dereferencing pointer to incomplete type
linc-protocols.c:596: error: dereferencing pointer to incomplete type
linc-protocols.c:598: error: dereferencing pointer to incomplete type
linc-protocols.c:635: error: dereferencing pointer to incomplete type
linc-protocols.c:635: error: invalid application of 'sizeof' to
incomplete type 'struct in6_addr'
linc-protocols.c: In function 'link_protocol_get_sockinfo_ipv6':
linc-protocols.c:886: error: dereferencing pointer to incomplete type
linc-protocols.c:886: error: 'in6addr_any' undeclared (first use in
this function)
linc-protocols.c:886: error: (Each undeclared identifier is reported only once
linc-protocols.c:886: error: for each function it appears in.)
linc-protocols.c:886: error: invalid application of 'sizeof' to
incomplete type 'struct in6_addr'
linc-protocols.c:895: error: dereferencing pointer to incomplete type
linc-protocols.c:896: error: invalid application of 'sizeof' to
incomplete type 'struct in6_addr'
linc-protocols.c:904: error: dereferencing pointer to incomplete type
linc-protocols.c: At top level:
linc-protocols.c:1085: error: invalid application of 'sizeof' to
incomplete type 'struct sockaddr_in6'
*** Error exit code 1

Stop.
*** Error exit code 1










Regards
KC


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