so I've cloned this github repository https://github.com/xiangzhai/rt5370 It's a drive for my wifi adapter. My problem is that whenever I try to use the "make" command, it returns this error
/lib/modules/5.3.7-gentoo--g243aa7022-dirty/build No such file or directory
This is what I've tried so far
emerge --sync
emerge linux-header
emerge build
No luck, could anyone help me please I've been trying to fix the issue for hours now
which build
, oremerge --info | grep build
/lib/modules/{kernel-version}/build
is a symbolic link to the source directory that was used to build those modules. For example/lib/modules/5.10.27-gentoo/build -> /usr/src/linux-5.10.27-gentoo/
It looks like you're missing that build directory.