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

make error in ubuntu 18.04 #5

Open
QGB opened this issue Dec 17, 2022 · 1 comment
Open

make error in ubuntu 18.04 #5

QGB opened this issue Dec 17, 2022 · 1 comment

Comments

@QGB
Copy link

QGB commented Dec 17, 2022

In [49]: !make
make -C /lib/modules/5.4.0-132-generic/build M=/home/qgb/github/execmon/kmod
make[1]: Entering directory '/usr/src/linux-headers-5.4.0-132-generic'
  CC      /home/qgb/github/execmon/kmod/libudis86/decode.o
/home/qgb/github/execmon/kmod/libudis86/decode.c: In function ‘decode_operand’:
/home/qgb/github/execmon/kmod/libudis86/decode.c:744:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
       u->br_far  = 1;
       ~~~~~~~~~~~^~~
/home/qgb/github/execmon/kmod/libudis86/decode.c:746:5: note: here
     case OP_M:
     ^~~~
/home/qgb/github/execmon/kmod/libudis86/decode.c:747:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
       if (MODRM_MOD(modrm(u)) == 3) {
          ^
/home/qgb/github/execmon/kmod/libudis86/decode.c:751:5: note: here
     case OP_E:
     ^~~~
/home/qgb/github/execmon/kmod/libudis86/decode.c:766:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
       if (MODRM_MOD(modrm(u)) != 3) {
          ^
/home/qgb/github/execmon/kmod/libudis86/decode.c:770:5: note: here
     case OP_Q:
     ^~~~
/home/qgb/github/execmon/kmod/libudis86/decode.c:777:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
       if (MODRM_MOD(modrm(u)) != 3) {
          ^
/home/qgb/github/execmon/kmod/libudis86/decode.c:781:5: note: here
     case OP_W:
     ^~~~
  CC      /home/qgb/github/execmon/kmod/libudis86/itab.o
  CC      /home/qgb/github/execmon/kmod/libudis86/udis86.o
  AR      /home/qgb/github/execmon/kmod/libudis86/built-in.a
  AR      /home/qgb/github/execmon/kmod/built-in.a
  CC [M]  /home/qgb/github/execmon/kmod/main.o
  CC [M]  /home/qgb/github/execmon/kmod/mem.o
  CC [M]  /home/qgb/github/execmon/kmod/syscalls.o
  CC [M]  /home/qgb/github/execmon/kmod/comm.o
  CC [M]  /home/qgb/github/execmon/kmod/proto.o
make[2]: *** No rule to make target '/home/qgb/github/execmon/kmod/libudis86/built-in.o', needed by '/home/qgb/github/execmon/kmod/execmon.o'.  Stop.
Makefile:1765: recipe for target '/home/qgb/github/execmon/kmod' failed
make[1]: *** [/home/qgb/github/execmon/kmod] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-132-generic'
Makefile:10: recipe for target 'all' failed
make: *** [all] Error 2

sys info

In [38]: !uname -a
Linux ubuntu 5.4.0-132-generic #148~18.04.1-Ubuntu SMP Mon Oct 24 20:41:14 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

In [39]: !cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.6 LTS"

@QGB
Copy link
Author

QGB commented Dec 17, 2022

@kfiros

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

1 participant