Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker-Installation #9

Open
network-solutions-gr opened this issue Sep 15, 2024 · 0 comments
Open

Docker-Installation #9

network-solutions-gr opened this issue Sep 15, 2024 · 0 comments

Comments

@network-solutions-gr
Copy link

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 directory
#include <bcmolt_api.h>
^
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant