While doing make of tpm I got the following error:
tpm_structures.h:50:2: error: #error "Must define either TPM_POSIX or TPM_WINDOWS"
tpm_structures.h:54:2: error: #error "Must define either TPM_NV_XCRYPTO_FLASH or TPM_NV_DISK"
tpm_structures.h:88:2: error: #error "Must define either TPM_V12 or TPM_V11"
tpm_structures.h:100:2: error: #error "Must define either TPM_DES or TPM_AES"
Where to define them?
Define them in your makefile. E.g. for gcc: -DTPM_POSIX. The README describes the macros. It also describes several sample makefiles that are included in the tarball.
Got it thanks. I was using the makefile-common where these were missing, while others work.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.