Messages in this thread | | | Date | Tue, 21 Mar 2000 16:56:46 -0500 | From | Jeff Dubrule <> | Subject | Compile problem |
| |
I ran into trouble compiling ipc/shm.c, as THIS_MODULE was not defined. This was being used by:
static DECLARE_FSTYPE(shm_fs_type, "shm", shm_read_super, 0);
This macro, which uses THIS_MODULE, is defined in include/linux/fs.h, but THIS_MODULE is in include/linux/module.h, which isn't included by either fs.h or shm.c.
Adding #include <linux/module.h> to fs.h fixed the problem.
-igor (please CC me on replies)
- 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/
| |