Hi.
I tried the IPv4 module patch located at
http://www-edu.gel.usherb.ca/duvd01/linux/diff-2.4.17-ipv4-0.11
and i get some errors in compilation, and later at depmod.
I applied it against 2.4.19-pre2-ac3 (no errors).
Before the patch i had no such errors..
1. compile errors: ipip.c and ip_gre.c (did not have those errors before
modular IPv4 patch)
I have both ipip.o and ip_gre.o configured as modules.
I kind-of fixed this, but i dont know if i did it right..
Look at the diffs below..
2. Unresolved symbols: (did not have those errors before modular IPv4 patch)
in modules : ip_gre.o ipip.o ip_conntrack.o ip_queue.o ipt_MASQUERADE.o
ipt_MIRROR.o
ipt_REJECT.o iptable_mangle.o iptable_nat.o ipv6.o kernel/net/sched/cls_fw.o
kernel/net/sched/cls_route.o kernel/net/sched/sch_cbq.o
I am not experienced enough to fix these..
Diffs:
// ipip.diff
--- net/ipv4/ipip.orig Sat Mar 9 12:32:45 2002
+++ net/ipv4/ipip.c Sat Mar 9 12:35:13 2002
@@ -94,9 +94,7 @@
#include <linux/config.h>
-#if 0
#include <linux/module.h>
-#endif
#include <linux/types.h>
#include <linux/sched.h>
#include <linux/kernel.h>
// ip_gre.diff
--- net/ipv4/ip_gre.orig Sat Mar 9 12:37:43 2002
+++ net/ipv4/ip_gre.c Sat Mar 9 12:42:14 2002
@@ -11,9 +11,7 @@
*/
#include <linux/config.h>
-#if 0
#include <linux/module.h>
-#endif
#include <linux/types.h>
#include <linux/sched.h>
#include <linux/kernel.h>
@@ -1296,5 +1294,4 @@
unregister_netdev(&ipgre_fb_tunnel_dev);
}
-#endif
MODULE_LICENSE("GPL");
|