Re: 2.5.41 does not build: ipv6/addrconf.c: case label (htonln(something)) does not reduce to an integer constant

From: David S. Miller (davem@redhat.com)
Date: Wed Oct 09 2002 - 16:21:48 EST


   From: Nicolás Lichtmaier <nick@technisys.com.ar>
   Date: Wed, 09 Oct 2002 16:04:01 -0300

   In that line:
                   switch((st & htonl(0x00FF0000))) {
                           case htonl(0x00010000):
   
   Perhaps it's a matter of includes again.

This is fixed in the current sources, just change the
"htonl" to "__constant_htonl" in the case statements.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:33 EST