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

Error compiling #105

Open
exploitwritter opened this issue Aug 26, 2023 · 3 comments
Open

Error compiling #105

exploitwritter opened this issue Aug 26, 2023 · 3 comments

Comments

@exploitwritter
Copy link

I am compiling my own docker ima from a raspberry pi, and I am getting the following error when I run docker-compose -f docker-compose-custom-build.yml build specifically when building the CXXLD assimilator file does anyone know what it could be?

745.3   CXXLD    assimilator
746.3 /usr/bin/ld: skipping incompatible ../../server/lib/libprotobuf.a when searching for -lprotobuf
746.3 /usr/bin/ld: cannot find -lprotobuf
746.3 /usr/bin/ld: skipping incompatible ../../server/lib/libgrpc++.a when searching for -lgrpc++
746.3 /usr/bin/ld: cannot find -lgrpc++
746.3 /usr/bin/ld: skipping incompatible ../../server/lib/libgrpc.a when searching for -lgrpc
746.3 /usr/bin/ld: cannot find -lgrpc
746.3 /usr/bin/ld: skipping incompatible ../../server/lib/libgrpc++_reflection.a when searching for -lgrpc++_reflection
746.3 /usr/bin/ld: cannot find -lgrpc++_reflection
746.3 collect2: error: ld returned 1 exit status
746.3 make[2]: Leaving directory '/srv/fitcrack/boinc/sched'
746.3 make[2]: *** [Makefile:1639: assimilator] Error 1
746.3 make[1]: *** [Makefile:684: all-recursive] Error 1
746.3 make[1]: Leaving directory '/srv/fitcrack/boinc'
746.3 make: *** [Makefile:588: all] Error 2
@exploitwritter
Copy link
Author

I have tried on several platforms the compilation but it seems to fail because of the same message, I tried to add the following in the Dockerfile in case it was a dependency issue

RUN apt-get install -yq libprotobuf-dev protobuf-compiler
RUN apt-get install -yq libgrpc++-dev libgrpc-dev

But it keeps crashing, I tried on Ubuntu 18:04, 20:04 I don't know if anyone has a stable server build environment to tell me what image I use as a base for the docker and I try to compile the image, or if the creator of the docker image can make it compatible to arm specifically for raspberry's pi, I try to mount a cluster and I want to mount the server on one.

@davidbolvansky
Copy link
Contributor

Last time I tried to build docker image on, well, Apple M1 macbook, I had quite a lot issues, so I believe currently only X86 is supported.

@davidbolvansky
Copy link
Contributor

Aha, in server/lib there are static libraries compiled for x86.

reverting of a561d47 should fix this issue..

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

2 participants