From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 11320 invoked from network); 7 Nov 1998 10:58:09 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 7 Nov 1998 10:58:09 -0000 Received: from rzcomm1.rz.tu-bs.de (root@rzcomm1.rz.tu-bs.de [134.169.9.107]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id FAA04696 for ; Sat, 7 Nov 1998 05:44:05 -0500 From: y0000218@rzrtr1.rz.tu-bs.de Received: from ppp393.ts.rz.tu-bs.de (ppp393.ts.rz.tu-bs.de [134.169.243.93]) by rzcomm1.rz.tu-bs.de (8.8.6/8.8.6) with ESMTP id LAA23822 for ; Sat, 7 Nov 1998 11:43:38 +0100 (MET) Received: from alpha.utopia (ppp393.ts.rz.tu-bs.de [192.168.0.1]) by ppp393.ts.rz.tu-bs.de (8.9.0/8.8.7) with ESMTP id HAA27842 for ; Sat, 7 Nov 1998 07:25:35 GMT Date: Sat, 7 Nov 1998 07:25:35 GMT Message-Id: <199811070725.HAA27842@ppp393.ts.rz.tu-bs.de> Subject: Kernel .126 compile problem - acct.c 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' 90 is: sb = acct_file->f_dentry->f_inode->i_sb; where static struct file *acct_file = NULL; where (fs.h) struct file { struct file *f_next, **f_pprev; struct dentry *f_dentry; struct file_operations *f_op; mode_t f_mode; loff_t f_pos; unsigned short f_count, f_flags; unsigned long f_reada, f_ramax, f_raend, f_ralen, f_rawin; struct fown_struct f_owner; unsigned long f_version; /* needed for tty driver, and maybe others */ void *private_data; }; Hmmmm, weird or am I blind? struct file is surrounded by a #ifdef __KERNEL__ but that is defined. Hints? Bear with me if i am dumb ;) olaf -- "The number of Unix installations Olaf Schnapauff, has grown to 10, with more expected." O.Schnapauff@tu-bs.de - The Unix Programmer's Manual,1972 http://www.tu-bs.de/~c0033014/ See Web page and keyservers for pgp public key