Patch to latest iproute to get it to compile on FC5

2008-02-13 Thread Ben Greear
I notice that the latest snapshot and git repository for iproute will not compile on FC5 due to not finding __constant_hton* symbols and a lack of the hdlc/ioctl.h file on FC5. I am attaching a patch that appears to fix the problems for me. Please consider applying this or something similar.

Re: Patch to latest iproute to get it to compile on FC5

2008-02-13 Thread Stephen Hemminger
On Wed, 13 Feb 2008 11:32:32 -0800 Ben Greear [EMAIL PROTECTED] wrote: I notice that the latest snapshot and git repository for iproute will not compile on FC5 due to not finding __constant_hton* symbols and a lack of the hdlc/ioctl.h file on FC5. I am attaching a patch that appears to fix

Re: Patch to latest iproute to get it to compile on FC5

2008-02-13 Thread Ben Greear
Stephen Hemminger wrote: On Wed, 13 Feb 2008 11:32:32 -0800 Ben Greear [EMAIL PROTECTED] wrote: I notice that the latest snapshot and git repository for iproute will not compile on FC5 due to not finding __constant_hton* symbols and a lack of the hdlc/ioctl.h file on FC5. I am attaching a

Re: Patch to latest iproute to get it to compile on FC5

2008-02-13 Thread Stephen Hemminger
On Wed, 13 Feb 2008 11:32:32 -0800 Ben Greear [EMAIL PROTECTED] wrote: I notice that the latest snapshot and git repository for iproute will not compile on FC5 due to not finding __constant_hton* symbols and a lack of the hdlc/ioctl.h file on FC5. I am attaching a patch that appears to fix

Re: Patch to latest iproute to get it to compile on FC5

2008-02-13 Thread Ben Greear
Here's another try at the patch to make the __constant_htonl methods be included, but without changing any of the .h files. I tested this on an FC2 system, and it compiles fine. Interesting to me, it seems you are not supposed to #include asm/byteorder.h directly, but when I tried the