lkml.org 
[lkml]   [1997]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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



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