Messages in this thread | | | Date | Thu, 17 Jul 1997 07:29:16 -0400 (EDT) | From | Myrdraal <> | Subject | <compile err> Re: Linux-2.1.45 - the Weasel is back.. |
| |
Hi, make[3]: Entering directory `/usr/src/AAGH/linux-2.1.45/drivers/char' gcc -D__KERNEL__ -I/linux/include -Wall -Wstrict-prototypes -O2 - -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 - -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o sysrq.o sysrq.c sysrq.c: In function `all_files_read_only': sysrq.c:157: structure has no member named `f_inode' sysrq.c:157: structure has no member named `f_inode' make[3]: *** [sysrq.o] Error 1 The fix for that is pretty simple. Edit drivers/char/sysrq.c, go to line 157, and change the two occurances of "file->f_inode" to "file->f_dentry->d_inode", and it will compile (and also appears to work for me.) BTW, 2.1.45 seems to do alot less thrashing during compiles and stuff then the other prepatches. It's nice to have a quiet compile again! :) Bye, Myrdraal
| |