On Fri, Jan 13, 2006 at 08:46:19AM -0000, tirilimpspoolteist wrote: > Tring to compile milter-greylist in older linux, which however is ipv6 > compatible, and runs on 2.4 kernel, but getting error: > > gcc -g -O2 -Wall -Ino/include -Ino/include -D_XOPEN_SOURCE=500 > -D_BSD_SOURCE -c -o pending.o pending.c > pending.c: In function `ip_match': > pending.c:423: structure has no member named `sin6_scope_id' > pending.c:424: structure has no member named `sin6_scope_id' > pending.c:424: structure has no member named `sin6_scope_id' > pending.c: In function `ip_equal': > pending.c:457: structure has no member named `sin6_scope_id' > pending.c:458: structure has no member named `sin6_scope_id' > pending.c:458: structure has no member named `sin6_scope_id' > make: *** [pending.o] Error 1 > > Seems some ipv6 incompatible error, how to fix it? Quick fix: Add an #undef AF_INET6 after the includes in pending.c But we need a better fix? Can we see your struct sockaddr_in6 definition? It should be in /usr/include/netinet6/in6.h -- Emmanuel Dreyfus manu@...
Message
Re: [milter-greylist] Make error - structure has no member named `sin6_scope_id'
2006-01-13 by Emmanuel Dreyfus
Attachments
- No local attachments were found for this message.