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

Redhat7.8编译不通过 #125

Open
1374250553 opened this issue Aug 4, 2021 · 3 comments
Open

Redhat7.8编译不通过 #125

1374250553 opened this issue Aug 4, 2021 · 3 comments

Comments

@1374250553
Copy link

cd SOURCE/module; make --jobs=1
make[1]: Entering directory /software/diagnose-tools/SOURCE/module' make CFLAGS_MODULE="-DMODULE -DCENTOS_7U -DCENTOS_3_10_1127" -C /lib/modules/3.10.0-1127.el7.x86_64/build M=/software/diagnose-tools/SOURCE/module modules make: Entering an unknown directory make: *** /lib/modules/3.10.0-1127.el7.x86_64/build: No such file or directory. Stop. make: Leaving an unknown directory make[1]: *** [default] Error 2 make[1]: Leaving directory /software/diagnose-tools/SOURCE/module'
make: *** [module] Error 2

[root@redhat diagnose-tools]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.8 (Maipo)

@imshi
Copy link

imshi commented Aug 5, 2021

同样的问题,求解惑~

  1. 编译安装环境一:系统版本:CentOS 7.4 内核版本:3.10.0-693.2.2.el7.x86_64
  2. 编译安装环境一:系统版本:CentOS 7.9 内核版本:3.10.0-1160.11.1.el7.x86_64

@imshi
Copy link

imshi commented Aug 5, 2021

没装内核开发包,安装一下就行了

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

3 participants