Date: Thu, 6 Mar 1997 22:06:40 -0500 From: "Kenneth R. Westerback" <westerback@smh.toronto.on.ca> To: <freebsd-current@freebsd.org> Subject: make world (2796) fails in fsck Message-ID: <199703070309.WAA21154@titan.tcn.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703070309.WAA21154>