ORBit2 under HP-UX 11.11

View: New views
3 Messages — Rating Filter:   Alert me  

ORBit2 under HP-UX 11.11

by Kuang-Chun Cheng :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
_______________________________________________
orbit-list mailing list
orbit-list@...
http://mail.gnome.org/mailman/listinfo/orbit-list

Re: ORBit2 under HP-UX 11.11

by Michael Haubenwallner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi KC,

last ORBit2 I tried on HP-UX 11.11 was 2.12.4, it works without any
additional patches - which versions did you try ?

I do not use prebuilt packages from HP (except GNU make), but I build
them myself always (including gcc):
  libIDL-0.8.6
  popt-1.7
  glib-2.8.3
  gettext-0.14.5
  flex-2.5.4a
  gcc-4.1.1 (also works with gcc-3.4.5)
  (maybe some others I do not remember)

...not much help...

/haubi/

On Tue, 2006-10-03 at 10:52 +0800, KC.Gmail wrote:

> 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
>
>
<snip>
--
Michael Haubenwallner                    SALOMON Automation GmbH
Forschung & Entwicklung                  A-8114 Friesach bei Graz
mailto:michael.haubenwallner@...  http://www.salomon.at
No HTML/MIME please, see http://expita.com/nomime.html

_______________________________________________
orbit-list mailing list
orbit-list@...
http://mail.gnome.org/mailman/listinfo/orbit-list

Re: ORBit2 under HP-UX 11.11

by Kuang-Chun Cheng :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I tried ORBit2 2.10.4, 2.12.5 and 2.14.3, all had similar problems
but use pre-build HP-UX GNU tools.
They all stop at linc2/src/linc-protocal.c .... I think it's IPV6 related ...
since I will not use IPV6 stuff in my application, I will first try to remove
such code directly from ORBit2 source.   Thanks

Regards
KC

On 10/3/06, Michael Haubenwallner <michael.haubenwallner@...> wrote:

> Hi KC,
>
> last ORBit2 I tried on HP-UX 11.11 was 2.12.4, it works without any
> additional patches - which versions did you try ?
>
> I do not use prebuilt packages from HP (except GNU make), but I build
> them myself always (including gcc):
>   libIDL-0.8.6
>   popt-1.7
>   glib-2.8.3
>   gettext-0.14.5
>   flex-2.5.4a
>   gcc-4.1.1 (also works with gcc-3.4.5)
>   (maybe some others I do not remember)
>
> ...not much help...
>
> /haubi/
>
> On Tue, 2006-10-03 at 10:52 +0800, KC.Gmail wrote:
> > 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
> >
> >
> <snip>
> --
> Michael Haubenwallner                    SALOMON Automation GmbH
> Forschung & Entwicklung                  A-8114 Friesach bei Graz
> mailto:michael.haubenwallner@...  http://www.salomon.at
> No HTML/MIME please, see http://expita.com/nomime.html
>
>
_______________________________________________
orbit-list mailing list
orbit-list@...
http://mail.gnome.org/mailman/listinfo/orbit-list