compile error (undefined reference to jffs2_getlink) forkernel 2.4.26

Kevin Liao kevinliao at
Thu Mar 3 03:40:39 EST 2005

On Thu, 2005-03-03 at 16:28+0800, Thomas Gleixner wrote:
> On Thu, 2005-03-03 at 12:52 +0800, Kevin Liao wrote:
>> I use the snapshop 20050302 to patch kernel 2.4.26 for ARM. I get the
>> following
>> error messages when I try to "make zImage":
>> fs/fs.o(.text+0x37944): In function `jffs2_readlink':
>> : undefined reference to `jffs2_getlink'
>> fs/fs.o(.text+0x3799c): In function `jffs2_follow_link':
>> : undefined reference to `jffs2_getlink'
>> drivers/mtd/mtdlink.o(.text+0x5f28): In function
>> `cfi_intelext_partition_fixup':
>> : undefined reference to `__ffs'
>> I find this function "jffs2_getlink" should be in jffs2/read.c but it's 
>> does
>> not
>> exist. Should I wait for later snapshop or I can fix it manuly? Thank a 
>> lot!
> Read
> tglx

Thanks for the reply. Actully I had read it before I ask this question.
According to the webpage, the kernel version I used should be ok.
I think the root cause is not the kernel version. Because I serach
the whole directory extracted from snapshop 20050302 but found
no implementation for jffs2_getlink function. Maybe I search the
wrong place?


More information about the linux-mtd mailing list