[Linux-ha-dev] Re: an new tar ball containing autoconf/automake linux-ha
Fri, 27 Apr 2001 14:04:49 -0700
* Shusuke Nakao (email@example.com) wrote:
> I tried your linux-ha-cvs-automake-0.4.tar on FreeBSD-3.4-REL, and got error like,
<error message removed>
> Would you please tell me why?
The SOL_IP and SIOCGIFINDEX macros are not defined on FreeBSD 4.2 (which is
what I have access to). When I wrote this code I knew it wasn't portable,
but didn't have access to machines to test portable solutions. As others
mentioned, the automake/conf stuff is new. It does not guarantee that things
are ported, just that the infrastructure is there to support portability.
Changing SOL_IP to IPPROTO_IP should be much more portable. The whole usage
of the device index in the multicast code does not appear to be very
portable. I have prototype versions of a more portable approach, that are
Thanks for your interest. I'll post the patch when it is complete.