[squid-users] Configuring WCCP support on Linux 2.4.x kernels

From: <francisv@dont-contact.us>
Date: Wed, 3 Apr 2002 11:37:13 +0800

Hi,

I have a client running RedHat Linux 7.2 with the 2.4 kernel and couldn't
compile the ip_wccp module. It spits out the following errors when
compiling:

> gcc -O2 -Wall -m486 -fomit-frame-pointer -D__KERNEL__ -DMODULE -c
> ip_wccp.c -o ip_wccp.o
> ip_wccp.c: In function `ip_wccp_rcv':
> ip_wccp.c:38: warning: implicit declaration of function `IPCB'
> ip_wccp.c:38: invalid type argument of `->'
> ip_wccp.c:38: invalid type argument of `->'
> ip_wccp.c:38: invalid type argument of `->'
> ip_wccp.c:38: invalid type argument of `->'
> ip_wccp.c:42: warning: implicit declaration of function `dst_release'
> ip_wccp.c:45: warning: implicit declaration of function `ip_rcv'
> ip_wccp.c: At top level:
> ip_wccp.c:52: variable `ipgre_protocol' has initializer but incomplete
type
> ip_wccp.c:53: warning: excess elements in struct initializer
> ip_wccp.c:53: warning: (near initialization for `ipgre_protocol')
> ip_wccp.c:54: warning: excess elements in struct initializer
> ip_wccp.c:54: warning: (near initialization for `ipgre_protocol')
> ip_wccp.c:55: warning: excess elements in struct initializer
> ip_wccp.c:55: warning: (near initialization for `ipgre_protocol')
> ip_wccp.c:56: warning: excess elements in struct initializer
> ip_wccp.c:56: warning: (near initialization for `ipgre_protocol')
> ip_wccp.c:57: warning: excess elements in struct initializer
> ip_wccp.c:57: warning: (near initialization for `ipgre_protocol')
> ip_wccp.c:58: warning: excess elements in struct initializer
> ip_wccp.c:58: warning: (near initialization for `ipgre_protocol')
> ip_wccp.c:60: warning: excess elements in struct initializer
> ip_wccp.c:60: warning: (near initialization for `ipgre_protocol')
> ip_wccp.c: In function `init_module':
> ip_wccp.c:65: warning: implicit declaration of function
`inet_add_protocol'
> ip_wccp.c: In function `cleanup_module':
> ip_wccp.c:71: warning: implicit declaration of function
`inet_del_protocol'

Anyone willing to share how they did it on the 2.4 linux kernel?

---
 francis a. vidal [bitstop network services] | http://www.dagupan.com
 streaming media + web hosting               | http://www.keystone.ph
 v(02)330-2871,(02)330-2872; f(02)330-2873   | http://www.kuro.ph 
Received on Tue Apr 02 2002 - 20:36:19 MST

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