Re: undefined reference to `tx4925_read_nfmc'

Thomas Gleixner
2004-06-11T10:17:25Z

On Friday 11 June 2004 11:46, Jason Chen wrote:
> Hello sir/madam;
>
> I'am working on Toshiba TX4925 board with Linux 2.4.22 and I want to use
> jffs2 on NAND flash. I have run the mtd patch on my kernel, but now my
> kernel doesn't compile anymore, the error message is:
>
> drivers/mtd/mtdlink.o: In function `tx4925ndfmc_readecc':
> drivers/mtd/mtdlink.o(.text+0x13ab4): undefined reference to
> `tx4925_read_nfmc'

This function is a macro / inline and not part of the mtd subsystem.

#include <asm/tx4925/tx4925_nand.h>

should contain this.

--
Thomas
_____________________________________________________________________
From slash dot org
"When customers are visiting, engineers are not allowed to wear ties.
That way the customer can tell who is the engineer and who is the
salesman (and therefore whom to believe.). Ties cut off blood flow
to the brain, making it easier for the salesmen to do their jobs."
_____________________________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx@linutronix.de