Centos 7 4.18.5 Make Error When Installing a Tool

Issues related to applications and software problems
Post Reply
ffl3883
Posts: 4
Joined: 2019/06/11 03:22:12

Centos 7 4.18.5 Make Error When Installing a Tool

Post by ffl3883 » 2019/06/12 21:55:34

Hello,

I am trying to install a tool called al_ahci to be able see a intel M.2 Drive in the system. I got the following error when make.

Code: Select all

make -C /lib/modules/4.18.5-hotplug-patch/build M=/root/al_ahci/ modules
make: *** /lib/modules/4.18.5-hotplug-patch/build: No such file or directory.  Stop.
make: *** [all] Error 2
Any suggestions ?

Thanks

ffl3883

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Centos 7 4.18.5 Make Error When Installing a Tool

Post by TrevorH » 2019/06/12 22:27:02

A Google for 'al_ahci' returns no hits. What is this kernel module you are trying to build and where did you get it from? And perhaps more importantly, what are you actually trying to do since M.2. drives just work on CentOS without anything else being added.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply