From owner-freebsd-current Thu Mar 6 19:07:03 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA05509 for current-outgoing; Thu, 6 Mar 1997 19:07:03 -0800 (PST) Received: from titan.tcn.net (root@titan.tcn.net [199.166.4.2]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id TAA05481 for ; Thu, 6 Mar 1997 19:06:57 -0800 (PST) Received: from the_brain (Pkrw.tcn.net [199.166.4.58]) by titan.tcn.net (8.6.12/8.6.9) with ESMTP id WAA21154 for ; Thu, 6 Mar 1997 22:09:07 -0500 Message-Id: <199703070309.WAA21154@titan.tcn.net> From: "Kenneth R. Westerback" To: Subject: make world (2796) fails in fsck Date: Thu, 6 Mar 1997 22:06:40 -0500 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1160 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I just downloaded the src-cur.2700A and subsequent deltas (up to 2796) to try and compile up FreeBSD current. When I install the subsequent tree as /usr/src and start 'make world' in /usr/src I eventually get the messages: ===> sbin/fsck cc -O -c /usr/src/sbin/fsck/dir.c cc -O -c /usr/src/sbin/fsck/inode.c /usr/src/sbin/fsck/inode.c: In function 'pinode': /usr/src/sbin/fsck/inode.c: 517: request for member 'tv_sec' in something not a structure or union /usr/src/sbin/fsck/inode:c: In function 'allocino': /usr/src/sbin/fsck/inode: 588: request for member 'tv_sec' in something not a structure or union *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. line 517 is 'p = ctime(&dp->di_mtime.tv_sec);' line 588 is '(void)time(&dp->di_atime.tv_sec);' where dp is a dnode pointer. Looking in /usr/src/sys/ufs/ufs/dinode.h I see that dinode.di_mtime and .di_atime are declared as int32_t so I guess the compiler has legitimate beef. I commented out the .tv_sec in both cases and I am trying another make world to see if anything else fails. If the make works is fsck safe to use with this change? I just subscribed to current and cvs-all so if this is an already known/fixed problem I'm afraid I didn't get the message. Help? ---- Ken