Messages in this thread Patch in this message | | | Date | Thu, 29 Oct 1998 17:16:07 GMT | From | "Stephen C. Tweedie" <> | Subject | Re: 2.1.126 + syctl w/o network |
| |
Hi,
On Sun, 25 Oct 1998 15:48:46 -0700, Ross Combs <rocombs@cs.nmsu.edu> said:
> I configured a kernel without network support and with sysctl > support and got undefined references to the following symbols > in net/core/sysctl_net_core.c: > netdev_max_backlog net_msg_cost net_msg_burst
> I commented out the extern declarations and the tables entries > that used them and things seem to be ok.
Fine, 2.1.127-pre3 compiles and boots without complaint with this patch.
--Stephen ---------------------------------------------------------------- --- net/core/sysctl_net_core.c~ Sun Oct 4 18:19:39 1998 +++ net/core/sysctl_net_core.c Thu Oct 29 17:01:04 1998 @@ -25,6 +25,7 @@ extern int sysctl_optmem_max; ctl_table core_table[] = { +#ifdef CONFIG_NET {NET_CORE_WMEM_MAX, "wmem_max", &sysctl_wmem_max, sizeof(int), 0644, NULL, &proc_dointvec}, @@ -54,6 +55,7 @@ {NET_CORE_OPTMEM_MAX, "optmem_max", &sysctl_optmem_max, sizeof(int), 0644, NULL, &proc_dointvec}, +#endif { 0 } }; #endif - 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/
| |