You are not logged in.
Pages: 1
Hi,
I just installed arch and trying to compile something. I get this error:
$ make
make -C /lib/modules/3.14.29-1-lts/build M=/home/emre/homeworks/hw2/part1 modules
make[1]: *** /lib/modules/3.14.29-1-lts/build: No such file or directory. Stop.
Makefile:3: recipe for target 'all' failed
make: *** [all] Error 2
I tried the following:
'$ uname -r' command gives me: '3.14.29-1-lts' but my actual module is in '3.14.32-1-lts'
so I guess my uname is wrong? How can I change it? or Is my system broken?
Thank you for help!
Best
Offline
I suspect you simply haven't rebooted since your last kernel upgrade. The modules installed match the kernel installed, but uname reports the currently running kernel.
To Be A Dev: propose idea; invite feedback; mock, ridicule, and ostracize any critical feedback; but be warm and kind to those who kiss your ring.
Offline
Stop.
What is the output of pacman -Qi linux ?
It might be you have not rebooted since you updated your kernel. It might also be that your boot partition had not been mounted when you last updated your kernel.
Edit: Snaked by Trilby.
Last edited by ewaller (2015-02-10 23:14:39)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
yes, I don't think I have rebooted:
$ pacman -Qi linux
Name : linux
Version : 3.18.6-1
Description : The Linux kernel and modules
Architecture : i686
URL : http://www.kernel.org/
Licenses : GPL2
Groups : base
Provides : kernel26=3.18.6
it gives me a whole different version though. I have installed yaourt and been playing with that. I wonder if that has something to do with this?
Offline
Okay, do reboot. Then let's compare the versions returned by uname -a and by pacman -Qi linux
Once those agree, we can worry about the correct way to build modules. (Hint, let's try to not use make by hand).
BTW, can you post your /etc/fstab file?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
He seems to be using the linux-lts kernel. So, he should instead use the command pacman -Qi linux-lts.
Offline
He seems to be using the linux-lts kernel. So, he should instead use the command pacman -Qi linux-lts.
Good catch -- Thanks.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
it gives me a whole different version though. I have installed yaourt and been playing with that. I wonder if that has something to do with this?
If you have updated your system with yaourt then yes.
You can compare the last boot time to the installation time of the kernel with the following commands (use "linux" instead of "linux-lts" if you're using the normal kernel):
last -x | sed -n '/boot/{p;q;}'
pacman -Qi linux-lts | grep 'Install Date'
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
I use 'uptime -s' instead of last + sed.
Offline
I use 'uptime -s' instead of last + sed.
*makes note*
Nice
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
derp, posted in wrong thread, too many open tabs!
Last edited by Mr.Elendig (2015-03-05 12:06:14)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Pages: 1