compiling ip_wccp.o and adding it as module

From: Michael Vincent K. Pozon - CompE <[email protected]>
Date: Thu, 4 May 2000 14:27:08 +0800 (PHT)

[root@omega /root]# gcc -D__KERNEL__ -I/usr/src/linux/include -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -DMODULE -DMODVERSIONS -o
ip_wccp.o ip_wccp.c -c

[root@omega /root]#
[root@omega /root]# cp ip_wccp.o /lib/modules/2.2.14/ipv4/
[root@omega /root]# echo /lib/modules/2.2.14/ipv4/ip_wccp.o
>> /lib/modules/2.2.14/modules.dep

[root@omega /root]#
[root@omega /root]# 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

---------
  what's wrong here ? did i missed something ?
i'm using Redhat Linux 6.0 and compiled with the latest kernel 2.2.14.
and using squid-2.3 stable2 ..

please advice.

--
m  i  c  h  a  e  l   v  i  n  c  e  n  t   p  o  z  o  n
             ::  mikevince@engineer.com  ::
---------------------------------------------------------------
HPS Software & Communication Corp.     ICQ : 1413343
Pilipino Internet Cebu              office : (+63)(32) 3447847
Systems/Network Administrator       home   : (+63)(32) 3446427
CCNA,CCDA  - -  - - - - - - - - - - cell   : (+63) 917-3276966
 - - - - - - - - - - - - - - - - -  http://mikevince.tripod.com
Received on Thu May 04 2000 - 00:15:29 MDT

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