Closed peggy0135 closed 1 year ago
I tried to build from source. But stuck at an error.
[root@irods-rest-porting build]# make package [ 16%] Building CXX object CMakeFiles/irods_rule_engine_plugin-unified_storage_tiering.dir/libirods_rule_engine_plugin-unified_storage_tiering.cpp.o [ 33%] Building CXX object CMakeFiles/irods_rule_engine_plugin-unified_storage_tiering.dir/storage_tiering.cpp.o /root/irods_capability_storage_tiering/storage_tiering.cpp:697:9: error: unknown type name 'execMyRuleInp_t'; did you mean 'ExecMyRuleInp'? execMyRuleInp_t exec_inp{}; ^~~~~~~ ExecMyRuleInp /root/irods/include/irods/rsExecMyRule.hpp:5:8: note: 'ExecMyRuleInp' declared here struct ExecMyRuleInp; ^ /root/irods_capability_storage_tiering/storage_tiering.cpp:697:25: error: variable has incomplete type 'ExecMyRuleInp' execMyRuleInp_t exec_inp{}; ^ /root/irods/include/irods/rsExecMyRule.hpp:5:8: note: forward declaration of 'ExecMyRuleInp' struct ExecMyRuleInp; ^ 2 errors generated. make[2]: [CMakeFiles/irods_rule_engine_plugin-unified_storage_tiering.dir/build.make:90: CMakeFiles/irods_rule_engine_plugin-unified_storage_tiering.dir/storage_tiering.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:83: CMakeFiles/irods_rule_engine_plugin-unified_storage_tiering.dir/all] Error 2 make: *** [Makefile:156: all] Error 2
still have no idea? Is there anything I missed? Thank you.
I tried to build from source. But stuck at an error.
[root@irods-rest-porting build]# make package [ 16%] Building CXX object CMakeFiles/irods_rule_engine_plugin-unified_storage_tiering.dir/libirods_rule_engine_plugin-unified_storage_tiering.cpp.o [ 33%] Building CXX object CMakeFiles/irods_rule_engine_plugin-unified_storage_tiering.dir/storage_tiering.cpp.o /root/irods_capability_storage_tiering/storage_tiering.cpp:697:9: error: unknown type name 'execMyRuleInp_t'; did you mean 'ExecMyRuleInp'? execMyRuleInp_t exec_inp{}; ^
~~~~~~ ExecMyRuleInp /root/irods/include/irods/rsExecMyRule.hpp:5:8: note: 'ExecMyRuleInp' declared here struct ExecMyRuleInp; ^ /root/irods_capability_storage_tiering/storage_tiering.cpp:697:25: error: variable has incomplete type 'ExecMyRuleInp' execMyRuleInp_t exec_inp{}; ^ /root/irods/include/irods/rsExecMyRule.hpp:5:8: note: forward declaration of 'ExecMyRuleInp' struct ExecMyRuleInp; ^ 2 errors generated. make[2]: [CMakeFiles/irods_rule_engine_plugin-unified_storage_tiering.dir/build.make:90: CMakeFiles/irods_rule_engine_plugin-unified_storage_tiering.dir/storage_tiering.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:83: CMakeFiles/irods_rule_engine_plugin-unified_storage_tiering.dir/all] Error 2 make: *** [Makefile:156: all] Error 2still have no idea? Is there anything I missed? Thank you.