Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Almalinux 9 (again): error: assignment of read-only member ‘vm_flags’ #519

@fishbonesnl

Description

@fishbonesnl

Hello again,

I downloaded the latest master.zip and tried to compile it on the latest Almalinux 9, starting with a clean install.
I get the follow error message during make:

~/CoreFreq/build/module/corefreqk.c: In function ‘CoreFreqK_mmap’:
~/CoreFreq/build/module/corefreqk.c:23538:23: error: assignment of read-only member ‘vm_flags’ 23538 | vma->vm_flags = VM_READ; | ^ compilation terminated due to -Wfatal-errors.
uname -a
Linux condor 5.14.0-503.14.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 19 21:25:22 EST 2024 x86_64 x86_64 x86_64 GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions