undefined reference to `tx4925_read_nfmc'

Jason Chen
2004-06-11T09:45:52Z

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'
drivers/mtd/mtdlink.o: In function `tx4925ndfmc_nand_read_byte':
drivers/mtd/mtdlink.o(.text+0x13b4c): undefined reference to
`tx4925_read_nfmc'
drivers/mtd/mtdlink.o: In function `tx4925ndfmc_nand_write_byte':
drivers/mtd/mtdlink.o(.text+0x13b78): undefined reference to
`tx4925_write_nfmc'
drivers/mtd/mtdlink.o: In function `tx4925ndfmc_nand_write_buf':
drivers/mtd/mtdlink.o(.text+0x13bc4): undefined reference to
`tx4925_write_nfmc'
drivers/mtd/mtdlink.o: In function `tx4925ndfmc_nand_read_buf':
drivers/mtd/mtdlink.o(.text+0x13c2c): undefined reference to
`tx4925_read_nfmc'
drivers/mtd/mtdlink.o: In function `tx4925ndfmc_nand_verify_buf':
drivers/mtd/mtdlink.o(.text+0x13c98): undefined reference to
`tx4925_read_nfmc'
make: *** [vmlinux] Error 1

Please help,

Thanks in advance.

Jason Chen