lkml.org 
[lkml]   [1998]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectPromised patch 2.1.108
    Hello everybody!

    Here is the patch for 2.1.108, which I promised Alan Cox.
    It fixes the compilation of UDP without aby other networking options.
    The only weak point I see is that the 802 depends now on CONFIG_INET=y.
    But supposedly this shouldn't matter, since it wasn't possible to compile
    it wihtout this option enable until now anyway.

    The second problem I fixed is the compilation in the case that You
    disabled the whole sysctl interface.

    Best luck....

    =========================================================================
    In real life: System Programmer at AIS AXON GmbH
    diff -ur linux-2.1.108/drivers/net/Makefile linux/drivers/net/Makefile
    --- linux-2.1.108/drivers/net/Makefile Sun Jun 28 18:42:16 1998
    +++ linux/drivers/net/Makefile Tue Jul 7 20:16:47 1998
    @@ -37,7 +37,7 @@
    endif
    endif

    -ifeq ($(CONFIG_NET),y)
    +ifeq ($(CONFIG_INET),y)
    L_OBJS += Space.o net_init.o loopback.o
    endif

    diff -ur linux-2.1.108/fs/proc/procfs_syms.c linux/fs/proc/procfs_syms.c
    --- linux-2.1.108/fs/proc/procfs_syms.c Sun Jun 28 18:42:19 1998
    +++ linux/fs/proc/procfs_syms.c Tue Jul 7 20:28:20 1998
    @@ -13,7 +13,9 @@
    extern struct inode_operations proc_scsi_inode_operations;
    extern struct proc_dir_entry proc_sys_root;

    +#ifdef CONFIG_SYSCTL
    EXPORT_SYMBOL(proc_sys_root);
    +#endif
    EXPORT_SYMBOL(proc_register);
    EXPORT_SYMBOL(proc_unregister);
    EXPORT_SYMBOL(create_proc_entry);
    diff -ur linux-2.1.108/net/Makefile linux/net/Makefile
    --- linux-2.1.108/net/Makefile Sun Nov 30 23:00:39 1997
    +++ linux/net/Makefile Tue Jul 7 20:14:10 1998
    @@ -13,7 +13,7 @@
    SUB_DIRS := core ethernet sched
    MOD_LIST_NAME := NET_MISC_MODULES

    -ifeq ($(CONFIG_NET),y)
    +ifeq ($(CONFIG_INET),y)
    SUB_DIRS += 802
    endif

    @@ -144,7 +144,7 @@
    # to pull the object file from the archive.

    SOCK := socket.o
    -ifeq ($(CONFIG_NET),y)
    +ifeq ($(CONFIG_INET),y)
    ifeq ($(CONFIG_MODULES),y)
    O_TARGET := sock_n_syms.o
    O_OBJS := socket.o
    diff -ur linux-2.1.108/net/core/Makefile linux/net/core/Makefile
    --- linux-2.1.108/net/core/Makefile Mon May 4 22:39:04 1998
    +++ linux/net/core/Makefile Tue Jul 7 20:18:29 1998
    @@ -19,7 +19,7 @@
    O_OBJS += filter.o
    endif

    -ifdef CONFIG_NET
    +ifdef CONFIG_INET

    O_OBJS += dev.o dev_mcast.o dst.o neighbour.o rtnetlink.o utils.o
    \
     
     \ /
      Last update: 2005-03-22 13:43    [W:0.020 / U:30.636 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site