SixXS::Sunset 2017-06-06

ecmh on a 64bit system
[nl] Carmen Sandiego on Monday, 14 April 2008 23:00:10
Hi, ecmh does not compile on an AMD64 bit system. And there are no 64bit packages. How to fix it. I like to have some multicast on my network. Regards, TheYOSH Compile error:
root@theyosh:/usr/src/ecmh-2005.02.09# make [Compiling] In file included from ecmh.h:74, from ecmh.c:30: linklist.h:22: warning: padding struct to align âdelâ In file included from ecmh.h:82, from ecmh.c:30: interfaces.h:49: warning: padding struct size to alignment boundary In file included from ecmh.h:84, from ecmh.c:30: grpint.h:14: warning: padding struct to align âsubscriptionsâ In file included from ecmh.h:85, from ecmh.c:30: subscr.h:15: warning: padding struct to align ârefreshtimeâ In file included from ecmh.c:30: ecmh.h:107: warning: padding struct to align âbufferâ ecmh.c:106: warning: padding struct to align âdescâ ecmh.c:114: error: âICMP6_MEMBERSHIP_QUERYâ undeclared here (not in a function) ecmh.c:115: error: âICMP6_MEMBERSHIP_REPORTâ undeclared here (not in a function) ecmh.c:116: error: âICMP6_MEMBERSHIP_REDUCTIONâ undeclared here (not in a function) ecmh.c:133: error: âICMP6_DST_UNREACH_NOTNEIGHBORâ undeclared here (not in a function) ecmh.c:133: error: initializer element is not constant ecmh.c:133: error: (near initialization for âicmpv6_codes_unreach[2].numâ) ecmh.c: In function âmld_send_queryâ: ecmh.c:456: warning: assignment makes integer from pointer without a cast ecmh.c: In function âmld1_send_reportâ: ecmh.c:566: warning: assignment makes integer from pointer without a cast ecmh.c: In function âmld_send_report_allâ: ecmh.c:884: warning: unused variable âgroupnâ ecmh.c: At top level: ecmh.c:978: warning: unused parameter âintnâ ecmh.c:1041: warning: unused parameter âiphâ ecmh.c:1041: warning: unused parameter âlenâ ecmh.c:1041: warning: unused parameter âplenâ ecmh.c:1097: warning: unused parameter âiphâ ecmh.c:1097: warning: unused parameter âlenâ ecmh.c:1097: warning: unused parameter âplenâ ecmh.c:1171: warning: unused parameter âiphâ ecmh.c:1171: warning: unused parameter âlenâ ecmh.c:1315: warning: unused parameter âiphâ ecmh.c:1315: warning: unused parameter âlenâ ecmh.c:1315: warning: unused parameter âmldâ ecmh.c: In function âl4_ipv6_icmpv6â: ecmh.c:1514: warning: comparison between pointer and integer ecmh.c:1515: warning: comparison between pointer and integer ecmh.c:1520: warning: comparison between pointer and integer ecmh.c:1579: warning: comparison between pointer and integer ecmh.c:1583: warning: comparison between pointer and integer ecmh.c:1594: warning: comparison between pointer and integer ecmh.c: In function âsigusr1â: ecmh.c:2151: warning: ISO C90 does not support the âllâ printf length modifier ecmh.c:2151: warning: format â%lluâ expects type âlong long unsigned intâ, but argument 3 has type âuint64_tâ ecmh.c:2152: warning: ISO C90 does not support the âllâ printf length modifier ecmh.c:2152: warning: format â%lluâ expects type âlong long unsigned intâ, but argument 3 has type âuint64_tâ ecmh.c:2231: warning: ISO C90 does not support the âllâ printf length modifier ecmh.c:2231: warning: format â%lluâ expects type âlong long unsigned intâ, but argument 3 has type âuint64_tâ ecmh.c:2232: warning: ISO C90 does not support the âllâ printf length modifier ecmh.c:2232: warning: format â%lluâ expects type âlong long unsigned intâ, but argument 3 has type âuint64_tâ ecmh.c:2233: warning: ISO C90 does not support the âllâ printf length modifier ecmh.c:2233: warning: format â%lluâ expects type âlong long unsigned intâ, but argument 3 has type âuint64_tâ ecmh.c:2234: warning: ISO C90 does not support the âllâ printf length modifier ecmh.c:2234: warning: format â%lluâ expects type âlong long unsigned intâ, but argument 3 has type âuint64_tâ ecmh.c:2235: warning: ISO C90 does not support the âllâ printf length modifier ecmh.c:2235: warning: format â%lluâ expects type âlong long unsigned intâ, but argument 3 has type âuint64_tâ ecmh.c:2236: warning: ISO C90 does not support the âllâ printf length modifier ecmh.c:2236: warning: format â%lluâ expects type âlong long unsigned intâ, but argument 3 has type âuint64_tâ ecmh.c:2264: warning: ISO C90 does not support the âllâ printf length modifier ecmh.c:2264: warning: format â%lluâ expects type âlong long unsigned intâ, but argument 3 has type âuint64_tâ ecmh.c:2265: warning: ISO C90 does not support the âllâ printf length modifier ecmh.c:2265: warning: format â%lluâ expects type âlong long unsigned intâ, but argument 3 has type âuint64_tâ ecmh.c:2266: warning: ISO C90 does not support the âllâ printf length modifier ecmh.c:2266: warning: format â%lluâ expects type âlong long unsigned intâ, but argument 3 has type âuint64_tâ ecmh.c:2267: warning: ISO C90 does not support the âllâ printf length modifier ecmh.c:2267: warning: format â%lluâ expects type âlong long unsigned intâ, but argument 3 has type âuint64_tâ ecmh.c:2268: warning: ISO C90 does not support the âllâ printf length modifier ecmh.c:2268: warning: format â%lluâ expects type âlong long unsigned intâ, but argument 3 has type âuint64_tâ ecmh.c:2269: warning: ISO C90 does not support the âllâ printf length modifier ecmh.c:2269: warning: format â%lluâ expects type âlong long unsigned intâ, but argument 3 has type âuint64_tâ ecmh.c:2270: warning: ISO C90 does not support the âllâ printf length modifier ecmh.c:2270: warning: format â%lluâ expects type âlong long unsigned intâ, but argument 3 has type âuint64_tâ make[1]: *** [ecmh.o] Error 1 make: *** [ecmh] Error 2
ecmh on a 64bit system
[ch] Jeroen Massar SixXS Staff on Monday, 14 April 2008 23:06:17
Those are mostly warnings which can almost be ignored.
ecmh.c:114: error: âICMP6_MEMBERSHIP_QUERYâ undeclared here (not in a function)
ecmh.c:115: error: âICMP6_MEMBERSHIP_REPORTâ undeclared here (not in a function)
ecmh.c:116: error: âICMP6_MEMBERSHIP_REDUCTIONâ undeclared here (not in a function)
ecmh.c:133: error: âICMP6_DST_UNREACH_NOTNEIGHBORâ undeclared here (not in a function)
These are because the glibc headers have changed. Nothing really bad here. I am actually busy testing a new version with new features and quite a few updates, but time is the key here (and a currently dead NSLU for testing it on ARM). When that is done a new version will be released.
ecmh on a 64bit system
[be] Shadow Hawkins on Sunday, 14 September 2008 14:25:30
What the status of this new version? maybe you could release a beta version so we could help you to test it?
ecmh on a 64bit system
[be] Shadow Hawkins on Saturday, 19 April 2008 14:35:34
A quick win to have it compiled, add this to "mld.h"
/* For glibc higher than 2.3.x */ #ifndef ICMP6_MEMBERSHIP_QUERY #define ICMP6_MEMBERSHIP_QUERY MLD_LISTENER_QUERY #define ICMP6_MEMBERSHIP_REDUCTION MLD_LISTENER_REDUCTION #define ICMP6_MEMBERSHIP_REPORT MLD_LISTENER_REPORT #define ICMP6_DST_UNREACH_NOTNEIGHBOR ICMP6_DST_UNREACH_BEYONDSCOPE #endif

Please note Posting is only allowed when you are logged in.

Static Sunset Edition of SixXS
©2001-2017 SixXS - IPv6 Deployment & Tunnel Broker