Subject: Re: mmotm 2020-05-25-16-56 uploaded (mtd/nand/raw/arasan-nand-controller)

From: Miquel Raynal <[email-masked]>
Date: Tue, 26 May 2020 21:37:54 +0200

Hi Randy,

Randy Dunlap <[email-masked]> wrote on Mon, 25 May 2020 23:56:53
-0700:

> On 5/25/20 4:57 PM, Andrew Morton wrote:
> > The mm-of-the-moment snapshot 2020-05-25-16-56 has been uploaded to
> > 
> >    http://www.ozlabs.org/~akpm/mmotm/
> > 
> > mmotm-readme.txt says
> > 
> > README for mm-of-the-moment:
> > 
> > http://www.ozlabs.org/~akpm/mmotm/
> > 
> > This is a snapshot of my -mm patch queue.  Uploaded at random hopefully
> > more than once a week.
> > 
> > You will need quilt to apply these patches to the latest Linus release (5.x
> > or 5.x-rcY).  The series file is in broken-out.tar.gz and is duplicated in
> > http://ozlabs.org/~akpm/mmotm/series
> > 
> > The file broken-out.tar.gz contains two datestamp files: .DATE and
> > .DATE-yyyy-mm-dd-hh-mm-ss.  Both contain the string yyyy-mm-dd-hh-mm-ss,
> > followed by the base kernel version against which this patch series is to
> > be applied.  
> 
> on i386:
> 
> ld: drivers/mtd/nand/raw/arasan-nand-controller.o: in function `anfc_detach_chip':
> arasan-nand-controller.c:(.text+0x872): undefined reference to `bch_free'
> ld: drivers/mtd/nand/raw/arasan-nand-controller.o: in function `anfc_read_page_hw_ecc':
> arasan-nand-controller.c:(.text+0x18ec): undefined reference to `bch_decode'
> ld: drivers/mtd/nand/raw/arasan-nand-controller.o: in function `anfc_attach_chip':
> arasan-nand-controller.c:(.text+0x214d): undefined reference to `bch_init'
> 
> 
> Full randconfig file is attached.
> 
> Maybe select BCH?
> 
> If that doesn't work, sometimes in lib/Makefile, the target has to be
> in lib- instead of in obj-.
> 
> 

It's fixed now, indeed I forgot to select BCH in Kconfig, thanks for
the warning!

Cheers,
Miquèl