Skip to content

Not able to compile switchtec-kernel on Centos7.9 with 3.10.0-1160.102 Kernel #121

@ashek093

Description

@ashek093

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions