You are not logged in.

#1 2017-02-21 19:51:15

lucaseem
Member
Registered: 2017-02-21
Posts: 2

[SOLVED] make assuming wrong version of arch linux.

Hi, thanks for stopping by.

Trying to compile device driver from CD ("ASUS PCE-AC51" wifi card). More specifically, 'make' encountered a problem - well, you can see the error codes:
Output of 'make' in makefile directory:

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.9.8-1-ARCH/build M=/home/luca/Desktop/driver-inst/PCE-AC51/linux_driver/driver  modules
make[1]: *** /lib/modules/4.9.8-1-ARCH/build: No such file or directory.  Stop.
make: *** [Makefile:1656: modules] Error 2

Indeed I navigate to the directory '/lib/modules/4.9.8-1-ARCH/' and I find 4.9.9-1 not 4.9.8-1:
Output of 'pwd':

/lib/modules/4.9.9-1-ARCH

But the output of 'uname -r':

4.9.8-1-ARCH

Feel free to request any further information, which will be profusely granted.

Needless to say, I am thoroughly baffled, and any help is graciously accepted.

Last edited by lucaseem (2017-02-21 20:19:29)

Offline

#2 2017-02-21 19:53:41

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,771

Re: [SOLVED] make assuming wrong version of arch linux.

Your kernel was upgraded in an upgrade and said upgrade has replaced your modules. But the kernel you are running on is still the old kernel. So now you need to load the new kernel which is usually done by rebooting.

Offline

#3 2017-02-21 20:19:05

lucaseem
Member
Registered: 2017-02-21
Posts: 2

Re: [SOLVED] make assuming wrong version of arch linux.

Needless to say, I am thoroughly un-baffled, and the help having been accepted worked! Although I am having compilation errors with the driver (which I shall try to futher investigate) the symptom in the title has been fixed. After 3 years in Arch, I feel like this question should be in the newbie corner! Slightly embarrassing, yet relieved.

Offline

Board footer

Powered by FluxBB