Code Monkey home page Code Monkey logo

Comments (4)

pc-magas avatar pc-magas commented on August 16, 2024

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.

gglluukk avatar gglluukk commented on August 16, 2024

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?

from rtl8188eus.

pc-magas avatar pc-magas commented on August 16, 2024

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.

gglluukk avatar gglluukk commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.