greggagne / osc10e Goto Github PK
View Code? Open in Web Editor NEWSource code for the 10th edition of Operating System Concepts
Source code for the 10th edition of Operating System Concepts
simple.c:89:9: error: implicit declaration of function ‘copy_to_user’; did you mean ‘raw_copy_to_user’? [-Werror=implicit-function-declaration]
89 | copy_to_user(usr_buf, buffer, rv);
| ^~~~~~~~~~~~
| raw_copy_to_user
Ubuntu 20.04
Linux kernel 5.4.0-42-generic
are there solutions for these?
Please update the Driver class Usage documentation. It should be java Driver <algorithm>
<scheduler>
I have downloaded the source, follow the section 'Kernel Modules Overview' and compile the source use 'make'.
I get this error message:
make -C /lib/modules/4.9.0-8-amd64/build M=/root/osc10e/ch2 modules
make[1]: *** /lib/modules/4.9.0-8-amd64/build: No such file or directory. Stop.
Makefile:3: recipe for target 'all' failed
make: *** [all] Error 2
I make the build directory manually. and then get this message:
make -C /lib/modules/4.9.0-8-amd64/build M=/root/osc10e/ch2 modules
make[1]: Entering directory '/lib/modules/4.9.0-8-amd64/build'
make[1]: *** No rule to make target 'modules'. Stop.
make[1]: Leaving directory '/lib/modules/4.9.0-8-amd64/build'
Makefile:3: recipe for target 'all' failed
make: *** [all] Error 2
The problem is the make cannot find the target, How can I rewrite my own makefile? I read the book, but no details to solve this problem.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.