Comments (4)
Update I tried with:
make ARCH=x86_64 CROSS_COMPILE=x86_64-linux-android- CC=x86_64-linux-android25-clang KSRC=~/dlink-decompile/common KDIR=~/dlink-decompile/common
But I got:
make[1]: Entering directory '/home/pcmagas/dlink-decompile/common'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
You are using: Android (11889484, +pgo, +bolt, +lto, +mlgo, based on r522817) clang version 18.0.1 (https://android.googlesource.com/toolchain/llvm-project d8003a456d14a3deb8054cdaa529ffbf02d9b262)
make[2]: *** No rule to make target 'scripts/mod/modpost', needed by '/home/pcmagas/dlink-decompile/rtl8188eus/Module.symvers'. Stop.
make[1]: *** [Makefile:2009: modpost] Error 2
make[1]: Leaving directory '/home/pcmagas/dlink-decompile/common'
make: *** [Makefile:2065: modules] Error 2
And I am stuck
from rtl8188eus.
hi,
never tried that but:
- doesn't it say that you try to use other compiler (
clang
) than kernel needs (gcc
)? - do you use same kernel version sources as your device runs?
from rtl8188eus.
hi, never tried that but:
1. doesn't it say that you try to use other compiler (`clang`) than kernel needs (`gcc`)? 2. do you use same kernel version sources as your device runs?
Then I switched into GCC via trying:
make -C /home/pcmagas/dlink-decompile/common M=/home/pcmagas/dlink-decompile/rtl8188eus KSRC=~/dlink-decompile/common KDIR=~/dlink-decompile/common ARCH=x86_64
make: Entering directory '/home/pcmagas/dlink-decompile/common'
MODPOST /home/pcmagas/dlink-decompile/rtl8188eus/Module.symvers
WARNING: Module.symvers is missing.
Modules may not have dependencies or modversions.
You may get many unresolved symbol warnings.
make: Leaving directory '/home/pcmagas/dlink-decompile/common'
My folder structure is:
dlink-decompile
-- common << Android Kernel
-- rtl8188eus
I build the android kernel using:
mkdir dlink-decompile
cd dlink-decompile
git clone https://android.googlesource.com/kernel/common.git
git checkout android14-6.1-2024-04\_r11
$ make mrproper
$ make menuconfig
$ make scripts
$ make -j$(nproc)
Then I tried building te driver like this:
git clone https://github.com/aircrack-ng/rtl8188eus.git
make -C /home/pcmagas/dlink-decompile/common M=/home/pcmagas/dlink-decompile/rtl8188eus KSRC=~/dlink-decompile/common KDIR=~/dlink-decompile/common ARCH=x86_64
And so far I saw the file Module.symvers
to be missing:
make -C /home/pcmagas/dlink-decompile/common M=/home/pcmagas/dlink-decompile/rtl8188eus KSRC=~/dlink-decompile/common KDIR=~/dlink-decompile/common ARCH=x86_64
make: Entering directory '/home/pcmagas/dlink-decompile/common'
MODPOST /home/pcmagas/dlink-decompile/rtl8188eus/Module.symvers
WARNING: symversis missing.
Modules may not have dependencies or modversions.
You may get many unresolved symbol warnings.
make: Leaving directory '/home/pcmagas/dlink-decompile/common'
How I can make the missing file???
from rtl8188eus.
i don't think that you have any issues with the rtl8188eus
driver itself but with how to compile and install any driver under your android, so it could be better to search and ask in android-related groups/communities how to do so.
from rtl8188eus.
Related Issues (20)
- Make error on Raspberry Pi HOT 1
- issues bringing up phy1
- Cannot install on Kali nethunter
- Unable to receive manually crafted data frames
- make error on 6.5.0-kali1-arm64 in UTM HOT 3
- Make error HOT 5
- autoconf.h not found HOT 1
- Kernel notification HOT 1
- Can't Install ! rmmod error
- kernel v6.6
- Mac address changes automatically HOT 21
- Arch, Kernel v6.7 make error HOT 2
- Can't compile for Kernel 6.7.3 (Fedora 39) HOT 1
- Make error HOT 1
- array-index-out-of-bounds in /var/lib/dkms/8188eu/5.3.9/build/core/rtw_wlan_util.c:1831:34 … when enabling hotspot … causes programs to hang and prevent shutdown. HOT 6
- Unable to get two AWUS036NHV's to ping in IBSS mode HOT 1
- Unable to compile program HOT 4
- Unable to set the Mesh Mode
- help in rtl8xxxu 6.8.11-amd64
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 rtl8188eus.