I am doing something on the IP tunneling, and changed the
'new_tunnel.c'.
However, when i install this module(new_tunnel.o), there are many
'unresolved symbol' errors.
My OS is RedHat 5.2, kernel version is 2.0.36.
The procedures i made the new module is as below:
[its100 /usr/src/linux]# make menuconfig
/* here, i enable the IP tunneling function as module */
[its100 /usr/src/linux]# make zImage
[its100 /usr/src/linux]# make modules
Since i just want to test the tunnel function, so, i install the module
now:
[its100 /usr/src/linux/modules]# insmod ./new_tunnel.o
./new_tunnel.o: unresolved symbol dev_get_Reb9f4330
./new_tunnel.o: unresolved symbol ip_forward_Rcabe4c2e
./new_tunnel.o: unresolved symbol ip_rt_put_Rf39f67ec
./new_tunnel.o: unresolved symbol dev_kfree_skb_Rcf9420b5
./new_tunnel.o: unresolved symbol dev_alloc_skb_R5b35c6df
./new_tunnel.o: unresolved symbol ip_rt_route_R50cd4a07
./new_tunnel.o: unresolved symbol register_netdev_R4a709bb4
./new_tunnel.o: unresolved symbol unregister_netdev_Ra1232941
./new_tunnel.o: unresolved symbol skb_device_unlock_Rb1f086b7
./new_tunnel.o: unresolved symbol kfree_skb_Rabadef54
However,
[its100 /usr/src/linux/modules]# ksyms -a |grep ip_for
00145318 ip_forward_R1532c223
001d989c sysctl_ip_forward_Ra7d20d83
My question is:
I only want to test the new_tunnel.c, and do not need a new kernel,
what can i do to avoid all errors above?
Is there something wrong with my procedure?
Thanks for your help.
Chen l.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/