Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mv -f $depbase.Tpo $depbase.Po
- In file included from lib/tcti/tpm2_tools_tcti_socket.c:39:0:
- ./lib/tpm2_util.h:46:0: error: "TPM2B_INIT" redefined [-Werror]
- #define TPM2B_INIT(xsize) { .t = { .size = xsize, }, }
- In file included from /usr/include/sapi/tpm20.h:42:0,
- from /usr/include/tcti/tcti_socket.h:35,
- from lib/tcti/tpm2_tools_tcti_socket.c:34:
- /usr/include/sapi/tpmb.h:75:0: note: this is the location of the previous definition
- #define TPM2B_INIT(TYPE, name) \
- In file included from lib/files.c:38:0:
- lib/tpm2_util.h:46:0: error: "TPM2B_INIT" redefined [-Werror]
- #define TPM2B_INIT(xsize) { .t = { .size = xsize, }, }
- In file included from /usr/include/sapi/tpm20.h:42:0,
- from lib/files.h:37,
- from lib/files.c:36:
- /usr/include/sapi/tpmb.h:75:0: note: this is the location of the previous definition
- #define TPM2B_INIT(TYPE, name) \
- In file included from lib/pcr.c:40:0:
- lib/tpm2_util.h:46:0: error: "TPM2B_INIT" redefined [-Werror]
- #define TPM2B_INIT(xsize) { .t = { .size = xsize, }, }
- In file included from /usr/include/sapi/tpm20.h:42:0,
- from lib/pcr.c:35:
- /usr/include/sapi/tpmb.h:75:0: note: this is the location of the previous definition
- #define TPM2B_INIT(TYPE, name) \
- cc1: all warnings being treated as errors
- In file included from lib/tcti/tpm2_tools_tcti_device.c:39:0:
- ./lib/tpm2_util.h:46:0: error: "TPM2B_INIT" redefined [-Werror]
- #define TPM2B_INIT(xsize) { .t = { .size = xsize, }, } [0/1733]
- In file included from /usr/include/sapi/tpm20.h:42:0,
- from lib/tcti/tpm2_tools_tcti_device.c:34:
- /usr/include/sapi/tpmb.h:75:0: note: this is the location of the previous definition
- #define TPM2B_INIT(TYPE, name) \
- make: *** [Makefile:1836: lib/tcti/tpm2_tools_tcti_socket.o] Error 1
- make: *** Waiting for unfinished jobs....
- cc1: all warnings being treated as errors
- make: *** [Makefile:1836: lib/tcti/tpm2_tools_tcti_device.o] Error 1
- In file included from lib/tpm2_alg_util.c:41:0:
- lib/tpm2_util.h:46:0: error: "TPM2B_INIT" redefined [-Werror]
- #define TPM2B_INIT(xsize) { .t = { .size = xsize, }, }
- In file included from /usr/include/sapi/tpm20.h:42:0,
- from lib/tpm2_alg_util.c:35:
- /usr/include/sapi/tpmb.h:75:0: note: this is the location of the previous definition
- #define TPM2B_INIT(TYPE, name) \
- lib/tpm2_alg_util.c: In function ‘tpm2_alg_util_for_each_alg’:
- lib/tpm2_alg_util.c:53:32: error: ‘TPM_ALG_SHA’ undeclared (first use in this function); did you mean ‘TPM_ALG_SHA1’?
- { .name = "sha", .id = TPM_ALG_SHA },
- ^~~~~~~~~~~
- TPM_ALG_SHA1
- lib/tpm2_alg_util.c:53:32: note: each undeclared identifier is reported only once for each function it appears in
- lib/tpm2_alg_util.c:75:34: error: ‘TPM_ALG_ECMQV’ undeclared (first use in this function); did you mean ‘TPM_ALG_ECB’?
- { .name = "ecmqv", .id = TPM_ALG_ECMQV },
- ^~~~~~~~~~~~~
- TPM_ALG_ECB
- lib/tpm2_alg_util.c:77:33: error: ‘TPM_ALG_KDF2’ undeclared (first use in this function); did you mean ‘TPMI_ALG_KDF’?
- { .name = "kdf2", .id = TPM_ALG_KDF2 },
- ^~~~~~~~~~~~
- TPMI_ALG_KDF
- lib/tpm2_alg_util.c:81:37: error: ‘TPM_ALG_CAMELLIA’ undeclared (first use in this function); did you mean ‘ALG_CAMELLIA’?
- { .name = "camellia", .id = TPM_ALG_CAMELLIA },
- ^~~~~~~~~~~~~~~~
- ALG_CAMELLIA
- lib/tpm2_alg_util.c:82:37: error: ‘TPM_ALG_SHA3_256’ undeclared (first use in this function); did you mean ‘TPM_ALG_SHA256’?
- { .name = "sha3_256", .id = TPM_ALG_SHA3_256 },
- ^~~~~~~~~~~~~~~~
- TPM_ALG_SHA256
- lib/tpm2_alg_util.c:83:37: error: ‘TPM_ALG_SHA3_384’ undeclared (first use in this function); did you mean ‘TPM_ALG_SHA384’?
- { .name = "sha3_384", .id = TPM_ALG_SHA3_384 },
- ^~~~~~~~~~~~~~~~
- TPM_ALG_SHA384
- lib/tpm2_alg_util.c:84:37: error: ‘TPM_ALG_SHA3_512’ undeclared (first use in this function); did you mean ‘TPM_ALG_SHA512’?
- { .name = "sha3_512", .id = TPM_ALG_SHA3_512 },
- ^~~~~~~~~~~~~~~~
- TPM_ALG_SHA512
- cc1: all warnings being treated as errors
- cc1: all warnings being treated as errors
- make: *** [Makefile:1836: lib/pcr.o] Error 1
- make: *** [Makefile:1836: lib/tpm2_alg_util.o] Error 1
- cc1: all warnings being treated as errors
- make: *** [Makefile:1836: lib/files.o] Error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement