[squid-users] Re: Squid - ip_wccp.c not compiling under RH ESv3

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 19 Jul 2004 12:55:50 +0200 (CEST)

On Mon, 19 Jul 2004 reynaldo.corral@imorse.com wrote:

> hi scott, i think i have good news for everyone dealing with the problem of
> trying to compile ip_wccp for RHESv3. you see, a co-worker started playing
> around with the module and here is what he did:
>
> original:
> #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
>
> modified:
> #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,21)
>
> with this change it is now posible to compile the module. i have not done
> any testing with the router yet, but at least we got it to compile. i hope
> this helps.

If it compiles without warnings then it will most likely work as good as
it does on standard Linux versions.

If there is any warnings from the compiler then these warnings needs to be
looked into as each warning is a potential source of problems.

Please check with RedHat if there is a suitable define which can be used
for the purpose of detecting the RH ES backport of Linux-2.6 networking
(to be specific the inet_add/delete_protocol calls). If there is then
ip_wccp.c can easily be updated to work on both standard Linux and RH ES
without modifications.

Regards
Henrik
Received on Mon Jul 19 2004 - 04:55:54 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Aug 01 2004 - 12:00:02 MDT