Post here if you are a new Porteus member and you're looking for some help.
-
hope
- Black ninja
- Posts: 64
- Joined: 04 Jul 2020, 12:07
- Distribution: porteus 5.0rc1 KDE desktop
Post#1
by hope » 11 Jun 2023, 20:49
My cumputer has 32 bit i686 CPU.
I am trying to install a device driver to my Porteus. Warning message said that I need to activate "devel" module to use make. I downloaded the module from
http://ftp.vim.org/ftp/os/Linux/distr/p ... -devel.xzm. I can activate the module successfully. However, at the end, when install script ends, it gives :
Code: Select all
bash: /usr/bin/make cannot execute binary file Exec format error
Why I saw this error, and how can I solve it? I want to install the device driver.
Thanks.
Last edited by
hope on 12 Jun 2023, 12:21, edited 1 time in total.
Newbie to Linux-Unix systems, try to read,learn, apply, modify and create.
hope
-
hope
- Black ninja
- Posts: 64
- Joined: 04 Jul 2020, 12:07
- Distribution: porteus 5.0rc1 KDE desktop
Post#3
by hope » 12 Jun 2023, 11:28
Thanks roadie, file in the link solved the error, but new one appeared : , can you help me about that too?
Code: Select all
make[1]: *** /lib/modules/5.12.14-porteus/build/No such file or directory
I looked to that location and found a file called build which is a link to
/usr/src/linux but there is no file called
linux there. Does that mean I need to download new module?
Thanks.
Newbie to Linux-Unix systems, try to read,learn, apply, modify and create.
hope
-
beny
- Full of knowledge
- Posts: 2098
- Joined: 02 Jan 2011, 11:33
- Location: italy
Post#4
by beny » 12 Jun 2023, 11:49
hi make is linked to this kernel ..have you? lib/modules/5.12.14-porteus you need crippled-source for this kernel because it need the build directory.
beny
-
hope
- Black ninja
- Posts: 64
- Joined: 04 Jul 2020, 12:07
- Distribution: porteus 5.0rc1 KDE desktop
Post#5
by hope » 12 Jun 2023, 12:20
Hi and thanks beny, I downloaded crippled-source module and activate it and finally it worked thanks.
Newbie to Linux-Unix systems, try to read,learn, apply, modify and create.
hope