<div dir="ltr">Καλησπέρα, έχω ακολουθησει τις οδηγιες τις εκφωνησης ακριβως και οταν φτανω στο σημείο του make μου βγάζει τα εξής:<div>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:7:13: error: operator &#39;&gt;=&#39; has no left operand<br> #if PIN_REV &gt;= 62732<br>             ^~<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc: In static member function ‘static unsigned int InstructionDecoder::getNumExecs(const xed_decoded_inst_t*, int, int)’:<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:42:8: error: ‘xed_decoded_inst_get_category’ was not declared in this scope<br>    if (xed_decoded_inst_get_category(ins) == XED_CATEGORY_DATAXFER || xed_decoded_inst_get_category(ins) == XED_CATEGORY_CMOV<br>        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:42:8: note: suggested alternative: ‘xed_decoded_inst_t’<br>    if (xed_decoded_inst_get_category(ins) == XED_CATEGORY_DATAXFER || xed_decoded_inst_get_category(ins) == XED_CATEGORY_CMOV<br>        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>        xed_decoded_inst_t<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:43:10: error: ‘xed_decoded_inst_get_iclass’ was not declared in this scope<br>       || xed_decoded_inst_get_iclass(ins) == XED_ICLASS_PUSH || xed_decoded_inst_get_iclass(ins) == XED_ICLASS_POP)<br>          ^~~~~~~~~~~~~~~~~~~~~~~~~~~<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:43:10: note: suggested alternative: ‘xed_decoded_inst_t’<br>       || xed_decoded_inst_get_iclass(ins) == XED_ICLASS_PUSH || xed_decoded_inst_get_iclass(ins) == XED_ICLASS_POP)<br>          ^~~~~~~~~~~~~~~~~~~~~~~~~~~<br>          xed_decoded_inst_t<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc: In static member function ‘static const std::vector&lt;const MicroOp*&gt;* InstructionDecoder::decode(IntPtr, const xed_decoded_inst_t*, Instruction*)’:<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:104:9: error: ‘xed_decoded_inst_get_attribute’ was not declared in this scope<br>    if (!xed_decoded_inst_get_attribute(ins, XED_ATTRIBUTE_NOP))<br>         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:104:9: note: suggested alternative: ‘xed_inst_get_attribute’<br>    if (!xed_decoded_inst_get_attribute(ins, XED_ATTRIBUTE_NOP))<br>         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>         xed_inst_get_attribute<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:106:43: error: ‘xed_decoded_inst_number_of_memory_operands’ was not declared in this scope<br>       for(uint32_t mem_idx = 0; mem_idx &lt; xed_decoded_inst_number_of_memory_operands(ins); ++mem_idx)<br>                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:109:22: error: ‘xed_decoded_inst_get_base_reg’ was not declared in this scope<br>          regs.insert(xed_decoded_inst_get_base_reg(ins, mem_idx));<br>                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:109:22: note: suggested alternative: ‘xed_decoded_inst_t’<br>          regs.insert(xed_decoded_inst_get_base_reg(ins, mem_idx));<br>                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>                      xed_decoded_inst_t<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:110:22: error: ‘xed_decoded_inst_get_index_reg’ was not declared in this scope<br>          regs.insert(xed_decoded_inst_get_index_reg(ins, mem_idx));<br>                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:110:22: note: suggested alternative: ‘xed_decoded_inst_t’<br>          regs.insert(xed_decoded_inst_get_index_reg(ins, mem_idx));<br>                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>                      xed_decoded_inst_t<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:112:14: error: ‘xed_decoded_inst_mem_read’ was not declared in this scope<br>          if (xed_decoded_inst_mem_read(ins, mem_idx)) {<br>              ^~~~~~~~~~~~~~~~~~~~~~~~~<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:112:14: note: suggested alternative: ‘xed_decoded_inst_t’<br>          if (xed_decoded_inst_mem_read(ins, mem_idx)) {<br>              ^~~~~~~~~~~~~~~~~~~~~~~~~<br>              xed_decoded_inst_t<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:114:39: error: ‘xed_decoded_inst_get_memory_operand_length’ was not declared in this scope<br>             memop_load_size.push_back(xed_decoded_inst_get_memory_operand_length(ins, mem_idx));<br>                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:118:14: error: ‘xed_decoded_inst_mem_written’ was not declared in this scope<br>          if (xed_decoded_inst_mem_written(ins, mem_idx)) {<br>              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:118:14: note: suggested alternative: ‘xed_decoded_inst_t’<br>          if (xed_decoded_inst_mem_written(ins, mem_idx)) {<br>              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>              xed_decoded_inst_t<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:120:40: error: ‘xed_decoded_inst_get_memory_operand_length’ was not declared in this scope<br>             memop_store_size.push_back(xed_decoded_inst_get_memory_operand_length(ins, mem_idx));<br>                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:129:38: error: ‘xed_decoded_inst_operands_const’ was not declared in this scope<br>    const xed_operand_values_t* ops = xed_decoded_inst_operands_const(ins);<br>                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:129:38: note: suggested alternative: ‘xed_decoded_inst_t’<br>    const xed_operand_values_t* ops = xed_decoded_inst_operands_const(ins);<br>                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>                                      xed_decoded_inst_t<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:130:8: error: ‘xed_operand_values_get_atomic’ was not declared in this scope<br>    if (xed_operand_values_get_atomic(ops))<br>        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:130:8: note: suggested alternative: ‘xed_operand_values_t’<br>    if (xed_operand_values_get_atomic(ops))<br>        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>        xed_operand_values_t<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:133:29: error: ‘xed_decoded_inst_inst’ was not declared in this scope<br>    const xed_inst_t *inst = xed_decoded_inst_inst(ins);<br>                             ^~~~~~~~~~~~~~~~~~~~~<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:133:29: note: suggested alternative: ‘xed_decoded_inst_t’<br>    const xed_inst_t *inst = xed_decoded_inst_inst(ins);<br>                             ^~~~~~~~~~~~~~~~~~~~~<br>                             xed_decoded_inst_t<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:146:31: error: ‘xed_decoded_inst_get_reg’ was not declared in this scope<br>          xed_reg_enum_t reg = xed_decoded_inst_get_reg(ins, name);<br>                               ^~~~~~~~~~~~~~~~~~~~~~~~<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:146:31: note: suggested alternative: ‘xed_decoded_inst_t’<br>          xed_reg_enum_t reg = xed_decoded_inst_get_reg(ins, name);<br>                               ^~~~~~~~~~~~~~~~~~~~~~~~<br>                               xed_decoded_inst_t<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:179:31: error: ‘xed_decoded_inst_get_reg’ was not declared in this scope<br>          xed_reg_enum_t reg = xed_decoded_inst_get_reg(ins, name);<br>                               ^~~~~~~~~~~~~~~~~~~~~~~~<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:179:31: note: suggested alternative: ‘xed_decoded_inst_t’<br>          xed_reg_enum_t reg = xed_decoded_inst_get_reg(ins, name);<br>                               ^~~~~~~~~~~~~~~~~~~~~~~~<br>                               xed_decoded_inst_t<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:190:55: error: ‘xed_decoded_inst_get_operand_width’ was not declared in this scope<br>       operand_size = std::max(operand_size, (uint16_t)xed_decoded_inst_get_operand_width(ins));<br>                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:190:55: note: suggested alternative: ‘xed_decoded_inst_t’<br>       operand_size = std::max(operand_size, (uint16_t)xed_decoded_inst_get_operand_width(ins));<br>                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>                                                       xed_decoded_inst_t<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:197:11: error: ‘xed_decoded_inst_get_iclass’ was not declared in this scope<br>    switch(xed_decoded_inst_get_iclass(ins)) {<br>           ^~~~~~~~~~~~~~~~~~~~~~~~~~~<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:197:11: note: suggested alternative: ‘xed_decoded_inst_t’<br>    switch(xed_decoded_inst_get_iclass(ins)) {<br>           ^~~~~~~~~~~~~~~~~~~~~~~~~~~<br>           xed_decoded_inst_t<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:243:18: error: ‘xed_decoded_inst_get_iclass’ was not declared in this scope<br>                , xed_decoded_inst_get_iclass(ins)<br>                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:243:18: note: suggested alternative: ‘xed_decoded_inst_t’<br>                , xed_decoded_inst_get_iclass(ins)<br>                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~<br>                  xed_decoded_inst_t<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:255:18: error: ‘xed_decoded_inst_get_iclass’ was not declared in this scope<br>                , xed_decoded_inst_get_iclass(ins)<br>                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:255:18: note: suggested alternative: ‘xed_decoded_inst_t’<br>                , xed_decoded_inst_get_iclass(ins)<br>                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~<br>                  xed_decoded_inst_t<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:257:18: error: ‘xed_decoded_inst_get_category’ was not declared in this scope<br>                , xed_decoded_inst_get_category(ins) == XED_CATEGORY_COND_BR /* is conditional branch? */);<br>                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:257:18: note: suggested alternative: ‘xed_decoded_inst_t’<br>                , xed_decoded_inst_get_category(ins) == XED_CATEGORY_COND_BR /* is conditional branch? */);<br>                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>                  xed_decoded_inst_t<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:265:18: error: ‘xed_decoded_inst_get_iclass’ was not declared in this scope<br>                , xed_decoded_inst_get_iclass(ins)<br>                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:265:18: note: suggested alternative: ‘xed_decoded_inst_t’<br>                , xed_decoded_inst_get_iclass(ins)<br>                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~<br>                  xed_decoded_inst_t<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:297:14: error: ‘xed_decoded_inst_get_iclass’ was not declared in this scope<br>          if (xed_decoded_inst_get_iclass(ins) == XED_ICLASS_MFENCE<br>              ^~~~~~~~~~~~~~~~~~~~~~~~~~~<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:297:14: note: suggested alternative: ‘xed_decoded_inst_t’<br>          if (xed_decoded_inst_get_iclass(ins) == XED_ICLASS_MFENCE<br>              ^~~~~~~~~~~~~~~~~~~~~~~~~~~<br>              xed_decoded_inst_t<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:304:15: error: ‘xed_decoded_inst_get_iclass’ was not declared in this scope<br>          if ((xed_decoded_inst_get_iclass(ins) == XED_ICLASS_MOVHPD)<br>               ^~~~~~~~~~~~~~~~~~~~~~~~~~~<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:304:15: note: suggested alternative: ‘xed_decoded_inst_t’<br>          if ((xed_decoded_inst_get_iclass(ins) == XED_ICLASS_MOVHPD)<br>               ^~~~~~~~~~~~~~~~~~~~~~~~~~~<br>               xed_decoded_inst_t<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:347:44: error: ‘xed_decoded_inst_get_iclass’ was not declared in this scope<br>          if (toupper(xed_iclass_enum_t2str(xed_decoded_inst_get_iclass(ins))[0]) == &#39;F&#39;)<br>                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:347:44: note: suggested alternative: ‘xed_decoded_inst_t’<br>          if (toupper(xed_iclass_enum_t2str(xed_decoded_inst_get_iclass(ins))[0]) == &#39;F&#39;)<br>                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~<br>                                            xed_decoded_inst_t<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc: In static member function ‘static unsigned int InstructionDecoder::getNumExecs(const xed_decoded_inst_t*, int, int)’:<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:84:1: warning: control reaches end of non-void function [-Wreturn-type]<br> }<br> ^<br>/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/Makefile.common:82: recipe for target &#39;/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.o&#39; failed<br>make[1]: *** [/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.o] Error 1<br>Makefile:48: recipe for target &#39;/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/lib/libcarbon_sim.a&#39; failed<br>make: *** [/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/lib/libcarbon_sim.a] Error 2<br></div><div><br></div><div>Έχω δοκιμασει με CC=gcc-7 CXX=g++-7 make και σκέτο make και τρέχω Ubuntu 18.04. Προσπαθησα να ξανακατεβασω τα αρχεια αλλα δεν αλλαξε κατι, ούτε βρήκα κατι σχετικό στο αρχείο.</div></div>