From owner-freebsd-current@freebsd.org Sat Jan 27 17:32:21 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6CA00ECD28C for ; Sat, 27 Jan 2018 17:32:21 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D86F871C2E for ; Sat, 27 Jan 2018 17:32:20 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id w0RHWGFd010465; Sat, 27 Jan 2018 09:32:16 -0800 (PST) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id w0RHWFlu010464; Sat, 27 Jan 2018 09:32:15 -0800 (PST) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201801271732.w0RHWFlu010464@pdx.rh.CN85.dnsmgr.net> Subject: Re: Kernel build error In-Reply-To: To: Per Gunnarsson Date: Sat, 27 Jan 2018 09:32:15 -0800 (PST) CC: freebsd-current@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Mailman-Approved-At: Sat, 27 Jan 2018 18:49:23 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jan 2018 17:32:21 -0000 [ Charset UTF-8 unsupported, converting... ] > Hello! > > I am trying to build the kernel with revision 328463. > > It halts with this error: > > /usr/src/sys/cam/scsi/scsi_da.c:1514:9: error: 'CAM_PERIPH_PRINT' macro > redefined [-Werror,-Wmacro-redefined] > #define CAM_PERIPH_PRINT(p, msg, args...) > ??????? ^ > /usr/src/sys/cam/cam_periph.h:263:9: note: previous definition is here > #define CAM_PERIPH_PRINT(p, msg, args...)?????????????????????????????? \ > ??????? ^ > 1 error generated. > *** Error code 1 > > Stop. > make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/GENERIC > *** Error code 1 > > Stop. > make[1]: stopped in /usr/src > *** Error code 1 > > Stop. > make: stopped in /usr/src > > Regards, > > Per Gunnarsson Fixed in https://svnweb.freebsd.org/changeset/base/328464 -- Rod Grimes rgrimes@freebsd.org