criu icon indicating copy to clipboard operation
criu copied to clipboard

[Makefile:217: images/built-in.o] Error 2

Open Kharelg24 opened this issue 3 years ago • 13 comments

Steps to reproduce the issue:

  1. Clone the repository
  2. Use make command

Any recommendations on how to solve this error?

Kharelg24 avatar Jun 23 '22 19:06 Kharelg24

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:

  1. Clone the repository
  2. 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.

rppt avatar Jun 23 '22 19:06 rppt

Yep, here it is:

make.txt

Kharelg24 avatar Jun 23 '22 20:06 Kharelg24

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.

rppt avatar Jun 23 '22 20:06 rppt

Sorry, here it is: make.txt

Kharelg24 avatar Jun 23 '22 20:06 Kharelg24

I accidentally closed this thread. Sorry, I have reopened it again.

Kharelg24 avatar Jun 23 '22 21:06 Kharelg24

Please install protobuf-c-compiler

adrianreber avatar Jun 24 '22 06:06 adrianreber

This wiki page contains all dependencies: https://criu.org/Installation#Installing_build_dependencies

rst0git avatar Jun 27 '22 12:06 rst0git

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

Kharelg24 avatar Jun 27 '22 23:06 Kharelg24

make.txt

Kharelg24 avatar Jun 27 '22 23:06 Kharelg24

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.

rppt avatar Jun 28 '22 01:06 rppt

I am using Ubuntu 22.04 LTS

Kharelg24 avatar Jun 28 '22 20:06 Kharelg24

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.

rppt avatar Jun 29 '22 08:06 rppt

A friendly reminder that this issue had no activity for 30 days.

github-actions[bot] avatar Jul 30 '22 00:07 github-actions[bot]

@Kharelg24 If you have any further questions, please feel free to ask in gitter or to open a new issue.

rst0git avatar Aug 14 '22 04:08 rst0git

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.

rppt avatar Oct 11 '22 07:10 rppt