|
Accepted Answer
|
|||
|
That submission became kind of garbled, and hard to read. Here, I tried to clean it up for you - is this somewhat what you attempted to post? Makefile: Sample program: Executed command: Error message: There seems to be something lacking though, e.g. there are include-statements that don't refer to anything specific. It would be helpful if you could open a new question with cleaner formatting of all the file contents, so that we can reproduce your error locally and look for it. I'll attempt to answer it anyway though. I think you might have gotten the syntax a bit wrong - but I'm no expert on makefiles, so you may well be using alternative but legal syntax. Could you try using a makefile like this instead: By the way, is it really correct that KERNELSRC should point to the current working directory? And is it correct to use O=$(KERNELSRC)module, not O=$(KERNELSRC)/module? |
|||
|
|||
|
10
Answers
|
|
10
Answers
|
|
4
Answers
|
|
27
Answers
|
|
27
Answers
|
|
0
Answers
|
|
3
Answers
|
|
2
Answers
|
|
1
Answer
|
|
2
Answers
|
The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.
Join / Linux Training / Board