compile error when using MEMREADOOB in do_mounts.c.
Thomas Gleixner
tglx at linutronix.de
Fri Jan 3 03:52:32 EST 2003
On Friday 03 January 2003 08:56, Paul Wong wrote:
> Dear All,
>
> I modified the init/do_mounts.c to want to skip the invalid block. and
> than make bzImage, that result say: undefined reference to 'ioctl'. What is
> the problem?
ioctl is part of userspace library. You can not use glibc functions inside the
kernel.
What's the deeper sense of this modification ? Bad block handling is done by
the filesystem and the mtd drivers.
--
Thomas
____________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx at linutronix.de
More information about the linux-mtd
mailing list