Skip to content

make error in ubuntu 18.04 #5

@QGB

Description

@QGB
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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions