From: Peter Rye <prye@picu-sgh.demon.co.uk>
To: flap@germinal.toulouse.inra.fr
Cc: axp-list@redhat.com
Subject: Re: Kernel .126 compile problem - acct.c
Date: 10 Nov 1998 07:42:19 -0000 [thread overview]
Message-ID: <19981110074219.8620.qmail@picu-sgh.demon.co.uk> (raw)
In-Reply-To: <98110909525900.20121@germinal> (message from Francois LAPERRUQUE on Mon, 9 Nov 1998 09:52:24 +0100)
>>>>> "Francois" == Francois LAPERRUQUE <flap@germinal.toulouse.inra.fr> writes:
Francois> On Sat, 07 Nov 1998, y0000218@rzrtr1.rz.tu-bs.de wrote:
>> Hi,
>>
>> as I havent seen it on the list (Sorry if it was here):
>>
>> gcc -D__KERNEL__ -I/tmp/olaf/linux/include -Wall -Wstrict-prototypes
>> -O2 -g -pipe -mno-fp-regs -ffixed-8 -c -o acct.o acct.c acct.c: In
>> function `check_free_space': acct.c:90: structure has no member
>> named `f_inode' acct.c:85: warning: `sb' might be used uninitialized
>> in this function make[2]: *** [acct.o] Error 1 make[2]: Leaving
>> directory `/tmp/olaf/linux/kernel'
>>
Francois> I have the same problem whith egcs on my SX164... --
It's nothing to do with egcs. If you look through the source you'll see
that it's a simple typo. Here's a patch for this problem and for a problem
with the sound driver.
2.1.127 is out now, but unfortunately bombs on boot with an unaligned
access (well it does here anyway).
--- linux/kernel/acct.c.orig Sat Oct 24 22:00:01 1998
+++ linux/kernel/acct.c Sat Oct 24 22:00:17 1998
@@ -87,7 +87,7 @@
if (!acct_file || !acct_needcheck)
return;
- sb = acct_file->f_dentry->f_inode->i_sb;
+ sb = acct_file->f_dentry->d_inode->i_sb;
if (!sb->s_op || !sb->s_op->statfs)
return;
--- linux/include/linux/soundcard.h.orig Mon Oct 26 23:39:05 1998
+++ linux/include/linux/soundcard.h Mon Oct 26 23:46:42 1998
@@ -771,6 +771,9 @@
#define SOUND_MIXER_CAPS 0xfc
# define SOUND_CAP_EXCL_INPUT 0x00000001 /* Only one recording source at a time */
#define SOUND_MIXER_STEREODEVS 0xfb /* Mixer channels supporting stereo */
+#define SOUND_MIXER_OUTSRC 0xfa /* Arg contains a bit for each input source to output */
+#define SOUND_MIXER_OUTMASK 0xf9 /* Arg contains a bit for each supported input source to output */
+
/* Device mask bits */
prev parent reply other threads:[~1998-11-10 10:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-11-07 7:25 Kernel .126 compile problem - acct.c y0000218
1998-11-07 19:54 ` Michal Jaegermann
1998-11-11 0:50 ` LX164 Eide motherboard DMA? savages
1998-11-11 2:43 ` Greg Johnson
1998-11-12 16:22 ` Adam C. Powell, IV
1998-11-11 2:47 ` Wes Bauske
1998-11-09 8:52 ` Kernel .126 compile problem - acct.c Francois LAPERRUQUE
1998-11-09 9:33 ` dmcgown
1998-11-09 10:38 ` Matthew Geier
1998-11-10 7:42 ` Peter Rye [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox