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

pie/pie-a64-decoder.h: No such file or directory #6

Open
westlaker opened this issue Jun 29, 2018 · 3 comments
Open

pie/pie-a64-decoder.h: No such file or directory #6

westlaker opened this issue Jun 29, 2018 · 3 comments

Comments

@westlaker
Copy link

I followed the instruction trying to compile the code, got following error:

MAMBO: detected architecture "aarch64"
PIE: detected architecture "aarch64"
make --no-print-directory ARCH=a64 pie
make[3]: Nothing to be done for 'pie'.
cc -D_GNU_SOURCE -g -std=gnu99 -O2 -static -ldl -Wl,-Ttext-segment=0xa8000000 -DDBM_LINK_UNCOND_IMM -DDBM_INLINE_UNCOND_IMM -DDBM_LINK_COND_IMM -DDBM_LINK_CBZ -DDBM_LINK_TBZ -DDBM_TB_DIRECT -DLINK_BX_ALT -DDBM_INLINE_HASH -DDBM_TRACES -I/usr/include/libelf -o dbm dispatcher.S common.c dbm.c traces.c syscalls.c dispatcher.c signals.c util.S api/helpers.c api/plugin_support.c api/branch_decoder_support.c api/load_store.c elf_loader/elf_loader.o scanner_a64.c api/emit_a64.c pie/pie-a64-field-decoder.o pie/pie-a64-encoder.o pie/pie-a64-decoder.o -lelf -lpthread
signals.c:39:10: fatal error: pie/pie-a64-decoder.h: No such file or directory
#include "pie/pie-a64-decoder.h"
^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

and there is no pie-a64-decoder.h under subdirectory pie.

what I am missing?

thanks

@lgeek
Copy link
Member

lgeek commented Jun 30, 2018

Did you run git submodule init and git submodule update in the MAMBO directory?

@westlaker
Copy link
Author

Yes, I did.

under /pie subdirectory, we have only these headers, no pie-a64-decoder.h:

-rw-r--r-- 1 root root 11119 Jun 29 14:59 pie-a64-encoder.h
-rw-r--r-- 1 root root 12403 Jun 29 14:59 pie-a64-field-decoder.h

@lgeek
Copy link
Member

lgeek commented Jul 2, 2018

That's weird. Could you run make clean and then make in the pie/ directory and post the output here?

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