Skip to content

While running make build getting the following error #10

@gauravsc

Description

@gauravsc

I am running the code on a macbook with MacOs 14.2.1 and Apple M3 Pro

# CI will checkout submodules on its own (and fails on these commands)
if [[ -z "$GITHUB_ENV" ]]; then
git submodule init;
git submodule update;
fi
cd unicorn/build && make -j8
[ 1%] Building C object CMakeFiles/mips64-softmmu.dir/qemu/cpu-exec.c.o
[ 2%] Building C object CMakeFiles/mips-softmmu.dir/qemu/cpu-exec.c.o
[ 2%] Building C object CMakeFiles/mips64el-softmmu.dir/qemu/cpu-exec.c.o
[ 2%] Building C object CMakeFiles/mips64el-softmmu.dir/qemu/cputlb.c.o
[ 3%] Building C object CMakeFiles/mips64-softmmu.dir/qemu/cpus.c.o
[ 3%] Building C object CMakeFiles/mipsel-softmmu.dir/qemu/cpus.c.o
[ 4%] Building C object CMakeFiles/mips64el-softmmu.dir/qemu/cpus.c.o
[ 5%] Building C object CMakeFiles/mipsel-softmmu.dir/qemu/cpu-exec.c.o
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/cputlb.c:22:
/Users/gauravsingh/Code/opml/unicorn/qemu/include/config.h:2:10: fatal error: 'config-target.h' file not found
#include "config-target.h"
^~~~~~~~~~~~~~~~~
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/cpu-exec.c:22:
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/tcg/tcg.h:28:
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/include/qemu-common.h:98:
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/target-mips/cpu.h:13:
/Users/gauravsingh/Code/opml/unicorn/qemu/include/config.h:2:10: fatal error: 'config-target.h' file not found
#include "config-target.h"
^~~~~~~~~~~~~~~~~
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/cpus.c:29:
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/include/sysemu/sysemu.h:5:
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/include/qemu/timer.h:5:
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/include/qemu-common.h:98:
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/target-mips/cpu.h:13:
/Users/gauravsingh/Code/opml/unicorn/qIn file included from /Users/gauravsingh/Code/opml/unicorn/qemu/cpu-exec.c:22:
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/tcg/tcg.h:28:
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/include/qemu-common.h:98:
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/target-mips/cpu.h:13:
/Users/gauravsingh/Code/opml/unicorn/qemu/include/config.h:2:10: fatal error: 'config-target.h' file not found
#include "config-target.h"
^~~~~~~~~~~~~~~~~
emu/include/config.h:2:10: fatal error: 'config-target.h' file not found
#include "config-target.h"
^~~~~~~~~~~~~~~~~
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/cpu-exec.c:22:
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/tcg/tcg.h:28:
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/include/qemu-common.h:98:
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/target-mips/cpu.h:13:
/Users/gauravsingh/Code/opml/unicorn/qemu/include/config.h:2:10: fatal error: 'config-target.h' file not found
#include "config-target.h"
^~~~~~~~~~~~~~~~~
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/cpu-exec.c:22:
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/tcg/tcg.h:28:
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/include/qemu-common.h:98:
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/target-mips/cpu.h:13:
/Users/gauravsingh/Code/opml/unicorn/qemu/include/config.h:2:10: fatal error: 'config-target.h' file not found
#include "config-target.h"
^~~~~~~~~~~~~~~~~
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/cpus.c:29:
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/include/sysemu/sysemu.h:5:
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/include/qemu/timer.h:5:
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/include/qemu-common.h:98:
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/target-mips/cpu.h:13:
/Users/gauravsingh/Code/opml/unicorn/qemu/include/config.h:2:10: fatal error: 'config-target.h' file not found
#include "config-target.h"
^~~~~~~~~~~~~~~~~
1 error generated.
1 error generated.
11 error generated.
error generated.
make[3]: *** [CMakeFiles/mips64-softmmu.dir/qemu/cpu-exec.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [CMakeFiles/mips64el-softmmu.dir/qemu/cpus.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/cpus.c:29:
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/include/sysemu/sysemu.h:5:
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/include/qemu/timer.h:5:
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/include/qemu-common.h:98:
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/target-mips/cpu.h:13:
/Users/gauravsingh/Code/opml/unicorn/qemu/include/config.h:2:10: fatal error: 'config-target.h' file not found
#include "config-target.h"
^~~~~~~~~~~~~~~~~
make[3]: *** [CMakeFiles/mips64el-softmmu.dir/qemu/cpu-exec.c.o] Error 1
make[3]: *** [CMakeFiles/mipsel-softmmu.dir/qemu/cpu-exec.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
1 error generated.
1 error generated.
make[3]: *** [CMakeFiles/mips-softmmu.dir/qemu/cpu-exec.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
1 error generated.
1 error generated.
make[3]: *** [CMakeFiles/mipsel-softmmu.dir/qemu/cpus.c.o] Error 1
make[3]: *** [CMakeFiles/mips64-softmmu.dir/qemu/cpus.c.o] Error 1
make[2]: *** [CMakeFiles/mips64-softmmu.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: *** [CMakeFiles/mips64el-softmmu.dir/qemu/cputlb.c.o] Error 1
make[2]: *** [CMakeFiles/mips64el-softmmu.dir/all] Error 2
[ 7%] Building C object CMakeFiles/mips-softmmu.dir/qemu/cputlb.c.o
[ 7%] Building C object CMakeFiles/mips-softmmu.dir/qemu/exec.c.o
[ 8%] Building C object CMakeFiles/mipsel-softmmu.dir/qemu/cputlb.c.o
[ 9%] Building C object CMakeFiles/mips-softmmu.dir/qemu/cpus.c.o
In file included from In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/exec.c/Users/gauravsingh/Code/opml/unicorn/qemu/cputlb.c::2122:
:
/Users/gauravsingh/Code/opml/unicorn/qemu/include/config.h/Users/gauravsingh/Code/opml/unicorn/qemu/include/config.h::22::1010:: fatal error: fatal error: 'config-target.h' file not found'config-target.h' file not found

In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/cputlb.c:22:
#include "config-target.h"
/Users/gauravsingh/Code/opml/unicorn/qemu/include/config.h:2:#include "config-target.h" ^~~~~~~~~~~~~~~~~

10 ^~~~~~~~~~~~~~~~~:
fatal error: 'config-target.h' file not found
#include "config-target.h"
^~~~~~~~~~~~~~~~~
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/cpus.c:29:
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/include/sysemu/sysemu.h:5:
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/include/qemu/timer.h:5:
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/include/qemu-common.h:98:
In file included from /Users/gauravsingh/Code/opml/unicorn/qemu/target-mips/cpu.h:13:
/Users/gauravsingh/Code/opml/unicorn/qemu/include/config.h:2:10: fatal error: 'config-target.h' file not found
#include "config-target.h"
^~~~~~~~~~~~~~~~~
1 error generated.
make[3]: *** [CMakeFiles/mips-softmmu.dir/qemu/cpus.c.o] Error 1
1 error generated.
make[3]: *** [CMakeFiles/mips-softmmu.dir/qemu/exec.c.o] Error 1
1 error generated.
1 error generated.
make[3]: make[3]: *** [CMakeFiles/mipsel-softmmu.dir/qemu/cputlb.c.o] Error 1*** [CMakeFiles/mips-softmmu.dir/qemu/cputlb.c.o] Error 1

make[2]: *** [CMakeFiles/mips-softmmu.dir/all] Error 2
make[2]: *** [CMakeFiles/mipsel-softmmu.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [unicorn/build/libunicorn.so] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions