Modify

Opened 5 years ago

Closed 5 years ago

#13848 closed defect (fixed)

ar71xx nand: build failure with 3.10 kernel

Reported by: raver@… Owned by: developers
Priority: normal Milestone:
Component: kernel Version: Trunk
Keywords: ar71xx nand Cc:

Description

Hi,
Build fails with new 3.10 kernel (r37215):

scripts/kconfig/conf --silentoldconfig Kconfig
net/sched/Kconfig:43: warning: menuconfig statement without prompt
warning: (ATH79_MACH_WZR_HP_G300NH) selects RTL8366_SMI which has unmet direct dependencies (NETDEVICES && PHYLIB && GENERIC_GPIO)
#
# configuration written to .config
#
warning: (ATH79_MACH_WZR_HP_G300NH) selects RTL8366_SMI which has unmet direct dependencies (NETDEVICES && PHYLIB && GENERIC_GPIO)
make[5]: Leaving directory `/home/raver/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/linux-ar71xx_nand/linux-3.10'
make[5]: Entering directory `/home/raver/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/linux-ar71xx_nand/linux-3.10'
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CC      scripts/mod/devicetable-offsets.s
  GEN     scripts/mod/devicetable-offsets.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTLD  scripts/mod/modpost
  CHK     include/generated/compile.h
  CC      fs/yaffs2/yaffs_vfs_glue.o
fs/yaffs2/yaffs_vfs_glue.c: In function 'init_yaffs_fs':
fs/yaffs2/yaffs_vfs_glue.c:3703:2: error: implicit declaration of function 'create_proc_entry' [-Werror=implicit-function-declaration]
fs/yaffs2/yaffs_vfs_glue.c:3703:16: warning: assignment makes pointer from integer without a cast [enabled by default]
fs/yaffs2/yaffs_vfs_glue.c:3708:16: error: dereferencing pointer to incomplete type
fs/yaffs2/yaffs_vfs_glue.c:3709:16: error: dereferencing pointer to incomplete type
fs/yaffs2/yaffs_vfs_glue.c:3710:16: error: dereferencing pointer to incomplete type
fs/yaffs2/yaffs_vfs_glue.c:3714:19: warning: assignment makes pointer from integer without a cast [enabled by default]
fs/yaffs2/yaffs_vfs_glue.c:3719:19: error: dereferencing pointer to incomplete type
fs/yaffs2/yaffs_vfs_glue.c:3720:19: error: dereferencing pointer to incomplete type
fs/yaffs2/yaffs_vfs_glue.c:3721:19: error: dereferencing pointer to incomplete type
cc1: some warnings being treated as errors
make[7]: *** [fs/yaffs2/yaffs_vfs_glue.o] Error 1
make[6]: *** [fs/yaffs2] Error 2
make[5]: *** [fs] Error 2
make[5]: Leaving directory `/home/raver/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/linux-ar71xx_nand/linux-3.10'
make[4]: *** [/home/raver/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/linux-ar71xx_nand/linux-3.10/.image] Error 2
make[4]: Leaving directory `/home/raver/OpenWrt/trunk/target/linux/ar71xx'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/home/raver/OpenWrt/trunk/target/linux'
make[2]: *** [target/linux/install] Error 2
make[2]: Leaving directory `/home/raver/OpenWrt/trunk'
make[1]: *** [/home/raver/OpenWrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.target_install] Error 2
make[1]: Leaving directory `/home/raver/OpenWrt/trunk'
make: *** [world] Error 2

Attachments (1)

kidkraft logo.jpg (163.5 KB) - added by Slavon 3 years ago.
Bob Foster

Download all attachments as: .zip

Change History (6)

comment:1 follow-up: Changed 5 years ago by anonymous

make dirclean

make prereq

make menuconfig (check your settings)

make world

comment:2 in reply to: ↑ 1 Changed 5 years ago by raver@…

Replying to anonymous:

make dirclean

make prereq

make menuconfig (check your settings)

make world

Thanks for the tip.
I think I really didn't run make dirclean, only make clean.
I'll try it tomorrow then.

comment:3 in reply to: ↑ description Changed 5 years ago by brainsucker

actually create_proc_entry is replaced with create_proc in 3.10, don't think any kind of dirclean will help with that :)

comment:4 Changed 5 years ago by brainsucker

considering the fact yaffs2 wasn't yet patched for 3.10 (to replace deprecated create_proc_entry function and write_proc/read_proc members of
proc_dir_entry structure with proc_create + file_operations) and mikrotik's are only devices using nand/yaffs2 with openwrt I think we are little stuck here. :(

comment:5 Changed 5 years ago by nbd

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

fixed in r37285

Changed 3 years ago by Slavon

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.