Undefined sin6_port on Solaris10
Mizuho Matsunaga
mizu0 at mizucci.net
Sat Mar 26 06:37:47 PDT 2011
I resolved this error.
Source add define __EXTENSIONS__.
Next error occured.
This error is symbol undefined "alloca".
I add include <alloca.h> on dbus-sysdeps-unix.c.
Thank you.
> Hi Thiago.
>
> I checked sin6_port in include files on Solaris10
>
> "sin6_port" is defined in netinet/in.h.
> netinet/in6.h don't exist on Solaris10.
>
> in.h
>
> #if !defined(_XPG4_2) || defined(_XPG6) || defined(__EXTENSIONS__)
> /*
> * IPv6 socket address.
> */
> struct sockaddr_in6 {
> sa_family_t sin6_family;
> in_port_t sin6_port;
> uint32_t sin6_flowinfo;
> struct in6_addr sin6_addr;
> uint32_t sin6_scope_id; /* Depends on scope of sin6_addr */
> uint32_t __sin6_src_id; /* Impl. specific - UDP replies */
> };
>
> Regards.
>
>
> > On Saturday, 26 de March de 2011 17:52:51 Mizuho Matsunaga wrote:
> > > Hi all
> > >
> > > I compile dbus-1.4.6 on Sparc Solaris10 by solstudio12.2.
> > > But I can not compile for this error.
> > >
> > > "sd-daemon.c", line 206: incomplete struct/union/enum sockaddr_in6: in6
> >
> > > Please help me.
> >
> > Looks like we forgot to #include <netinet/in6.h>. Can you add that include
> > close to the one for netinet/in.h and see if it solves the problem?
> >
> > --
> > Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
> > Senior Product Manager - Nokia, Qt Development Frameworks
> > PGP/GPG: 0x6EF45358; fingerprint:
> > E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
> >
> > -------------------------------text/plain-------------------------------
> > _______________________________________________
> > dbus mailing list
> > dbus at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/dbus
>
> --
> Mizuho Matsunaga <mizu0 at mizucci.net>
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus
--
Mizuho Matsunaga <mizu0 at mizucci.net>
More information about the dbus
mailing list