Hi, and thanks for pushing support of this program!
However, I'm getting a bunch of compilation errors. The first one I think I have a possible solution to.
"ISO C90 forbids mixed declarations and code", found a fix here: https://stackoverflow.com/questions/13291353/iso-c90-forbids-mixed-declarations-and-code-in-c
On my system at least the compiler was defaulting to some outdated standard (c89).
BTW, I'm running Linux Mint 18.2 64bit on an Intel Core duo p9700.
I added the following to the Makefile, and the ISO C90 error disapeared:
CC = gcc
ccflags-y = -Wall -std=c99
After this I run into some issues with the included kernel.h, which is far beyond my scope of understanding :) Error output from trying to "make" in the /module folder is attached.
kernel_make_results.txt
Switching to c99 doesn't work here because this will cause errors in the kernel header files which can't be changed.
Changing the source code to fix the error would be more appropriate.
Hi, and thanks for pushing support of this program!
However, I'm getting a bunch of compilation errors. The first one I think I have a possible solution to. "ISO C90 forbids mixed declarations and code", found a fix here: https://stackoverflow.com/questions/13291353/iso-c90-forbids-mixed-declarations-and-code-in-c On my system at least the compiler was defaulting to some outdated standard (c89). BTW, I'm running Linux Mint 18.2 64bit on an Intel Core duo p9700.
I added the following to the Makefile, and the ISO C90 error disapeared: CC = gcc ccflags-y = -Wall -std=c99
After this I run into some issues with the included kernel.h, which is far beyond my scope of understanding :) Error output from trying to "make" in the /module folder is attached. kernel_make_results.txt