undefined reference to `tx4925_read_nfmc'

Thomas Gleixner tglx at linutronix.de
Fri Jun 11 06:11:56 EDT 2004

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. 

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
mail: tglx at linutronix.de

More information about the linux-mtd mailing list