Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to try out the example in README on CentOS 7 #1

Closed
kaushalmodi opened this issue Jul 1, 2020 · 2 comments
Closed

Unable to try out the example in README on CentOS 7 #1

kaushalmodi opened this issue Jul 1, 2020 · 2 comments

Comments

@kaushalmodi
Copy link

Hello,

I am unable to understand the lower level details of this project, but I tried to see if attempting to run the example in README helps me understand this better.

When I do this:

cd module
./build

I get this error:

/home/kmodi/sandbox/nim/batch/module/batch.c:5:10: fatal error: linux/batch.h: No such file or directory
    5 | #include <linux/batch.h>                /* struct syscall, __NR_batch */
      |          ^~~~~~~~~~~~~~~
compilation terminated.

Also I don't have sudo/root to my work machine. So I don't think that I will be able to try out this project any ways.

@kaushalmodi
Copy link
Author

I created this issue just to respond to c-blake/cligen#156 (comment). I don't think there's anything to be fixed here.

@c-blake
Copy link
Owner

c-blake commented Jul 1, 2020

Well, it should be better/more clear for the next passer by. Thanks for poking it. You definitely need root/superuser access to insmod.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants