lkml.org 
[lkml]   [2000]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subjectshm.c compile failure
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.031 / U:0.708 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site