clnhub / rtl8192eu-linux

Realtek rtl8192eu official Linux driver, versions: 5.2.19.1 (master), 5.6.3.1, 5.6.4 and 5.11.2.1 (default)
442 stars 90 forks source link

If i change the line to "CONFIG_PLATFORM_I386_PC = n" it doesn't install! #101

Open davingthe opened 2 months ago

davingthe commented 2 months ago

I'm running Elementary OS 7.1 - kernel 6.5.0-27-generic

Here is what i got from terminal after try to install:

Kernel preparation unnecessary for this kernel. Skipping...

Building module: cleaning build area... 'make' -j2 all KVER=6.5.0-27-generic...(bad exit status: 2) Error! Bad return status for module build on kernel: 6.5.0-27-generic (x86_64) Consult /var/lib/dkms/rtl8192eu/1.0/build/make.log for more information.

And here is the content of "make.log":

DKMS make.log for rtl8192eu-1.0 for kernel 6.5.0-27-generic (x86_64) qui 11 abr 2024 17:14:59 -03 make ARCH= CROSS_COMPILE= -C M=/var/lib/dkms/rtl8192eu/1.0/build modules make[1]: M=/var/lib/dkms/rtl8192eu/1.0/build: Arquivo ou diretório inexistente. Pare. make: [Makefile:2462: modules] Erro 2

ps: Sorry for any mistakes, I'm just starting.

clnhub commented 1 month ago

Yeah, CONFIG_PLATFORM_I386_PC is just the default setting for x86 (64) (your platform). You should only change that if you are compiling for a different architecture like ARM.

Not setting an architecture is probably not the best idea, but you can always try.