[squid-users] ip_wccp problems

From: Scott Baker <bakers@dont-contact.us>
Date: Fri, 07 Nov 2003 10:02:45 -0800

I compiled my own kernel (2.4.22) and the ip_wccp module on my RedHat 9
system as follows

gcc -D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix
include -DKBUILD_BASENAME=sched -fno-omit-frame-pointer -c -o ip_wccp.o
ip_wccp.c

So now I have ip_wccp.o which I put in my /lib/modules/ directory, but it
will NOT load to save my life.

-------------------------------------------

[root@localhost linux]# modprobe ip_wccp
/lib/modules/2.4.22/kernel/net/ipv4/ip_wccp.o: couldn't find the kernel
version the module was compiled for
/lib/modules/2.4.22/kernel/net/ipv4/ip_wccp.o: insmod
/lib/modules/2.4.22/kernel/net/ipv4/ip_wccp.o failed
/lib/modules/2.4.22/kernel/net/ipv4/ip_wccp.o: insmod ip_wccp failed

-------------------------------------------

[root@localhost linux]# insmod /lib/modules/2.4.22/kernel/net/ipv4/ip_wccp.o
/lib/modules/2.4.22/kernel/net/ipv4/ip_wccp.o: couldn't find the kernel
version the module was compiled for

-------------------------------------------

[root@localhost linux]# uname -a
Linux localhost.localdomain 2.4.22 #5 Wed Nov 5 09:37:47 PST 2003 i686 i686
i386 GNU/Linux

-------------------------------------------

Am I missing something here?

-----------------------------------
Scott Baker - Webster Internet
Network Engineer - RHCE
bakers@web-ster.com - 503.266.8253
Received on Fri Nov 07 2003 - 11:02:47 MST

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