syslog-ng 2.0.0 successful on Mac OS X Tiger
Listed below: struct in6_addr { union { __uint8_t __u6_addr8[16]; __uint16_t __u6_addr16[8]; __uint32_t __u6_addr32[4]; } __u6_addr; /* 128-bit IP6 address */ }; On Mon, 2006-12-04 at 14:00 +0800, Usman Wahid wrote:
Hi,
I am getting the following error message, while compiling syslog-ng-2.0 on Mac OS X server 10.4.6,
dnscache.c: In function 'dns_cache_key_hash': dnscache.c:80: error: 'struct in6_addr' has no member named 's6_addr32' dnscache.c:80: error: 'struct in6_addr' has no member named 's6_addr32' dnscache.c:80: error: 'struct in6_addr' has no member named 's6_addr32' dnscache.c:80: error: 'struct in6_addr' has no member named 's6_addr32' make[2]: *** [dnscache.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
I am using eventlog-0.2.6, glib-2.12.4 and pkg-config-0.21. Any ideas to solve the problem?
Can you show me the definition of struct in6_addr in your system header files? -- Bazsi _________________________________________________________________ Find singles online in your area with MSN Dating and Match.com! http://cp.intl.match.com/eng/msn/msnsg/wbc/wbc.html
On Wed, 2006-12-06 at 22:36, Usman Wahid wrote:
Listed below:
Most of the OS/X userland is NetBSD. The struct is the same on NetBSD: /* * IPv6 address */ struct in6_addr { union { __uint8_t __u6_addr8[16]; __uint16_t __u6_addr16[8]; uint32_t __u6_addr32[4]; } __u6_addr; /* 128-bit IP6 address */ };
struct in6_addr { union { __uint8_t __u6_addr8[16]; __uint16_t __u6_addr16[8]; __uint32_t __u6_addr32[4]; } __u6_addr; /* 128-bit IP6 address */ };
On Mon, 2006-12-04 at 14:00 +0800, Usman Wahid wrote:
Hi,
I am getting the following error message, while compiling syslog-ng-2.0 on Mac OS X server 10.4.6,
dnscache.c: In function 'dns_cache_key_hash': dnscache.c:80: error: 'struct in6_addr' has no member named 's6_addr32' dnscache.c:80: error: 'struct in6_addr' has no member named 's6_addr32' dnscache.c:80: error: 'struct in6_addr' has no member named 's6_addr32' dnscache.c:80: error: 'struct in6_addr' has no member named 's6_addr32' make[2]: *** [dnscache.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
I am using eventlog-0.2.6, glib-2.12.4 and pkg-config-0.21. Any ideas to solve the problem?
Can you show me the definition of struct in6_addr in your system header files?
-- Bazsi
_________________________________________________________________ Find singles online in your area with MSN Dating and Match.com! http://cp.intl.match.com/eng/msn/msnsg/wbc/wbc.html
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
participants (2)
-
Brian A. Seklecki
-
Usman Wahid