Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 1996 16:14:33 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        fenner@parc.xerox.com, gibbs@freefall.freebsd.org
Cc:        current@FreeBSD.org
Subject:   Re: Whoops! My apologies!!
Message-ID:  <199603270514.QAA15408@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help

>>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603270514.QAA15408>