[squid-users] wccp and squid

From: Babe Meneses Beltran <bmeneses_beltran@dont-contact.us>
Date: Fri, 28 Sep 2001 19:59:43 +0000

Hi All

I need to work wccp with squid, I read the recomendations of: Cookbook for
setting up transparent WCCP using Squid on RedHat Linux and a cisco access
server, and I download ip_wccp.c y I compiled: gcc -D__KERNEL__
-I/usr/src/linux-2.2.14/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict- aliasing -pipe -fno-strength-reduce -m386
-DCPU=386 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.2.14/include/linux/modversions.h -c ip_wccp.c

But when I compile the followin error appear:
gcc: aliasing: No such file or directory
cc1: Unrecognized option `-fno-strict-'
In file included from /usr/src/linux-2.2.16/include/linux/sched.h:20,
                 from ip_wccp.c:10:
/usr/src/linux-2.2.16/include/linux/smp.h:77:49: warning: "smp_num_cpus"
redefined
/usr/src/linux-2.2.16/include/linux/modules/i386_ksyms.ver:28:1: warning:
this is the location of the previous definition
/usr/src/linux-2.2.16/include/linux/smp.h:83:26: warning:
"smp_call_function" redefined
/usr/src/linux-2.2.16/include/linux/modules/i386_ksyms.ver:118:1: warning:
this is the location of the previous definition
In file included from /usr/src/linux-2.2.16/include/linux/sched.h:74,
                 from ip_wccp.c:10:
/usr/src/linux-2.2.16/include/asm/processor.h:96:18: warning: "cpu_data"
redefined
/usr/src/linux-2.2.16/include/linux/modules/i386_ksyms.ver:6:1: warning:
this is the location of the previous definition
In file included from /usr/src/linux-2.2.16/include/linux/interrupt.h:51,
                 from /usr/src/linux-2.2.16/include/linux/netdevice.h:334,
                 from ip_wccp.c:13:
/usr/src/linux-2.2.16/include/asm/hardirq.h:23:24: warning:
"synchronize_irq" redefined
/usr/src/linux-2.2.16/include/linux/modules/i386_ksyms.ver:138:1: warning:
this is the location of the previous definition
In file included from /usr/src/linux-2.2.16/include/linux/interrupt.h:52,
                 from /usr/src/linux-2.2.16/include/linux/netdevice.h:334,
                 from ip_wccp.c:13:
/usr/src/linux-2.2.16/include/asm/softirq.h:75:23: warning: "synchronize_bh"
redefined
/usr/src/linux-2.2.16/include/linux/modules/i386_ksyms.ver:142:1: warning:
this is the location of the previous definition
{standard input}: Assembler messages:
{standard input}:9: Warning: Ignoring changed section attributes for
.modinfo

I have installed RedHat linux version 7.0 and Squid Cache: Version
2.3.STABLE4, my kernel is 2.2.16-22

My question is:

Do I need other version of ip_wccp.c?
Do I need to compile my kernel?

How can I to work wccp with squid?

Thanks,

Novice in squid.

_________________________________________________________________
Descargue GRATUITAMENTE MSN Explorer en http://explorer.msn.es/intl.asp
Received on Fri Sep 28 2001 - 13:59:45 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:31 MST