Re: [squid-users] compiling ip_wccp.c with kernel 2.4.7-10

From: Squid Support (Henrik Nordstrom) <hno@dont-contact.us>
Date: Wed, 17 Apr 2002 09:12:03 +0200

The kernel headers shipped by RedHat do not match their binary
kernel, making it impossible to build new kernel modules to their
binary kernel.

You need to first build and install your own custom kernel. When this
is done you can compile new kernel modules such as ip_wccp. See the
RedHat docs on how to compile custom Linux kernels on RedHat Linux.

Regards
Henrik

On Wednesday 17 April 2002 00:48, Babe Meneses Beltran wrote:
> Hi All,
>
> Now I am compiling again the ip_wccp.c for kernel 2.4.7-10, when I
> compile I have'nt error message, mi compilation flas was:
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.7-10/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.4.7-10/include/linux/modversions.h -c ip_wccp.c
>
>
> but when I execute the command /sbin/depmod ip_wccp, sendme
> foolowing error:
>
> /lib/modules/2.4.7-10/kernel/net/ipv4/ip_wccp.o: unresolved symbol
> __pskb_pull_tail_R71559595
> /lib/modules/2.4.7-10/kernel/net/ipv4/ip_wccp.o: unresolved symbol
> inet_add_protocol_R3432c15e
> /lib/modules/2.4.7-10/kernel/net/ipv4/ip_wccp.o: unresolved symbol
> __kfree_skb_R5fcc582a
> /lib/modules/2.4.7-10/kernel/net/ipv4/ip_wccp.o: unresolved symbol
> ip_rcv_Ra4efa430
> /lib/modules/2.4.7-10/kernel/net/ipv4/ip_wccp.o: unresolved symbol
> inet_del_protocol_Rec6a4dc1
> /lib/modules/2.4.7-10/kernel/net/ipv4/ip_wccp.o: insmod
> /lib/modules/2.4.7-10/kernel/net/ipv4/ip_wccp.o failed
> /lib/modules/2.4.7-10/kernel/net/ipv4/ip_wccp.o: insmod ip_wccp
> failed
>
> How can I to resolve this problem?, somebody can help me?
>
> Thanks in advanced,
>
> Regards,
>
> _________________________________________________________________
> Con MSN Hotmail súmese al servicio de correo electrónico más grande
> del mundo. http://www.hotmail.com/ES

-- 
MARA Systems AB, Giving you basic free Squid support
Your source of advanced web reverse proxying solutions
http://www.marasystems.com/producs/
Received on Wed Apr 17 2002 - 01:26:44 MDT

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