Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#15382 closed defect (worksforme)

ramips doesn't compile since r39949

Reported by: Nilfred Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: kernel Version: Trunk
Keywords: ramips ralink nand r39949 BBT_BLOCK_WORN Cc:

Description

r39949 broke ralink compile
https://dev.openwrt.org/changeset/39949/trunk/target/linux/ramips/patches-3.10/0213-MTD-add-mt7621-nand-support.patch

  CC [M]  drivers/mtd/nand/nand_bbt.o
drivers/mtd/nand/nand_bbt.c: In function 'nand_markbad_bbt':
drivers/mtd/nand/nand_bbt.c:1394:2: error: implicit declaration of function 'bbt_mark_entry' [-Werror=implicit-function-declaration]
  bbt_mark_entry(this, block, BBT_BLOCK_WORN);
  ^
drivers/mtd/nand/nand_bbt.c:1394:30: error: 'BBT_BLOCK_WORN' undeclared (first use in this function)
  bbt_mark_entry(this, block, BBT_BLOCK_WORN);
                              ^
drivers/mtd/nand/nand_bbt.c:1394:30: note: each undeclared identifier is reported only once for each function it appears in
cc1: some warnings being treated as errors
make[7]: *** [drivers/mtd/nand/nand_bbt.o] Error 1
make[6]: *** [drivers/mtd/nand] Error 2
make[5]: *** [drivers/mtd] Error 2
make[4]: *** [drivers] Error 2
make[4]: Leaving directory `/mnt/dl/slave/ramips/build/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_rt305x/linux-3.10.32'

Attachments (0)

Change History (2)

comment:1 Changed 4 years ago by blogic

  • Resolution set to worksforme
  • Status changed from new to closed

comment:2 Changed 4 years ago by nbd

fixed in r40391

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.