Messages in this thread | | | Date | Thu, 23 Mar 2000 13:35:20 +0100 | From | Thierry Vignaud <> | Subject | Re: 2.3.99-pre2: error in make bzImage @ ipc/shm.c |
| |
Alexandre Hautequest wrote: > > make[2]: Entering directory `/usr/src/linux-2.3.99-pre2/ipc' > gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer > -pipe -mpreferred-stack-boundary=2 -DCPU=586 -march=k6 -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 is not constant > shm.c:142: (near initialization for `shm_fs_type.owner') > make[2]: *** [shm.o] Error 1 > make[2]: Leaving directory `/usr/src/linux-2.3.99-pre2/ipc' > make[1]: *** [first_rule] Error 2 > make[1]: Leaving directory `/usr/src/linux-2.3.99-pre2/ipc' > make: *** [_dir_ipc] Error 2
add a '#include <linux/modules.h>' just before the first '#include <asm/...'
- 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/
| |