p4lang / switch

Consolidated switch repo (API, SAI and Nettlink)
151 stars 72 forks source link

Header file saiacl.h missing while make #91

Closed Muthuramane closed 7 years ago

Muthuramane commented 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

include

                ^

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

But, the header file is in p4lang/SAI/inc/saiacl.h.

Please, let me know how to resolve this issue.

Muthuramane commented 7 years ago

I am closing this issue.

There is no header file exist in folder switchsai/submodules/SAI. The sync was done improperly.