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 all falling on centos #141

Open
qiangzi11hao opened this issue Aug 16, 2019 · 1 comment
Open

make all falling on centos #141

qiangzi11hao opened this issue Aug 16, 2019 · 1 comment

Comments

@qiangzi11hao
Copy link

BUILD_DIR=build-3.10.0-957.21.3.el7.x86_64
tools/mkdriver.pl driver-kmem ;
tools/build.pl build-3.10.0-957.21.3.el7.x86_64 uname -m
Executing: /home/ansible/dtrace_v1/tools/make-me
ERROR: /lib/modules/3.10.0-957.21.3.el7.x86_64/build does not exist.
gcc -o build-3.10.0-957.21.3.el7.x86_64/kcore tools/kcore.c
tools/check_dep.pl
tools/mkport.pl
/tmp/ccc4TGit.o: In function main': root.dwarf.c:(.text+0x1f): undefined reference to dwarf_loclist'
collect2: error: ld returned 1 exit status
old_rsp=10600
grep: /usr/src/kernels/3.10.0-957.21.3.el7.x86_64/include/linux/fs.h: No such file or directory
tools/libgcc.pl
tools/mksyscall.pl
Processing (32): /usr/include/asm/unistd_32.h
Creating: build-3.10.0-957.21.3.el7.x86_64/driver/syscalls-x86.tbl - 351 entries
Processing (64): /usr/include/asm/unistd_64.h
Creating: build-3.10.0-957.21.3.el7.x86_64/driver/syscalls-x86-64.tbl - 320 entries
make all0
cd tests ; make --no-print-directory
case uname -m in
x86_64)
cc -m64 -g -o ../build-3.10.0-957.21.3.el7.x86_64/sys64 syscalls.c ;
cc -m32 -g -o ../build-3.10.0-957.21.3.el7.x86_64/sys32 syscalls.c || true ;
;;
i686)
cc -m32 -g -o ../build-3.10.0-957.21.3.el7.x86_64/sys32 syscalls.c ;
;;
arm*)
cc -g -o ../build-3.10.0-957.21.3.el7.x86_64/sys32 syscalls.c ;
;;
esac
cd libctf ; make --no-print-directory
cd libdtrace ; make --no-print-directory
cd liblinux ; make --no-print-directory
cd libproc/common ; make --no-print-directory
cd librtld ; make --no-print-directory
cd cmd/dtrace ; make --no-print-directory
cd cmd/ctfconvert ; make --no-print-directory
make[3]: Nothing to be done for `all1'.
cd cmd/instr ; make --no-print-directory
cd usdt/c ; make --no-print-directory
tools/mkdriver.pl driver-kmem all
Executing: /home/ansible/dtrace_v1/tools/make-me
ERROR: /lib/modules/3.10.0-957.21.3.el7.x86_64/build does not exist.
make[1]: *** [kernel] Error 1
tools/bug.sh
make: *** [all] 错误 1

@AIDeepx
Copy link

AIDeepx commented May 18, 2020

I have the same mistake as you. Have you solved it?

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