Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/ufs



On Tue, Dec 11, 2007 at 10:11:24PM -0500, Jared D. McNeill wrote:
  | On Wed, 12 Dec 2007, Luke Mewburn wrote:
  | >Log Message:
  | >defflag LFS_KERNEL_RFW (in opt_lfs.h).
  | >Note: lfs_rfw.c doesn't compile if you define the option; locking API 
  | >fallout?
  | 
  | On -current amd64:
  | 
  | ../../../../ufs/lfs/lfs_rfw.c: In function 'lfs_rf_valloc':
  | ../../../../ufs/lfs/lfs_rfw.c:134: error: too many arguments to function 
  | 'lfs_truncate'
  | ../../../../ufs/lfs/lfs_rfw.c: In function 'update_inoblk':
  | ../../../../ufs/lfs/lfs_rfw.c:344: error: too many arguments to function 
  | 'lfs_truncate'
  | cc1: warnings being treated as errors
  | ../../../../ufs/lfs/lfs_rfw.c: In function 'check_segsum':
  | ../../../../ufs/lfs/lfs_rfw.c:472: warning: pointer of type 'void *' used 
  | in arithmetic
  | ../../../../ufs/lfs/lfs_rfw.c:472: warning: pointer of type 'void *' used 
  | in arithmetic
  | ../../../../ufs/lfs/lfs_rfw.c:476: warning: pointer of type 'void *' used 
  | in arithmetic
  | ../../../../ufs/lfs/lfs_rfw.c:492: warning: pointer of type 'void *' used 
  | in arithmetic
  | *** Error code 1

Yes; that file has been broken for a while.

Prior to my change, the .o file was being compiled with 0 contents.
Now it won't be compiled at all unless LFS_KERNEL_RFW is defined
in your kernel config.

Maybe there's some stale files left around in your kernel build
directory.  Did you rerun config(1) first?

Attachment: pgphapQD09Ygk.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index