shm.c:142: undeclared, 2.3.99.pre2

From: andy barlak (root@tosko.alm.com)
Date: Sun Mar 19 2000 - 19:54:49 EST


Get this when building 2.3.99 pre 2
2.3.99 pre 1 built and is runing well.
patched on top of pre1 with 2.3.99-pre2

make[2]: Entering directory `/apps/kern23/linux/ipc'
gcc -D__KERNEL__ -I/apps/kern23/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -pipe -DCPU=586 -march=i586
-fno-strict-aliasing -c -o util.o util.c
gcc -D__KERNEL__ -I/apps/kern23/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -pipe -DCPU=586 -march=i586
-fno-strict-aliasing -c -o msg.o msg.c
gcc -D__KERNEL__ -I/apps/kern23/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -pipe -DCPU=586 -march=i586
-fno-strict-aliasing -c -o sem.o sem.c
gcc -D__KERNEL__ -I/apps/kern23/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -pipe -DCPU=586 -march=i586
-fno-strict-aliasing -c -o shm.o shm.c
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[2]: Leaving directory `/apps/kern23/linux/ipc'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/apps/kern23/linux/ipc'
make: *** [_dir_ipc] Error 2

-------------------------------------------------------------------------------
 Andy Barlak

-
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 : Thu Mar 23 2000 - 21:00:28 EST