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.

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

[EMAIL PROTECTED] 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


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

[EMAIL PROTECTED] 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


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

[EMAIL PROTECTED] 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
[EMAIL PROTECTED] - 503.266.8253


Reply via email to