You are not logged in.

#1 2020-12-02 08:57:08

ArcticStag
Member
Registered: 2020-09-14
Posts: 46

[SOLVED] Unable to Build from Source

Hi All,

I am having a bit of an issue with building from source and I am sure that I am doing something really silly (or not doing something)

Here is the error log when attempting my build.

make && make install
/bin/sh: bc: command not found
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.9.11-arch2-1/build M=/home/arctic/rtl8188eus  modules
make[1]: *** /lib/modules/5.9.11-arch2-1/build: No such file or directory.  Stop.
make: *** [Makefile:2059: modules] Error 2

Please let me know if you want or need any additional logs or outputs?

Thank you in advance!

Last edited by ArcticStag (2020-12-02 10:30:20)

Offline

#2 2020-12-02 09:02:59

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,777

Re: [SOLVED] Unable to Build from Source

You should not install things like this while bypassing pacman, you'll have files flying around that you're likely to forget why they were where they were.

You will want to go with https://aur.archlinux.org/packages/8188eu-dkms-git/ for this case and if you don't know how the AUR works you should read https://wiki.archlinux.org/index.php/Ar … Repository

To literally answer the question you seem to lack a few basic tools, the base-devel group would provide most of what's necessary here and the linux-headers to build a kernel module, but you should read the AUR link and install the correct driver as a package which will direct you to install these anyway.

Last edited by V1del (2020-12-02 09:03:55)

Offline

#3 2020-12-02 09:24:03

ArcticStag
Member
Registered: 2020-09-14
Posts: 46

Re: [SOLVED] Unable to Build from Source

So I tried your suggestion and tried to install the AUR package that you recommended and I received the following error?

==> Unable to install module 8188eu/5.2.2.4.r774.60cb0b5 for kernel *: Missing kernel headers.

I am sure that I am doing something wrong. I installed fresh Arch, using Base Linux and Linux firmware as well as the Base-Devel packages I am not really sure where I have gone wrong

Offline

#4 2020-12-02 09:40:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,777

Re: [SOLVED] Unable to Build from Source

You need the kernel headers for the kernel you are using, in case of the normal linux package you need to install linux-headers.

Offline

#5 2020-12-02 10:29:57

ArcticStag
Member
Registered: 2020-09-14
Posts: 46

Re: [SOLVED] Unable to Build from Source

Thank you very much. That has solved the issue. I did not realise that the header does not come with the base install

Offline

Board footer

Powered by FluxBB