Comments (6)
with command:
./autogen.sh
./configure --host=aarch64-linux-gnu
make
from ply.
Honest question: Are you happy with how you've formatted that output?
I'm over here providing free support and you can't be bothered to paste the log in a way that is at least somewhat readable. Normally I would paste it in my editor, fix the formatting, and try to give you some help. Unfortunately for you, you caught me on a bad day; sorry. Fix the formatting and I'll take a look at it.
from ply.
error: 'BPF_JSLE' undeclared
It seems that the kernel header version don't meet the ply.
@wkz Which version of ply support kernel version 4.9?
from ply.
My compilation environment is ubuntu x64(linux-4.4), and I'd like to cross compile ply for linux-5.4 arm64.
Any ideas or suggestions?
Thx
from ply.
BPF_JSLE
has been in the kernel since 4.14, so if you're building against 5.4 you should have no problems. The fact that you do have problems indicate one of the following:
- Something in your build environment is causing the compiler to use the host's headers.
- Your toolchain is built against headers that are older than 4.14
- Your toolchain is unable to find your 5.4 kernel's headers.
Have you installed your target's kernel headers somewhere in your toolchain's path? I.e. have you executed make headers_install
from your kernel?
from ply.
I made the following modification, and finally compiled it successfully.
make headers_install ARCH=arm64 INSTALL_HDR_PATH=/home/frank/project/kernel_head
CFLAGS="-I /home/frank/project/kernel_head/include" ./configure --host=aarch64-linux-gnu --
BR/frank
from ply.
Related Issues (20)
- build ply for arm64 target HOT 1
- cross compiling issue, run time error HOT 7
- help writing a program using ply HOT 5
- feature request: add module name to backtrace HOT 1
- YACC build error in ubuntu 18.04
- ply in QEMU: error: unable to create map 'stdbuf', errno:38 HOT 7
- question about cross compile HOT 4
- debugfs needs to be mounted before starting ply HOT 9
- How
- What's the reason about this error: syntax error, unexpected IDENT, expecting ')' ? HOT 1
- errno 22 on kprobe loading but the ply script runs! HOT 2
- Embedded linux system:Verifying kprobe... ERR:-22 HOT 3
- Does the "field:__data_loc " supported? HOT 3
- tracepoint_parse bug HOT 1
- ERR:75 & error: lost 36 events HOT 3
- How can aarch64_be be supported? HOT 1
- ply not compiling on linux <v5.5 because of BPF_FUNC_probe_read_kernel HOT 2
- tracepoint self-test failed HOT 1
- ply: compile.c:215: ply_compile: Assertion `!err' failed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ply.