From owner-freebsd-current Sat Mar 15 05:11:11 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA23051 for current-outgoing; Sat, 15 Mar 1997 05:11:11 -0800 (PST) Received: from mail0.iij.ad.jp (mail0.iij.ad.jp [202.232.2.113]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA23046 for ; Sat, 15 Mar 1997 05:11:05 -0800 (PST) Received: from uucp2.iij.ad.jp (uucp2.iij.ad.jp [202.232.2.202]) by mail0.iij.ad.jp (8.8.5+2.7Wbeta5/3.5Wpl4-MAIL) with SMTP id WAA01375 for ; Sat, 15 Mar 1997 22:11:04 +0900 (JST) Received: (from uucp@localhost) by uucp2.iij.ad.jp (8.6.12+2.4W/3.3W9-UUCP) with UUCP id WAA26627 for current@freebsd.org; Sat, 15 Mar 1997 22:11:04 +0900 Received: from tyd1.tydfam.iijnet.or.jp (tyd1.tydfam.iijnet.or.jp [192.168.1.2]) by tydfam.iijnet.or.jp (8.8.5/3.4W2-uucp) with ESMTP id WAA07569 for ; Sat, 15 Mar 1997 22:09:04 +0900 (JST) Received: from localhost.tydfam.iijnet.or.jp (localhost.tydfam.iijnet.or.jp [127.0.0.1]) by tyd1.tydfam.iijnet.or.jp (8.8.5/3.4Wnomx) with SMTP id WAA00306 for ; Sat, 15 Mar 1997 22:09:03 +0900 (JST) Message-Id: <199703151309.WAA00306@tyd1.tydfam.iijnet.or.jp> X-Authentication-Warning: tyd1.tydfam.iijnet.or.jp: localhost.tydfam.iijnet.or.jp [127.0.0.1] didn't use HELO protocol To: current@freebsd.org Subject: Q) kernel source bug?? Reply-To: ken@tydfam.iijnet.or.jp X-Mailer: Mew version 1.52 on Emacs 19.34.2, Mule 2.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sat, 15 Mar 1997 22:09:02 +0900 From: Takeshi Yamada Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I succeded in 'make world' with 3.0-current (Mar. 15th, 0000GMT), but I can't compile kernel at least as follows. There seems two 'blksize' definitions under /sys/ufs. # make depend : : : : reg_compare.c ../../gnu/i386/fpemul/reg_constant.c ../../gnu/i386/fpemul/reg_ld_str.c ../../gnu/i386/fpemul/reg_mul.c swapkernel.c ioconf.c param.c vnode_if.c config.c ../../ufs/lfs/lfs_subr.c:74: macro `blksize' used with too many (3) args In file included from ../../ufs/lfs/lfs_vnops.c:229: ../../ufs/ufs/ufs_readwrite.c:110: macro `blksize' used with too many (3) args ../../ufs/ufs/ufs_readwrite.c:269: macro `blksize' used with too many (3) args mkdep: compile failed *** Error code 1 # find /usr/src/sys/ufs -print -exec egrep blksize \{\} \; : : : ./ffs/ffs_balloc.c osize = blksize(fs, ip, nb); ./ffs/ffs_inode.c size = blksize(fs, oip, lbn); bsize = blksize(fs, oip, i); oldspace = blksize(fs, oip, lastblock); newspace = blksize(fs, oip, lastblock); ./ffs/ffs_subr.c bsize = blksize(fs, ip, lbn); ./ffs/fs.h * information in the inode, using the ``blksize(fs, ip, lbn)'' macro. #define blksize(fs, ip, lbn) \ #define dblksize(fs, dip, lbn) \ ./lfs/lfs.h #define blksize(fs) ((fs)->lfs_bsize) ./lfs/lfs_inode.c size = blksize(fs); ./lfs/lfs_subr.c bsize = blksize(fs, ip, lbn); ./ufs/ufs_readwrite.c #define BLKSIZE(a, b, c) blksize(a, b, c) #define BLKSIZE(a, b, c) blksize(a, b, c)