From owner-freebsd-current@freebsd.org Fri Jan 27 00:23:08 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 C2E46CC3303 for ; Fri, 27 Jan 2017 00:23:08 +0000 (UTC) (envelope-from alex.deiter@gmail.com) Received: from mail-lf0-x243.google.com (mail-lf0-x243.google.com [IPv6:2a00:1450:4010:c07::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 600D4FA5; Fri, 27 Jan 2017 00:23:08 +0000 (UTC) (envelope-from alex.deiter@gmail.com) Received: by mail-lf0-x243.google.com with SMTP id h65so24793896lfi.3; Thu, 26 Jan 2017 16:23:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=pJHxiFswIF9m1HXZoQrFU5lJF+wHzaxCTs64M38MaF4=; b=NUB0QMaGWy4LEFcPXBrVCjYHtujLlfPmCCWwAAue9EWeypcZq2u25aayifFTpGJySy fvyZ/w+oeqkVedtwJOea0wnCm1eANj2FX3d59voUjxq628KQ6As34idXCsYr57WfgeEG nQL903tBByLirE7VRgDXsitsHlDKHxa32szE6Jm1ri3g0ZyDHv9yCWyw/JPBs4n1hfYF VI3F32bBHObVAdvSW/c7YXtgBv44o5JLUKeDdeFxQqF4fgsNjLIBaQGDQ3fTcZFuWV8X Xt5843UJnZ+bp//x3dEEAsF9epRxslKp2XAE9fZkV2ag/FMF7qOvwQTYA3JkX44bEqu2 TuCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=pJHxiFswIF9m1HXZoQrFU5lJF+wHzaxCTs64M38MaF4=; b=ghhAwKoPhgqEuFXzGneq8YbPyhUTnpNpdLy+/ujod15algJQ5GrNIFRYVxwya763jz KHsHGWqS/qtFXjl0x4UCcfrHFfJrxgDYphHB7dhfgLIW9zAgyVn4jc97kbv28RcRLPrA Kzxce+t6fObyR6sd1i30egPV4H9DY2EkXTIsCvNMm5V8Nnjix68kTfry+wawzRvKtA2N y028ND2c4TQDfUinDPuo4oQtDqwLOf6OEbixfKu+TnBV391kb0uCB4xM/7LYNWi/eyA1 aDZEahJHrZkXIePp48odiikg7N1jLGijs8bci8CHPHO9Wz5NsaY1qIcB2SOUfiWP/mQO eqBw== X-Gm-Message-State: AIkVDXK4UcqJ5aoq3FlDqo19pJrUCdesJfZfNpCjpziKZ15Esoeb+aO7ICyYv8+mb/jSJw== X-Received: by 10.25.92.145 with SMTP id u17mr1516273lfi.160.1485476586184; Thu, 26 Jan 2017 16:23:06 -0800 (PST) Received: from tiamat.deiter.ru ([109.167.157.231]) by smtp.gmail.com with ESMTPSA id v26sm871858ljd.9.2017.01.26.16.23.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Jan 2017 16:23:05 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Re: Revision 312827 fatal error: 'opt_printf.h' file not found From: Alex Deiter In-Reply-To: <8b742699-09ac-899e-bcd6-69509517df99@FreeBSD.org> Date: Fri, 27 Jan 2017 03:23:05 +0300 Cc: freebsd-current , scottl@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <6AB4C5D2-03DD-4766-9836-7DC513117558@gmail.com> References: <61EB0DAA-70A1-4273-A64E-176D7B144D75@gmail.com> <8b742699-09ac-899e-bcd6-69509517df99@FreeBSD.org> To: Jung-uk Kim X-Mailer: Apple Mail (2.3259) 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:23:08 -0000 Hello, Thank you! Alex Deiter alex.deiter@gmail.com > On 27 Jan 2017, at 03:22, Jung-uk Kim wrote: >=20 > On 01/26/2017 19:17, Alex Deiter wrote: >> Hello, >>=20 >> patch: >>=20 >> Index: sys/cam/cam_xpt.h >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> --- sys/cam/cam_xpt.h (revision 312851) >> +++ sys/cam/cam_xpt.h (working copy) >> @@ -33,7 +33,10 @@ >> #define _CAM_CAM_XPT_H 1 >>=20 >> #include >> + >> +#ifdef _KERNEL >> #include "opt_printf.h" >> +#endif /* _KERNEL */ >>=20 >> Please take a look at the rev 312827: >>=20 >> --- scsi_da.o --- >> cc -target x86_64-unknown-freebsd12.0 = --sysroot=3D/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=3Dgnu99 = -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" >=20 > I committed a fix already (r312852). >=20 > Jung-uk Kim