minosproject / minos

Flexible Virtualization Solution for Embedded System
http://minosproject.org
GNU General Public License v2.0
246 stars 93 forks source link

An error is reported when parallel compilation is attempted #53

Open jason--liu opened 3 years ago

jason--liu commented 3 years ago

the erroe message is blow:

➜  minos-hypervisor git:(master) make -j4
  CC      ./arch/aarch64/core/asm-offset.s
  CC      core/bitmap.o
make[1]: *** No rule to make target 'apps/esh/built-in.o', needed by 'apps/built-in.o'.  Stop.
make[1]: *** Waiting for unfinished jobs....
  CC      apps/esh/shell.o
  CC      apps/esh/esh.o
  CC      apps/esh/esh_hist.o
make[1]: *** No rule to make target 'libsys/shell_command/built-in.o', needed by 'libsys/built-in.o'.  Stop.
make[1]: *** Waiting for unfinished jobs....
  CC      core/bootmem.o
  CC      libsys/shell_command/shell_command.o
In file included from core/bootmem.c:17:0:
./include/minos/minos.h:5:10: fatal error: asm/asm-offset.h: No such file or directory
 #include <asm/asm-offset.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from libsys/shell_command/shell_command.c:17:0:
./include/minos/minos.h:5:10: fatal error: asm/asm-offset.h: No such file or directory
 #include <asm/asm-offset.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Minos.build.mk:88: libsys/shell_command/shell_command.o] Error 1
make[1]: *** [scripts/Minos.build.mk:88: core/bootmem.o] Error 1
make[1]: *** [scripts/Minos.build.mk:104: shell_command] Error 2
make: *** [Makefile:250: core] Error 2
make: *** Waiting for unfinished jobs....
make: *** [Makefile:250: libsys] Error 2
  CC      apps/esh/esh_argparser.o
  LD      apps/esh/built-in.o
make: *** [Makefile:250: apps] Error 2

single thread compilaion has no problem.

wusnga8dn commented 1 year ago

错误信息是吹:

➜  minos-hypervisor git:(master) make -j4
  CC      ./arch/aarch64/core/asm-offset.s
  CC      core/bitmap.o
make[1]: *** No rule to make target 'apps/esh/built-in.o', needed by 'apps/built-in.o'.  Stop.
make[1]: *** Waiting for unfinished jobs....
  CC      apps/esh/shell.o
  CC      apps/esh/esh.o
  CC      apps/esh/esh_hist.o
make[1]: *** No rule to make target 'libsys/shell_command/built-in.o', needed by 'libsys/built-in.o'.  Stop.
make[1]: *** Waiting for unfinished jobs....
  CC      core/bootmem.o
  CC      libsys/shell_command/shell_command.o
In file included from core/bootmem.c:17:0:
./include/minos/minos.h:5:10: fatal error: asm/asm-offset.h: No such file or directory
 #include <asm/asm-offset.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from libsys/shell_command/shell_command.c:17:0:
./include/minos/minos.h:5:10: fatal error: asm/asm-offset.h: No such file or directory
 #include <asm/asm-offset.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Minos.build.mk:88: libsys/shell_command/shell_command.o] Error 1
make[1]: *** [scripts/Minos.build.mk:88: core/bootmem.o] Error 1
make[1]: *** [scripts/Minos.build.mk:104: shell_command] Error 2
make: *** [Makefile:250: core] Error 2
make: *** Waiting for unfinished jobs....
make: *** [Makefile:250: libsys] Error 2
  CC      apps/esh/esh_argparser.o
  LD      apps/esh/built-in.o
make: *** [Makefile:250: apps] Error 2

单线程编译没有问题。

你好我想问你一下这个项目你运行起来了吗,用的树莓派的系统版本是哪个?