Date: Wed, 10 Jul 2019 19:19:39 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 239120] [patch] [tpm] sys/modules/tpm cannot be built outside of kernel build environment Message-ID: <bug-239120-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239120 Bug ID: 239120 Summary: [patch] [tpm] sys/modules/tpm cannot be built outside of kernel build environment Product: Base System Version: 11.3-STABLE Hardware: Any OS: Any Status: New Keywords: easy, patch Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: eugen@freebsd.org CC: mw@FreeBSD.org Created attachment 205670 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=205670&action=edit proposed fix For FreeBSD 11.3-STABLE (r349872): # cd /usr/src/sys/modules/tpm # make [skip] cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I/usr/src/sys -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MF.depend.tpm20.o -MTtpm20.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -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-aes -mno-avx -std=iso9899:1999 -c /usr/src/sys/dev/tpm/tpm20.c -o tpm20.o In file included from /usr/src/sys/dev/tpm/tpm20.c:33: /usr/src/sys/dev/tpm/tpm20.h:58:10: fatal error: 'opt_tpm.h' file not found #include "opt_tpm.h" ^~~~~~~~~~~ 1 error generated. *** Error code 1 -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239120-227>
