Re: IP_WCCP

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 25 Apr 2000 20:44:46 +0200

Michael Vincent K. Pozon - CompE wrote:
>
> i compiled ip_wccp.c with the syntax provided below , but then when i do
> the modprobe , it gave me these errors:
>
> [root@omega ipv4]# modprobe ip_wccp
> /lib/modules/2.2.14/ipv4/ip_wccp.o: unresolved symbol __kfree_skb
> /lib/modules/2.2.14/ipv4/ip_wccp.o: unresolved symbol inet_del_protocol
> /lib/modules/2.2.14/ipv4/ip_wccp.o: unresolved symbol inet_add_protocol
> /lib/modules/2.2.14/ipv4/ip_wccp.o: unresolved symbol ip_rcv
> /lib/modules/2.2.14/ipv4/ip_wccp.o: unresolved symbol printk
>
> did i missed something ?

Try

gcc -D__KERNEL__ -I/usr/src/linux/include -O2 -fomit-frame-ponter
-fno-strict-aliasing -pipe -DMODULE -DMODVERSIONS -o ip_wccp.o ip_wccp.c

If this too fails then your /usr/src/linux/include does probably not
match your running kernel build. Yes, some of the files in
/usr/src/linux/include are build dependent. In such case do a rebuild of
the kernel from source, reboot to the new kernel and then try again at
building ip_wccp.o.

--
Henrik Nordstrom
Squid and Linux Hacker
Received on Tue Apr 25 2000 - 13:01:35 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:53:02 MST