From owner-freebsd-current Tue Mar 26 21:16:06 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA20444 for current-outgoing; Tue, 26 Mar 1996 21:16:06 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id VAA20327 Tue, 26 Mar 1996 21:16:00 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id QAA15408; Wed, 27 Mar 1996 16:14:33 +1100 Date: Wed, 27 Mar 1996 16:14:33 +1100 From: Bruce Evans Message-Id: <199603270514.QAA15408@godzilla.zeta.org.au> To: fenner@parc.xerox.com, gibbs@freefall.freebsd.org Subject: Re: Whoops! My apologies!! Cc: current@FreeBSD.org Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk >>Use LINT instead. >I can't build LINT. I am sup'ing CVS from sup2, this is from a SUP at >SUP Upgrade of src-sys-cvs completed at Mar 26 10:24:07 1996 >I am trying to build a -current kernel on a -stable system; is this the >"cross-compiling" problem or is this really broken? > Bill >cc -c -O -m486 -pipe -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Winline -nostdinc -I. -I../.. -I../../sys -I/usr/include -DI386_CPU -DI486_CPU -DI586_CPU -DI686_CPU -DSCSI_2_DEF -DEXT2FS -DDEBUG -DPOWERFAIL_NMI -DPROBE_VERBOSE -DBREAK_TO_DEBUGGER -DDSI_SOFT_MODEM -DCOM_MULTIPORT -DCOM_ESP -DCOMCONSOLE -DPSM_NO_RESET -DFDSEEKWAIT=16 -DATAPI -DHARDFONTS -DPCVT_SCANSET=2 -DFAT_CURSOR -DXSERVER -DPCVT_FREEBSD=210 -DSCSIDEBUG -DNSWAPDEV=20 -DMFS_AUTOLOAD -DMFS_ROOT=10 -DDEVFS -DMSDOSFS -DMFS -DLFS -DCD9660 -DNQNFS -DNFS -DFFS -DTCPDEBUG -DIPFIREWALL_VERBOSE -DIPFIREWALL -DTCP_COMPAT_42 -DIPX_ERRPRINTFS=0 -DIPXPRINTFS=0 -DIPTUNNEL -DIPXIP -DIPX -DINET -DDIAGNOSTIC -DDDB_UNATTENDED -DCOMPAT_43 -DFAILSAFE -DKERNEL ../../ufs/lfs/lfs_segment.c >../../ufs/lfs/lfs_segment.c: In function `lfs_writefile': >../../ufs/lfs/lfs_segment.c:446: warning: assignment from incompatible pointer type >... It's been broken for > 2 weeks :-(. The fix is trivial: *** lfs.h~ Wed May 31 21:06:58 1995 --- lfs.h Wed Mar 13 14:24:10 1996 *************** *** 80,84 **** u_long fi_version; /* version number */ u_long fi_ino; /* inode number */ ! long fi_blocks[1]; /* array of logical block numbers */ }; --- 80,84 ---- u_long fi_version; /* version number */ u_long fi_ino; /* inode number */ ! daddr_t fi_blocks[1]; /* array of logical block numbers */ }; Bruce