Guest User

eos_error

a guest
Jul 15th, 2018
111
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /Applications/CLion.app/Contents/bin/cmake/bin/cmake --build /Users/lonkly/devel/C++/clarity-demo/cmake-build-debug --target Products -- -j 4
  2. [ 14%] Built target Platform
  3. [ 14%] Built target ast
  4. [ 14%] Built target asmjs
  5. [ 14%] Built target wasm
  6. [ 14%] Built target cfg
  7. [ 14%] Built target support
  8. [ 28%] Built target Logging
  9. [ 71%] Built target passes
  10. [ 71%] Built target IR
  11. [ 85%] Built target eosio-s2wasm
  12. [ 85%] Built target WASM
  13. [100%] Built target WAST
  14. [100%] Built target eosio-wast2wasm
  15. [100%] Built target Products
  16.  
  17. /Applications/CLion.app/Contents/bin/cmake/bin/cmake --build /Users/lonkly/devel/C++/clarity-demo/cmake-build-debug --target Products.tmp -- -j 4
  18. Scanning dependencies of target Products.tmp
  19. [  0%] Building CXX object contracts/products/CMakeFiles/Products.tmp.dir/Products.cpp.o
  20. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/Products.cpp:1:
  21. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/Products.hpp:2:
  22. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/eosio.hpp:6:
  23. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/types.hpp:6:
  24. /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/types.h:26:18: error: redefinition of 'time' as different kind of symbol
  25. typedef uint32_t time;
  26.                  ^
  27. /usr/include/time.h:117:8: note: previous definition is here
  28. time_t time(time_t *);
  29.        ^
  30. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/Products.cpp:1:
  31. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/Products.hpp:2:
  32. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/eosio.hpp:7:
  33. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/action.hpp:7:
  34. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/datastream.hpp:8:
  35. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/vector.hpp:2:
  36. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/memory.hpp:8:
  37. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/print.hpp:6:
  38. /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/print.h:86:26: error: unknown type name 'int128_t'
  39.    void printi128( const int128_t* value );
  40.                          ^
  41. /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/print.h:99:27: error: unknown type name 'uint128_t'
  42.    void printui128( const uint128_t* value );
  43.                           ^
  44. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/Products.cpp:1:
  45. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/Products.hpp:2:
  46. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/eosio.hpp:7:
  47. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/action.hpp:7:
  48. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/datastream.hpp:8:
  49. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/vector.hpp:2:
  50. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/memory.hpp:8:
  51. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/print.hpp:8:
  52. /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/fixed_key.hpp:76:18: error: unknown type name 'uint128_t'
  53.          typedef uint128_t word_t;
  54.                  ^
  55. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/Products.cpp:1:
  56. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/Products.hpp:2:
  57. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/eosio.hpp:7:
  58. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/action.hpp:7:
  59. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/datastream.hpp:8:
  60. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/vector.hpp:2:
  61. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/memory.hpp:8:
  62. /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/print.hpp:13:4: error: static_assert failed "unexpected size difference"
  63.    static_assert( sizeof(long) == sizeof(int), "unexpected size difference" );
  64.    ^              ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  65. /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/print.hpp:38:16: error: redefinition of 'print'
  66.    inline void print( int32_t num ) {
  67.                ^
  68. /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/print.hpp:29:16: note: previous definition is here
  69.    inline void print( int num ) {
  70.                ^
  71. /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/print.hpp:66:16: error: redefinition of 'print'
  72.    inline void print( uint32_t num ) {
  73.                ^
  74. /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/print.hpp:57:16: note: previous definition is here
  75.    inline void print( unsigned int num ) {
  76.                ^
  77. /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/print.hpp:84:23: error: unknown type name 'int128_t'
  78.    inline void print( int128_t num ) {
  79.                       ^
  80. /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/print.hpp:93:23: error: unknown type name 'uint128_t'
  81.    inline void print( uint128_t num ) {
  82.                       ^
  83. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/Products.cpp:1:
  84. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/Products.hpp:2:
  85. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/eosio.hpp:9:
  86. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/multi_index.hpp:24:
  87. /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/db.h:69:102: error: unknown type name 'uint128_t'
  88. int32_t db_idx128_store(account_name scope, table_name table, account_name payer, uint64_t id, const uint128_t* secondary);
  89.                                                                                                      ^
  90. /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/db.h:70:67: error: unknown type name 'uint128_t'
  91. void db_idx128_update(int32_t iterator, account_name payer, const uint128_t* secondary);
  92.                                                                   ^
  93. /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/db.h:74:89: error: unknown type name 'uint128_t'
  94. int32_t db_idx128_find_primary(account_name code, account_name scope, table_name table, uint128_t* secondary, uint64_t primary);
  95.                                                                                         ^
  96. /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/db.h:75:97: error: unknown type name 'uint128_t'
  97. int32_t db_idx128_find_secondary(account_name code, account_name scope, table_name table, const uint128_t* secondary, uint64_t* primary);
  98.                                                                                                 ^
  99. /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/db.h:76:87: error: unknown type name 'uint128_t'
  100. int32_t db_idx128_lowerbound(account_name code, account_name scope, table_name table, uint128_t* secondary, uint64_t* primary);
  101.                                                                                       ^
  102. /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/db.h:77:87: error: unknown type name 'uint128_t'
  103. int32_t db_idx128_upperbound(account_name code, account_name scope, table_name table, uint128_t* secondary, uint64_t* primary);
  104.                                                                                       ^
  105. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/Products.cpp:1:
  106. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/Products.hpp:2:
  107. In file included from /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/eosio.hpp:9:
  108. /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/multi_index.hpp:104:39: error: use of undeclared identifier 'uint128_t'
  109.    WRAP_SECONDARY_SIMPLE_TYPE(idx128, uint128_t)
  110.                                       ^
  111. /Users/lonkly/devel/C++/clarity-demo/contracts/products/../eosiolib/multi_index.hpp:105:45: error: use of undeclared identifier 'uint128_t'
  112.    MAKE_TRAITS_FOR_ARITHMETIC_SECONDARY_KEY(uint128_t)
  113.                                             ^
  114. 17 errors generated.
  115. make[3]: *** [contracts/products/CMakeFiles/Products.tmp.dir/Products.cpp.o] Error 1
  116. make[2]: *** [contracts/products/CMakeFiles/Products.tmp.dir/all] Error 2
  117. make[1]: *** [contracts/products/CMakeFiles/Products.tmp.dir/rule] Error 2
  118. make: *** [Products.tmp] Error 2
RAW Paste Data