Advertisement
Guest User

Untitled

a guest
Sep 26th, 2017
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.05 KB | None | 0 0
  1. mv -f $depbase.Tpo $depbase.Po
  2. In file included from lib/tcti/tpm2_tools_tcti_socket.c:39:0:
  3. ./lib/tpm2_util.h:46:0: error: "TPM2B_INIT" redefined [-Werror]
  4. #define TPM2B_INIT(xsize) { .t = { .size = xsize, }, }
  5.  
  6. In file included from /usr/include/sapi/tpm20.h:42:0,
  7. from /usr/include/tcti/tcti_socket.h:35,
  8. from lib/tcti/tpm2_tools_tcti_socket.c:34:
  9. /usr/include/sapi/tpmb.h:75:0: note: this is the location of the previous definition
  10. #define TPM2B_INIT(TYPE, name) \
  11.  
  12. In file included from lib/files.c:38:0:
  13. lib/tpm2_util.h:46:0: error: "TPM2B_INIT" redefined [-Werror]
  14. #define TPM2B_INIT(xsize) { .t = { .size = xsize, }, }
  15.  
  16. In file included from /usr/include/sapi/tpm20.h:42:0,
  17. from lib/files.h:37,
  18. from lib/files.c:36:
  19. /usr/include/sapi/tpmb.h:75:0: note: this is the location of the previous definition
  20. #define TPM2B_INIT(TYPE, name) \
  21.  
  22. In file included from lib/pcr.c:40:0:
  23. lib/tpm2_util.h:46:0: error: "TPM2B_INIT" redefined [-Werror]
  24. #define TPM2B_INIT(xsize) { .t = { .size = xsize, }, }
  25.  
  26. In file included from /usr/include/sapi/tpm20.h:42:0,
  27. from lib/pcr.c:35:
  28. /usr/include/sapi/tpmb.h:75:0: note: this is the location of the previous definition
  29. #define TPM2B_INIT(TYPE, name) \
  30.  
  31. cc1: all warnings being treated as errors
  32. In file included from lib/tcti/tpm2_tools_tcti_device.c:39:0:
  33. ./lib/tpm2_util.h:46:0: error: "TPM2B_INIT" redefined [-Werror]
  34. #define TPM2B_INIT(xsize) { .t = { .size = xsize, }, } [0/1733]
  35.  
  36. In file included from /usr/include/sapi/tpm20.h:42:0,
  37. from lib/tcti/tpm2_tools_tcti_device.c:34:
  38. /usr/include/sapi/tpmb.h:75:0: note: this is the location of the previous definition
  39. #define TPM2B_INIT(TYPE, name) \
  40.  
  41. make: *** [Makefile:1836: lib/tcti/tpm2_tools_tcti_socket.o] Error 1
  42. make: *** Waiting for unfinished jobs....
  43. cc1: all warnings being treated as errors
  44. make: *** [Makefile:1836: lib/tcti/tpm2_tools_tcti_device.o] Error 1
  45. In file included from lib/tpm2_alg_util.c:41:0:
  46. lib/tpm2_util.h:46:0: error: "TPM2B_INIT" redefined [-Werror]
  47. #define TPM2B_INIT(xsize) { .t = { .size = xsize, }, }
  48.  
  49. In file included from /usr/include/sapi/tpm20.h:42:0,
  50. from lib/tpm2_alg_util.c:35:
  51. /usr/include/sapi/tpmb.h:75:0: note: this is the location of the previous definition
  52. #define TPM2B_INIT(TYPE, name) \
  53.  
  54. lib/tpm2_alg_util.c: In function ‘tpm2_alg_util_for_each_alg’:
  55. lib/tpm2_alg_util.c:53:32: error: ‘TPM_ALG_SHA’ undeclared (first use in this function); did you mean ‘TPM_ALG_SHA1’?
  56. { .name = "sha", .id = TPM_ALG_SHA },
  57. ^~~~~~~~~~~
  58. TPM_ALG_SHA1
  59. lib/tpm2_alg_util.c:53:32: note: each undeclared identifier is reported only once for each function it appears in
  60. lib/tpm2_alg_util.c:75:34: error: ‘TPM_ALG_ECMQV’ undeclared (first use in this function); did you mean ‘TPM_ALG_ECB’?
  61. { .name = "ecmqv", .id = TPM_ALG_ECMQV },
  62. ^~~~~~~~~~~~~
  63. TPM_ALG_ECB
  64. lib/tpm2_alg_util.c:77:33: error: ‘TPM_ALG_KDF2’ undeclared (first use in this function); did you mean ‘TPMI_ALG_KDF’?
  65. { .name = "kdf2", .id = TPM_ALG_KDF2 },
  66. ^~~~~~~~~~~~
  67. TPMI_ALG_KDF
  68. lib/tpm2_alg_util.c:81:37: error: ‘TPM_ALG_CAMELLIA’ undeclared (first use in this function); did you mean ‘ALG_CAMELLIA’?
  69. { .name = "camellia", .id = TPM_ALG_CAMELLIA },
  70. ^~~~~~~~~~~~~~~~
  71. ALG_CAMELLIA
  72. lib/tpm2_alg_util.c:82:37: error: ‘TPM_ALG_SHA3_256’ undeclared (first use in this function); did you mean ‘TPM_ALG_SHA256’?
  73. { .name = "sha3_256", .id = TPM_ALG_SHA3_256 },
  74. ^~~~~~~~~~~~~~~~
  75. TPM_ALG_SHA256
  76. lib/tpm2_alg_util.c:83:37: error: ‘TPM_ALG_SHA3_384’ undeclared (first use in this function); did you mean ‘TPM_ALG_SHA384’?
  77. { .name = "sha3_384", .id = TPM_ALG_SHA3_384 },
  78. ^~~~~~~~~~~~~~~~
  79. TPM_ALG_SHA384
  80. lib/tpm2_alg_util.c:84:37: error: ‘TPM_ALG_SHA3_512’ undeclared (first use in this function); did you mean ‘TPM_ALG_SHA512’?
  81. { .name = "sha3_512", .id = TPM_ALG_SHA3_512 },
  82. ^~~~~~~~~~~~~~~~
  83. TPM_ALG_SHA512
  84. cc1: all warnings being treated as errors
  85. cc1: all warnings being treated as errors
  86. make: *** [Makefile:1836: lib/pcr.o] Error 1
  87. make: *** [Makefile:1836: lib/tpm2_alg_util.o] Error 1
  88. cc1: all warnings being treated as errors
  89. make: *** [Makefile:1836: lib/files.o] Error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement