From owner-freebsd-current@freebsd.org Fri Jan 27 00:22:11 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7888BCC3238 for ; Fri, 27 Jan 2017 00:22:11 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) by mx1.freebsd.org (Postfix) with ESMTP id 10C81E11; Fri, 27 Jan 2017 00:22:10 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Subject: Re: Revision 312827 fatal error: 'opt_printf.h' file not found To: Alex Deiter , freebsd-current References: <61EB0DAA-70A1-4273-A64E-176D7B144D75@gmail.com> Cc: scottl@freebsd.org From: Jung-uk Kim Message-ID: <8b742699-09ac-899e-bcd6-69509517df99@FreeBSD.org> Date: Thu, 26 Jan 2017 19:22:10 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <61EB0DAA-70A1-4273-A64E-176D7B144D75@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Fri, 27 Jan 2017 00:22:11 -0000 On 01/26/2017 19:17, Alex Deiter wrote: > Hello, > > patch: > > Index: sys/cam/cam_xpt.h > =================================================================== > --- sys/cam/cam_xpt.h (revision 312851) > +++ sys/cam/cam_xpt.h (working copy) > @@ -33,7 +33,10 @@ > #define _CAM_CAM_XPT_H 1 > > #include > + > +#ifdef _KERNEL > #include "opt_printf.h" > +#endif /* _KERNEL */ > > Please take a look at the rev 312827: > > --- scsi_da.o --- > cc -target x86_64-unknown-freebsd12.0 --sysroot=/export/freebsd/obj/export/freebsd/src/tmp -B/export/freebsd/obj/export/freebsd/src/tmp/usr/bin -O2 -pipe -I/export/freebsd/src/lib/libcam -I/export/freebsd/src/sys -DNDEBUG -MD -MF.depend.scsi_da.o -MTscsi_da.o -std=gnu99 -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -c /export/freebsd/src/sys/cam/scsi/scsi_da.c -o scsi_da.o > --- scsi_all.o --- > In file included from /export/freebsd/src/sys/cam/scsi/scsi_all.c:59: > /export/freebsd/src/sys/cam/cam_xpt.h:36:10: fatal error: 'opt_printf.h' file not found > #include "opt_printf.h" I committed a fix already (r312852). Jung-uk Kim