shm.c compile failure

From: Mitch Adair (mitch@acan.net)
Date: Sun Mar 19 2000 - 15:53:43 EST

  • Next message: Martin Smith: "2.3.99-pre1 lockup, smbfs maybe?, repeatable"

    2.3.99-pre2 gives this when I compiled:

    <<<<<>>>>>
    shm.c:142: `THIS_MODULE' undeclared here (not in a function)
    shm.c:142: initializer element for `shm_fs_type.owner' is not constant
    make[2]: *** [shm.o] Error 1
    make[1]: *** [first_rule] Error 2
    make: *** [_dir_ipc] Error 2
    Command exited with non-zero status 2
    <<<<<>>>>>

    This makes it compile:

    --- shm.c~ Sun Mar 19 14:19:12 2000
    +++ shm.c Sun Mar 19 14:38:40 2000
    @@ -42,6 +42,7 @@
     #include <linux/pagemap.h>
     #include <linux/proc_fs.h>
     #include <linux/highmem.h>
    +#include <linux/module.h>
     
     #include <asm/uaccess.h>
     #include <asm/pgtable.h>

    I can't say if it's right (or even boots as it just bombed out in fs/fs.o on
    `ide_xlate_1024'....)

    Mitch

    -
    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/



    This archive was generated by hypermail 2b29 : Sun Mar 19 2000 - 16:31:27 EST