Re: Problems compiling kernel modules

From: Lee Revell
Date: Sat Aug 21 2004 - 16:04:50 EST


On Sat, 2004-08-21 at 16:46, Lei Yang wrote:
> What about multi-file module?
>
> Say test.c doesn't include stdio.h, while there is some other .c file
> which is to be compiled and linked into test.ko, include stdio?
>
> Would that work?
>

Are you just trying to print from a kernel module? Use printk.

The kernel does not really have its own standard input and standard
output - the kernel manages those things for processes.

Lee

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/