Messages in this thread Patch in this message | | | From | Mitch Adair <> | Subject | shm.c compile failure | Date | Sun, 19 Mar 2000 14:53:43 -0600 (CST) |
| |
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/
| |