Closed Muthuramane closed 7 years ago
Hi all,
I synced latest code from this repository and got the following error while make
Making all in switchsai make[2]: Entering directory /home/parallels/p4lang/switch/switchsai' /usr/local/bin/thrift -o ./src/ --gen cpp -r ./src/switch_sai.thrift /usr/local/bin/thrift -o ./src/ --gen py -r ./src/switch_sai.thrift cp -r ./src/gen-py/switch_sai/ ./switch_sai_thrift make all-am make[3]: Entering directory/home/parallels/p4lang/switch/switchsai' CXX src/gen-cpp/libbmswitchsai_la-switch_sai_constants.lo CXX src/gen-cpp/libbmswitchsai_la-switch_sai_rpc.lo CXX src/gen-cpp/libbmswitchsai_la-switch_sai_types.lo CC src/libbmswitchsai_la-saiacl.lo src/saiacl.c:17:20: fatal error: saiacl.h: No such file or directory
/home/parallels/p4lang/switch/switchsai' /usr/local/bin/thrift -o ./src/ --gen cpp -r ./src/switch_sai.thrift /usr/local/bin/thrift -o ./src/ --gen py -r ./src/switch_sai.thrift cp -r ./src/gen-py/switch_sai/ ./switch_sai_thrift make all-am make[3]: Entering directory
^
compilation terminated. make[3]: [src/libbmswitchsai_la-saiacl.lo] Error 1 make[3]: Leaving directory `/home/parallels/p4lang/switch/switchsai' make[2]: [all] Error 2 make[2]: Leaving directory /home/parallels/p4lang/switch/switchsai' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/parallels/p4lang/switch' make: *** [all] Error 2
/home/parallels/p4lang/switch/switchsai' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
But, the header file is in p4lang/SAI/inc/saiacl.h.
Please, let me know how to resolve this issue.
I am closing this issue.
There is no header file exist in folder switchsai/submodules/SAI. The sync was done improperly.
Hi all,
I synced latest code from this repository and got the following error while make
Making all in switchsai make[2]: Entering directory
/home/parallels/p4lang/switch/switchsai' /usr/local/bin/thrift -o ./src/ --gen cpp -r ./src/switch_sai.thrift /usr/local/bin/thrift -o ./src/ --gen py -r ./src/switch_sai.thrift cp -r ./src/gen-py/switch_sai/ ./switch_sai_thrift make all-am make[3]: Entering directory
/home/parallels/p4lang/switch/switchsai' CXX src/gen-cpp/libbmswitchsai_la-switch_sai_constants.lo CXX src/gen-cpp/libbmswitchsai_la-switch_sai_rpc.lo CXX src/gen-cpp/libbmswitchsai_la-switch_sai_types.lo CC src/libbmswitchsai_la-saiacl.lo src/saiacl.c:17:20: fatal error: saiacl.h: No such file or directoryinclude
compilation terminated. make[3]: [src/libbmswitchsai_la-saiacl.lo] Error 1 make[3]: Leaving directory `/home/parallels/p4lang/switch/switchsai' make[2]: [all] Error 2 make[2]: Leaving directory
/home/parallels/p4lang/switch/switchsai' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/home/parallels/p4lang/switch' make: *** [all] Error 2But, the header file is in p4lang/SAI/inc/saiacl.h.
Please, let me know how to resolve this issue.