[squid-users] Ip_wccp & Linux kernel 2.4.9-31

From: Tom Hutchison <thutchis@dont-contact.us>
Date: Sun, 10 Mar 2002 15:49:34 -0800

I recently went from Redhat kernel 2.4.9-13 to 2.4.9-31 in order to fix
a virtual memory problem Squid was experiencing. When I tried to
recompile ip_wccp.c under the kernel 2.4.9-31 source tree I got the
following error:

gcc -D__KERNEL__ -I/usr/src/linux-2.4.9-31/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -Wno-unused -pipe
-mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.9-31/include/linux/modversions.h -DEXPORT_SYMTAB -c
ip_wccp.c
ip_wccp.c:77: warning: initialization from incompatible pointer type

When I load the compiled module It gives the following error:

[ ipv4]# insmod ip_wccp
Using /lib/modules/2.4.9-31/kernel/net/ipv4/ip_wccp.o
/lib/modules/2.4.9-31/kernel/net/ipv4/ip_wccp.o: unresolved symbol
inet_del_protocol_Rsmp_b440f24c
/lib/modules/2.4.9-31/kernel/net/ipv4/ip_wccp.o: unresolved symbol
inet_add_protocol_Rsmp_ad9b60be
/lib/modules/2.4.9-31/kernel/net/ipv4/ip_wccp.o: unresolved symbol
__read_lock_failed
/lib/modules/2.4.9-31/kernel/net/ipv4/ip_wccp.o: unresolved symbol
printk_Rsmp_1b7d4074
/lib/modules/2.4.9-31/kernel/net/ipv4/ip_wccp.o: unresolved symbol
ip_rcv_Rsmp_e44b3b0d
/lib/modules/2.4.9-31/kernel/net/ipv4/ip_wccp.o: unresolved symbol
__kfree_skb_Rsmp_4016cb34
/lib/modules/2.4.9-31/kernel/net/ipv4/ip_wccp.o: Hint: You are trying to
load a module without a GPL compatible license
     and it has unresolved symbols. Contact the module supplier for
     assistance, only they can help you.

I have tried Joe's 2.2.18 patch and one from
aurora.dti2.net/parches/ip_wccp-2.4.2.patch

Neither one will work. If anyone can provide any help I would sure
appreciate it. Unfortunately I am only a network engineer and have no C
programming skills. We have three Squid servers for our schools and 2
of them are down now.

Thanks,
Tom

-- 
  "The only secure Microsoft software is what's still shrink-wrapped
in their warehouse..."
--------------------------------------------------------------------
Tom Hutchison	             voice: 541-966-3187
Network Analyst              fax:   541-966-3231
Umatilla-Morrow ESD          email: thutchis@helper.umesd.k12.or.us
-------------------------------------------------------------------
Received on Sun Mar 10 2002 - 16:49:37 MST

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