Messages in this thread Patch in this message | | | Date | Mon, 21 Feb 2000 01:18:00 -0500 | Subject | [patch] 2.3.47pre7 net/netsyms.c | From | Frank Davis <> |
| |
Hello, I received the following error while compiling 2.3.47pre7. The patch below should fix the problem(haven't recompiled yet), but is there a replacement symbol in its place? -Frank
The symbol in question was removed in 2.3.43: --- v2.3.42/linux/include/linux/netdevice.h Fri Jan 7 19:13:23 2000 +++ linux/include/linux/netdevice.h Wed Feb 9 21:34:14 2000 #ifdef CONFIG_NET_FASTROUTE extern int netdev_fastroute; extern int netdev_fastroute_obstacles; extern void dev_clear_fastroute(struct net_device *dev); -extern struct net_fastroute_stats dev_fastroute_stat; [2.3.47pre7 compile error (make bzImage) ] netsyms.c:511: `dev_fastroute_stat' undeclared here (not in a function) netsyms.c:511: initializer element for `__ksymtab_dev_fastroute_stat.value' is not constant make[2]: *** [netsyms.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.3.x/net' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/usr/src/linux-2.3.x/net' make: *** [_dir_net] Error 2
[patch against 2.3.47pre7]
--- net/netsyms.c.old Sun Feb 20 19:48:59 2000 +++ net/netsyms.c Sun Feb 20 19:49:20 2000 @@ -507,8 +507,6 @@ #endif EXPORT_SYMBOL(dev_ioctl); EXPORT_SYMBOL(dev_queue_xmit); -#ifdef CONFIG_NET_FASTROUTE -EXPORT_SYMBOL(dev_fastroute_stat); #endif #ifdef CONFIG_NET_HW_FLOWCONTROL EXPORT_SYMBOL(netdev_register_fc); - 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/
| |