Open ashek093 opened 3 months ago
This repo has a backport_3.10 branch which was intended for use in the old kernel you are running. Ensure you are checking out that branch.
However, that branch is 4 years old and hasn't been maintained. RHEL kernels also have a tendency of not being the same as the upstream kernels which, I believe, that branch was built for. So I would not be surprised if that doesn't work as well.
To be frank, if you need this driver to work on a kernel that is more than a decade old now, you are probably on your own.
Hi ,
I have downloaded the master branch of switchtec-kernel & tried to compile it on my Centos7.9 Machine, got below error.
make -C /lib/modules/3.10.0-1160.102.1.el7.x86_64/build M=$PWD modules make[1]: Entering directory `/usr/src/kernels/3.10.0-1160.102.1.el7.x86_64' CC [M] /home/Abhi/Switchtec/switchtec-kernel-master/switchtec.o /home/Abhi/Switchtec/switchtec-kernel-master/switchtec.c:25:41: fatal error: linux/io-64-nonatomic-lo-hi.h: No such file or directory
include <linux/io-64-nonatomic-lo-hi.h>
compilation terminated. make[2]: [/home/Abhi/Switchtec/switchtec-kernel-master/switchtec.o] Error 1 make[1]: [module/home/Abhi/Switchtec/switchtec-kernel-master] Error 2 make[1]: Leaving directory `/usr/src/kernels/3.10.0-1160.102.1.el7.x86_64' make: *** [modules] Error 2
Can anyone please help me on this to resolve & install it on my Centos Machine?