Date: Fri, 06 Apr 2018 12:58:21 +0000 From: bugzilla-noreply@freebsd.org To: stable@FreeBSD.org Subject: [Bug 227322] [patch] [iicbus] sys/modules/i2c/iicbus cannot be built outside of kernel build environment Message-ID: <bug-227322-1689@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227322 Bug ID: 227322 Summary: [patch] [iicbus] sys/modules/i2c/iicbus cannot be built outside of kernel build environment Product: Base System Version: 11.1-STABLE Hardware: Any OS: Any Status: New Keywords: easy, patch-ready Severity: Affects Some People Priority: --- Component: kern Assignee: ian@FreeBSD.org Reporter: eugen@freebsd.org CC: stable@FreeBSD.org Created attachment 192285 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D192285&action= =3Dedit The fix # cd /usr/src/sys/modules/i2c/iicbus && make cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc= =20=20 -I. -I/home/src/sys -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MF.depend.iic_recover_bus.o -MTiic_recover_bus.o -mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototy= pes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-comp= are -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-error-address-of-packed-member -mno-a= es -mno-avx -std=3Diso9899:1999 -c /home/src/sys/dev/iicbus/iic_recover_bus.c= -o iic_recover_bus.o /home/src/sys/dev/iicbus/iic_recover_bus.c:49:10: fatal error: 'opt_platfor= m.h' file not found #include "opt_platform.h" ^~~~~~~~~~~~~~~~ 1 error generated. *** Error code 1 --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227322-1689>