Date: Fri, 27 Jan 2017 03:23:05 +0300 From: Alex Deiter <alex.deiter@gmail.com> To: Jung-uk Kim <jkim@FreeBSD.org> Cc: freebsd-current <freebsd-current@freebsd.org>, scottl@freebsd.org Subject: Re: Revision 312827 fatal error: 'opt_printf.h' file not found Message-ID: <6AB4C5D2-03DD-4766-9836-7DC513117558@gmail.com> In-Reply-To: <8b742699-09ac-899e-bcd6-69509517df99@FreeBSD.org> References: <61EB0DAA-70A1-4273-A64E-176D7B144D75@gmail.com> <8b742699-09ac-899e-bcd6-69509517df99@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Thank you! Alex Deiter alex.deiter@gmail.com > On 27 Jan 2017, at 03:22, Jung-uk Kim <jkim@FreeBSD.org> 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 <sys/cdefs.h> >> + >> +#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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6AB4C5D2-03DD-4766-9836-7DC513117558>