hiking90 / binder-linux Goto Github PK
View Code? Open in Web Editor NEWAndroid Binder for Linux Desktop
License: Apache License 2.0
Android Binder for Linux Desktop
License: Apache License 2.0
binder_linux: loading out-of-tree module taints kernel.
binder_linux: module verification failed: signature and/or required key missing - tainting kernel
Now, the build is depend on the "/usr/include/linux/android*", but the files here on the system may be not matched the binder codes.
For example:
I build your aosp 12 binder (checkout to the previous commit) on Ubuntu 24.04 whose linux-libc-dev's version 6.4, it failed:
/root/repos/nixwic/binder-linux/android/native/libs/binder/binder_module.h:48:8: error: redefinition of 'binder_freeze_info'
48 | struct binder_freeze_info {
| ^
/usr/include/linux/android/binder.h:220:8: note: previous definition is here
220 | struct binder_freeze_info {
It seems that the 6.4 kernel headfile has already contained many definitions in binder_module.h of AOSP12...
So I have to copy binder.h and binderfs.h from 5.4 kernel headfiles into the project.
Hi Jeff Kim
I'm following your instruction but there are some errors:
Build C/C++ binaries and libraries
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- The C compiler identification is Clang 14.0.0
-- The CXX compiler identification is Clang 14.0.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find FLEX (missing: FLEX_EXECUTABLE)
-- Could NOT find BISON (missing: BISON_EXECUTABLE)
CMake Error at CMakeLists.txt:397 (FLEX_TARGET):
Unknown CMake command "FLEX_TARGET".
-- Configuring incomplete, errors occurred!
Could you point me out what am I missing?
My kernel version: 5.16.5-051605-generic
Thank you in advanced!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.