Undefined errno reference while compiling loadable module
I think I'm gonna kill myself. This is so stupid... Of course I've looked for a solution all over the net and beyond. No luck, except for the fact that it could be somehow related to linux/unistd.h. I've modified such file and no luck again.
I make NO USE of errno in my code. Here is my Makefile: Quote:
Here is the make output: Quote:
And of course insmod refuses to load deiso.ko because of the undefined reference. Any help appreciated THANKS |
try
#include <errno.h> |
Quote:
|
yea you are right it should be <linux/errno.h>
please forgive as i bat about more non helpfull things but the real thing that bothers me is Code:
Entering directory `/usr/src/linux-headers-2.6.12-9-386' the only thing i know with the word headers in it is userspace Linux-Libc-Headers /lib/modules/`uname -r` needs to be the actual directory used to compile your currently running kernel almost always just named linux-x.y.x unless you changed its name for some reason |
All times are GMT -5. The time now is 11:44 PM. |