* undefined reference to `tx4925_read_nfmc'
@ 2004-06-11 9:46 Jason Chen
2004-06-11 10:11 ` Thomas Gleixner
0 siblings, 1 reply; 4+ messages in thread
From: Jason Chen @ 2004-06-11 9:46 UTC (permalink / raw)
To: linux-mtd
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: undefined reference to `tx4925_read_nfmc'
2004-06-11 9:46 undefined reference to `tx4925_read_nfmc' Jason Chen
@ 2004-06-11 10:11 ` Thomas Gleixner
2004-06-11 10:47 ` Jason Chen
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Gleixner @ 2004-06-11 10:11 UTC (permalink / raw)
To: Jason Chen, linux-mtd
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: undefined reference to `tx4925_read_nfmc'
2004-06-11 10:11 ` Thomas Gleixner
@ 2004-06-11 10:47 ` Jason Chen
2004-06-11 10:48 ` Thomas Gleixner
0 siblings, 1 reply; 4+ messages in thread
From: Jason Chen @ 2004-06-11 10:47 UTC (permalink / raw)
To: tglx; +Cc: linux-mtd
There are no "tx4925_nand.h" in my kernel source. I use "tx4925.h"
instead of it, but it seems to lack something. Please kindly tell me
where can I find it?
Thanks in advance.
Jason Chen
Thomas Gleixner ??:
>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.
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: undefined reference to `tx4925_read_nfmc'
2004-06-11 10:47 ` Jason Chen
@ 2004-06-11 10:48 ` Thomas Gleixner
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Gleixner @ 2004-06-11 10:48 UTC (permalink / raw)
To: Jason Chen; +Cc: linux-mtd
On Friday 11 June 2004 12:47, Jason Chen wrote:
> There are no "tx4925_nand.h" in my kernel source. I use "tx4925.h"
> instead of it, but it seems to lack something. Please kindly tell me
> where can I find it?
This file is not part of the mtd subsystem.
Ask mvista / toshiba or contact the driver author. Alice will have it around
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-06-11 10:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-11 9:46 undefined reference to `tx4925_read_nfmc' Jason Chen
2004-06-11 10:11 ` Thomas Gleixner
2004-06-11 10:47 ` Jason Chen
2004-06-11 10:48 ` Thomas Gleixner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox