Open network-solutions-gr opened 2 months ago
Hello, While "make" command returns the following error.
docker run --rm -v /home/networksolutions/openolt:/app -it voltha/openolt-test:2.1.1 make -C agent/test test make: Entering directory '/app/agent/test' echo /app; \
/app if [ -d bal-oss-api-3.10.2.2 ]; then \ echo "bal-oss-api-3.10.2.2 exists"; \ else \ mkdir -p bal-oss-api-3.10.2.2; \ mkdir -p lib; \ cd bal-oss-api-3.10.2.2; \ git clone https://github.com/balapi/bal-sdk.git -b 3.10.2.2; \ mv bal-sdk bal-sdk-3.10.2.2; \ cd bal-sdk-3.10.2.2; \ make BOARD=sim; \ cp build/fs/libbal_host_api-oss.3.10.2.so ../../lib/libbal_host_api-oss.so; \ cd .. && ln -s bal-sdk-3.10.2.2/build/fs/include include; \ sed -i 's/BUG_ON_PRINT((condition),/printf(/g' include/bcmos_system.h; \ cd ..;\ fi bal-oss-api-3.10.2.2 exists g++-4.9 -g -O2 pkg-config --cflags-only-I grpc++ -I/usr/local/include/pcapplusplus/ -std=c++11 -fpermissive -Wno-literal-suffix -DTEST_MODE -DENABLE_LOG -Ibal-oss-api-3.10.2.2/include -Ibal-oss-api-3.10.2.2/include/object_model -I../../protos -I../../protos/googleapis/gens -I../device -I../device/sim -I../common -I./inc -I../src -c ../src/core_utils.cc -o ../src/core_utils.o In file included from ../device/sim/vendor.h:20:0, from ../common/core.h:26, from ../src/core_utils.h:25, from ../src/core_utils.cc:19: ../device/device.h:32:24: fatal error: bcmolt_api.h: No such file or directory
pkg-config --cflags-only-I grpc++
^
compilation terminated. Makefile:134: recipe for target '../src/core_utils.o' failed make: [../src/core_utils.o] Error 1 make: Leaving directory '/app/agent/test' make: [Makefile:55: test] Error 2
Hello, While "make" command returns the following error.
docker run --rm -v /home/networksolutions/openolt:/app -it voltha/openolt-test:2.1.1 make -C agent/test test make: Entering directory '/app/agent/test' echo /app; \
TODO: This is temporary hack below to introduce the definition BAL IEs that are missing in https://github.com/balapi/bal-api-
/app if [ -d bal-oss-api-3.10.2.2 ]; then \ echo "bal-oss-api-3.10.2.2 exists"; \ else \ mkdir -p bal-oss-api-3.10.2.2; \ mkdir -p lib; \ cd bal-oss-api-3.10.2.2; \ git clone https://github.com/balapi/bal-sdk.git -b 3.10.2.2; \ mv bal-sdk bal-sdk-3.10.2.2; \ cd bal-sdk-3.10.2.2; \ make BOARD=sim; \ cp build/fs/libbal_host_api-oss.3.10.2.so ../../lib/libbal_host_api-oss.so; \ cd .. && ln -s bal-sdk-3.10.2.2/build/fs/include include; \ sed -i 's/BUG_ON_PRINT((condition),/printf(/g' include/bcmos_system.h; \ cd ..;\ fi bal-oss-api-3.10.2.2 exists g++-4.9 -g -O2
pkg-config --cflags-only-I grpc++
-I/usr/local/include/pcapplusplus/ -std=c++11 -fpermissive -Wno-literal-suffix -DTEST_MODE -DENABLE_LOG -Ibal-oss-api-3.10.2.2/include -Ibal-oss-api-3.10.2.2/include/object_model -I../../protos -I../../protos/googleapis/gens -I../device -I../device/sim -I../common -I./inc -I../src -c ../src/core_utils.cc -o ../src/core_utils.o In file included from ../device/sim/vendor.h:20:0, from ../common/core.h:26, from ../src/core_utils.h:25, from ../src/core_utils.cc:19: ../device/device.h:32:24: fatal error: bcmolt_api.h: No such file or directoryinclude
compilation terminated. Makefile:134: recipe for target '../src/core_utils.o' failed make: [../src/core_utils.o] Error 1 make: Leaving directory '/app/agent/test' make: [Makefile:55: test] Error 2