| Summary: |
crosstap doesn't work with error: runtime_defines.h: No such file or directory |
| Product: |
[Build System, Metadata & Runtime] Meta-yocto
|
Reporter: |
Yi Zhao <yi.zhao> |
| Component: |
meta-yocto | Assignee: |
Saul Wold <sgw> |
| Status: |
RESOLVED
WORKSFORME
|
QA Contact: |
Yi Zhao <yi.zhao> |
| Severity: |
normal
|
|
|
| Priority: |
Medium
|
CC: |
jose.perez.carranza, poky.bs.watcher, poky.watcher, sgw, yi.zhao
|
| Version: |
2.3 | |
|
| Target Milestone: |
2.4 | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
Regression (Used to work)
|
|
Verified:
|
|
Documentation change:
|
No (bug/feature does not impact docs)
|
Git rev: master/573c646d4cc62dcd0c230381df4940bdf314d495 Steps: 1. Create the trace_open.stp script: probe syscall.open { printf ("%s(%d) open\n", execname(), pid()) } 2. bitbake core-image-sato-sdk bitbake systemtap-native 3. Launch the qemux86 4. Run "crosstap root@192.168.7.2 trace_open.stp" Error message: $ crosstap root@192.168.7.2 trace_open.stp /buildarea/jenkins-yocto/workspace/Yocto2.3-kernel_module_compilation_crosstap/build /buildarea/jenkins-yocto/workspace/Yocto2.3-kernel_module_compilation_crosstap/build /buildarea/jenkins-yocto/workspace/Yocto2.3-kernel_module_compilation_crosstap/build /tmp/stapgZH1Z6/trace_open_src.c:10:29: fatal error: runtime_defines.h: No such file or directory #include "runtime_defines.h" ^ compilation terminated. make[3]: *** [/tmp/stapgZH1Z6/trace_open_src.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [_module_/tmp/stapgZH1Z6] Error 2 make[1]: *** [sub-make] Error 2 make: *** [__sub-make] Error 2 WARNING: kbuild exited with status: 2 Pass 4: compilation failed. [man error::pass4]