criu
criu copied to clipboard
[Makefile:217: images/built-in.o] Error 2
Steps to reproduce the issue:
- Clone the repository
- Use make command
Any recommendations on how to solve this error?
can you run
make V=1 and post the build log?
On Thu, Jun 23, 2022 at 2:49 PM Kharelg24 @.***> wrote:
Steps to reproduce the issue:
- Clone the repository
- Use make command
Any recommendations on how to solve this error?
— Reply to this email directly, view it on GitHub https://github.com/checkpoint-restore/criu/issues/1924, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEWXSDTXBVRTCRAFZKXXCVLVQS5T5ANCNFSM5ZVPTVFQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- Sincerely yours, Mike.
On Thu, Jun 23, 2022 at 3:01 PM Kharelg24 @.***> wrote:
Yep, here it is:
make.txt
Thanks, but it does not show the error message...
-- Sincerely yours, Mike.
Sorry, here it is: make.txt
I accidentally closed this thread. Sorry, I have reopened it again.
Please install protobuf-c-compiler
This wiki page contains all dependencies: https://criu.org/Installation#Installing_build_dependencies
I have tried installing all the dependencies but now I seem to be getting a different error. I am not really sure on how to go about solving this error. file:///home/gaurav/code/criu/make.txt
On Tue, Jun 28, 2022 at 2:41 AM Kharelg24 @.***> wrote:
make.txt
In file included from images/rseq.pb-c.c:9: images/rseq.pb-c.h:7:10: fatal error: protobuf-c/protobuf-c.h: No such file or directory 7 | #include <protobuf-c/protobuf-c.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated.
Looks like you still miss some of the protobuf files. What distro do you use?
-- Sincerely yours, Mike.
I am using Ubuntu 22.04 LTS
On Tue, Jun 28, 2022 at 11:47 PM Kharelg24 @.***> wrote:
I am using Ubuntu 22.04 LTS
Try running sudo apt-get build-dep criu
This should bring all the dependencies
-- Sincerely yours, Mike.
A friendly reminder that this issue had no activity for 30 days.
@Kharelg24 If you have any further questions, please feel free to ask in gitter or to open a new issue.
On Thu, Jun 23, 2022 at 3:27 PM Kharelg24 @.***> wrote:
Sorry, here it is: make.txt
make -r -R -f /home/gaurav/code/criu/scripts/nmk/scripts/main.mk makefile=Makefile obj=images all grep: images/google/protobuf/descriptor.proto: No such file or directory
So the actual failure is here. Do you have protobuf-devel (or libprotobuf-dev on Debian based systems)?
-- Sincerely yours, Mike.