Modify

Opened 4 years ago

Closed 3 years ago

#15011 closed defect (fixed)

Can't build rt288x base board

Reported by: firecode95@… Owned by: developers
Priority: high Milestone: Chaos Calmer 15.05
Component: base system Version: Trunk
Keywords: Cc:

Description

The building latest runk proceed this build error for anyone rt288x base board same error comes if I select "Default profile" or "F5D8235 V1":

scripts/kconfig/conf --silentoldconfig Kconfig
net/sched/Kconfig:43: warning: menuconfig statement without prompt
*
* Restart config...
*
*
* Machine selection
*
System type
  1. Alchemy processor based machines (MIPS_ALCHEMY)
  2. Texas Instruments AR7 (AR7)
  3. Atheros AR71XX/AR724X/AR913X based boards (ATH79)
  4. Broadcom BCM47XX based boards (BCM47XX)
  5. Broadcom BCM63XX based boards (BCM63XX)
  6. Cobalt Server (MIPS_COBALT)
  7. DECstations (MACH_DECSTATION)
  8. Jazz family of machines (MACH_JAZZ)
  9. Ingenic JZ4740 based machines (MACH_JZ4740)
  10. Lantiq based platforms (LANTIQ)
  11. LASAT Networks platforms (LASAT)
  12. Loongson family of machines (MACH_LOONGSON)
  13. Loongson 1 family of machines (MACH_LOONGSON1)
  14. MIPS Malta board (MIPS_MALTA)
  15. MIPS SEAD3 board (MIPS_SEAD3)
  16. NEC EMMA2RH Mark-eins board (NEC_MARKEINS)
  17. NEC VR4100 series based machines (MACH_VR41XX)
  18. NXP STB220 board (NXP_STB220)
  19. NXP 225 board (NXP_STB225)
  20. PMC-Sierra MSP chipsets (PMC_MSP)
  21. Cisco PowerTV (POWERTV)
> 22. Ralink based machines (RALINK)
  23. SGI IP22 (Indy/Indigo2) (SGI_IP22)
  24. SGI IP27 (Origin200/2000) (SGI_IP27)
  25. SGI IP28 (Indigo2 R10k) (SGI_IP28)
  26. SGI IP32 (O2) (SGI_IP32)
  27. Sibyte BCM91120C-CRhine (SIBYTE_CRHINE)
  28. Sibyte BCM91120x-Carmel (SIBYTE_CARMEL)
  29. Sibyte BCM91125C-CRhone (SIBYTE_CRHONE)
  30. Sibyte BCM91125E-Rhone (SIBYTE_RHONE)
  31. Sibyte BCM91250A-SWARM (SIBYTE_SWARM)
  32. Sibyte BCM91250C2-LittleSur (SIBYTE_LITTLESUR)
  33. Sibyte BCM91250E-Sentosa (SIBYTE_SENTOSA)
  34. Sibyte BCM91480B-BigSur (SIBYTE_BIGSUR)
  35. SNI RM200/300/400 (SNI_RM)
  36. Toshiba TX39 series based machines (MACH_TX39XX)
  37. Toshiba TX49 series based machines (MACH_TX49XX)
  38. Mikrotik RB532 boards (MIKROTIK_RB532)
  39. Wind River PPMC board (WR_PPMC)
  40. Cavium Networks Octeon Simulator (CAVIUM_OCTEON_SIMULATOR)
  41. Cavium Networks Octeon reference board (CAVIUM_OCTEON_REFERENCE_BOARD)
  42. Netlogic XLR/XLS based systems (NLM_XLR_BOARD)
  43. Netlogic XLP based systems (NLM_XLP_BOARD)
choice[1-43]: 22
Ralink SoC selection
> 1. RT288x (SOC_RT288X)
  2. RT305x (SOC_RT305X)
  3. RT3883 (SOC_RT3883)
  4. MT7620 (SOC_MT7620)
  5. MT7621 (SOC_MT7621) (NEW)
choice[1-5?]: 1
Devicetree selection
> 1. None (DTB_RT_NONE)
  2. RT2880 eval kit (DTB_RT2880_EVAL)
choice[1-2?]: 1
#
# configuration written to .config
#
make[5]: Leaving directory `/media/firecode95/source/openwrt/openwrt/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.10.28'
make[5]: Entering directory `/media/firecode95/source/openwrt/openwrt/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.10.28'
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CC      scripts/mod/devicetable-offsets.s
  GEN     scripts/mod/devicetable-offsets.h
  HOSTCC  scripts/mod/file2alias.o
  CALL    scripts/checksyscalls.sh
  HOSTLD  scripts/mod/modpost
  CC      init/main.o
  CHK     include/generated/compile.h
  CC      init/do_mounts.o
  CC      init/do_mounts_initrd.o
  CC      init/initramfs.o
  CC      init/calibrate.o
  CC      init/init_task.o
  UPD     include/generated/compile.h
  CC      init/version.o
  HOSTCC  usr/gen_init_cpio
  CC      arch/mips/ralink/prom.o
  CC      arch/mips/ralink/of.o
  CC      arch/mips/ralink/reset.o
  CC      arch/mips/kernel/cpu-probe.o
  GEN     usr/initramfs_data.cpio
  CC      arch/mips/kernel/branch.o
  CC      arch/mips/ralink/clk.o
  AS      usr/initramfs_data.o
  CC      arch/mips/ralink/timer.o
  CC      arch/mips/ralink/irq.o
  LD      usr/built-in.o
  CC      arch/mips/ralink/rt288x.o
  CC      arch/mips/ralink/early_printk.o
  LD      init/mounts.o
  LD      init/built-in.o
arch/mips/ralink/rt288x.c:23:33: error: array type has incomplete element type
arch/mips/ralink/rt288x.c:25:3: error: field name not in record or union initializer
arch/mips/ralink/rt288x.c:25:3: error: (near initialization for 'mode_mux')
arch/mips/ralink/rt288x.c:26:3: error: field name not in record or union initializer
arch/mips/ralink/rt288x.c:26:3: error: (near initialization for 'mode_mux')
arch/mips/ralink/rt288x.c:27:3: error: field name not in record or union initializer
arch/mips/ralink/rt288x.c:27:3: error: (near initialization for 'mode_mux')
arch/mips/ralink/rt288x.c:28:3: error: field name not in record or union initializer
arch/mips/ralink/rt288x.c:28:3: error: (near initialization for 'mode_mux')
arch/mips/ralink/rt288x.c:30:3: error: field name not in record or union initializer
arch/mips/ralink/rt288x.c:30:3: error: (near initialization for 'mode_mux')
arch/mips/ralink/rt288x.c:31:3: error: field name not in record or union initializer
arch/mips/ralink/rt288x.c:31:3: error: (near initialization for 'mode_mux')
arch/mips/ralink/rt288x.c:32:3: error: field name not in record or union initializer
arch/mips/ralink/rt288x.c:32:3: error: (near initialization for 'mode_mux')
arch/mips/ralink/rt288x.c:33:3: error: field name not in record or union initializer
arch/mips/ralink/rt288x.c:33:3: error: (near initialization for 'mode_mux')
arch/mips/ralink/rt288x.c:35:3: error: field name not in record or union initializer
arch/mips/ralink/rt288x.c:35:3: error: (near initialization for 'mode_mux')
arch/mips/ralink/rt288x.c:36:3: error: field name not in record or union initializer
arch/mips/ralink/rt288x.c:36:3: error: (near initialization for 'mode_mux')
arch/mips/ralink/rt288x.c:37:3: error: field name not in record or union initializer
arch/mips/ralink/rt288x.c:37:3: error: (near initialization for 'mode_mux')
arch/mips/ralink/rt288x.c:38:3: error: field name not in record or union initializer
arch/mips/ralink/rt288x.c:38:3: error: (near initialization for 'mode_mux')
arch/mips/ralink/rt288x.c:40:3: error: field name not in record or union initializer
arch/mips/ralink/rt288x.c:40:3: error: (near initialization for 'mode_mux')
arch/mips/ralink/rt288x.c:41:3: error: field name not in record or union initializer
arch/mips/ralink/rt288x.c:41:3: error: (near initialization for 'mode_mux')
arch/mips/ralink/rt288x.c:42:3: error: field name not in record or union initializer
arch/mips/ralink/rt288x.c:42:3: error: (near initialization for 'mode_mux')
arch/mips/ralink/rt288x.c:43:3: error: field name not in record or union initializer
arch/mips/ralink/rt288x.c:43:3: error: (near initialization for 'mode_mux')
arch/mips/ralink/rt288x.c:45:3: error: field name not in record or union initializer
arch/mips/ralink/rt288x.c:45:3: error: (near initialization for 'mode_mux')
arch/mips/ralink/rt288x.c:46:3: error: field name not in record or union initializer
arch/mips/ralink/rt288x.c:46:3: error: (near initialization for 'mode_mux')
arch/mips/ralink/rt288x.c:47:3: error: field name not in record or union initializer
arch/mips/ralink/rt288x.c:47:3: error: (near initialization for 'mode_mux')
arch/mips/ralink/rt288x.c:48:3: error: field name not in record or union initializer
arch/mips/ralink/rt288x.c:48:3: error: (near initialization for 'mode_mux')
arch/mips/ralink/rt288x.c:50:3: error: field name not in record or union initializer
arch/mips/ralink/rt288x.c:50:3: error: (near initialization for 'mode_mux')
arch/mips/ralink/rt288x.c:51:3: error: field name not in record or union initializer
arch/mips/ralink/rt288x.c:51:3: error: (near initialization for 'mode_mux')
arch/mips/ralink/rt288x.c:52:3: error: field name not in record or union initializer
arch/mips/ralink/rt288x.c:52:3: error: (near initialization for 'mode_mux')
arch/mips/ralink/rt288x.c:53:3: error: field name not in record or union initializer
arch/mips/ralink/rt288x.c:53:3: error: (near initialization for 'mode_mux')
arch/mips/ralink/rt288x.c:55:3: error: field name not in record or union initializer
arch/mips/ralink/rt288x.c:55:3: error: (near initialization for 'mode_mux')
arch/mips/ralink/rt288x.c:56:3: error: field name not in record or union initializer
arch/mips/ralink/rt288x.c:56:3: error: (near initialization for 'mode_mux')
arch/mips/ralink/rt288x.c:57:3: error: field name not in record or union initializer
arch/mips/ralink/rt288x.c:57:3: error: (near initialization for 'mode_mux')
arch/mips/ralink/rt288x.c:58:3: error: field name not in record or union initializer
arch/mips/ralink/rt288x.c:58:3: error: (near initialization for 'mode_mux')
arch/mips/ralink/rt288x.c:72:8: error: variable 'rt_gpio_pinmux' has initializer but incomplete type
arch/mips/ralink/rt288x.c:73:2: error: unknown field 'mode' specified in initializer
arch/mips/ralink/rt288x.c:73:2: warning: excess elements in struct initializer [enabled by default]
arch/mips/ralink/rt288x.c:73:2: warning: (near initialization for 'rt_gpio_pinmux') [enabled by default]
arch/mips/ralink/rt288x.c:74:2: error: unknown field 'wdt_reset' specified in initializer
arch/mips/ralink/rt288x.c:74:2: warning: excess elements in struct initializer [enabled by default]
arch/mips/ralink/rt288x.c:74:2: warning: (near initialization for 'rt_gpio_pinmux') [enabled by default]
arch/mips/ralink/rt288x.c:23:33: warning: 'mode_mux' defined but not used [-Wunused-variable]
make[6]: *** [arch/mips/ralink/rt288x.o] Error 1
make[6]: *** Waiting for unfinished jobs....
  CC      arch/mips/math-emu/kernel_linkage.o
  AS      arch/mips/kernel/entry.o
  CC      arch/mips/mm/cache.o
  AS      arch/mips/kernel/genex.o
  CC      arch/mips/mm/dma-default.o
  CC      kernel/fork.o
make[5]: *** [arch/mips/ralink] Error 2
make[5]: *** Waiting for unfinished jobs....
  CC      kernel/exec_domain.o
  CC      arch/mips/kernel/idle.o
  CC      arch/mips/kernel/irq.o
  LD      arch/mips/math-emu/built-in.o
  CC      arch/mips/kernel/process.o
  CC      arch/mips/kernel/prom.o
  CC      arch/mips/kernel/ptrace.o
  CC      arch/mips/mm/extable.o
  CC      arch/mips/mm/fault.o
  CC      kernel/panic.o
  CC      arch/mips/kernel/reset.o
  CC      arch/mips/kernel/setup.o
  CC      arch/mips/mm/gup.o
  CC      arch/mips/kernel/signal.o
  CC      arch/mips/kernel/syscall.o
  CC      arch/mips/kernel/time.o
  CC      arch/mips/mm/init.o
  CC      kernel/printk.o
  CC      arch/mips/kernel/topology.o
  CC      arch/mips/mm/mmap.o
  CC      arch/mips/kernel/traps.o
  CC      arch/mips/kernel/unaligned.o
  CC      arch/mips/kernel/watch.o
  CC      arch/mips/kernel/vdso.o
  CC      kernel/cpu.o
  CC      arch/mips/mm/page.o
  AS      arch/mips/mm/page-funcs.o
  CC      arch/mips/kernel/cevt-r4k.o
  CC      arch/mips/mm/tlbex.o
  CC      arch/mips/kernel/csrc-r4k.o
  CC      arch/mips/kernel/mips_ksyms.o
  CC      kernel/exit.o
  CC      arch/mips/kernel/module.o
  AS      arch/mips/kernel/r4k_fpu.o
  AS      arch/mips/kernel/r4k_switch.o
  CC      arch/mips/kernel/spram.o
  CC      arch/mips/kernel/irq_cpu.o
  AS      arch/mips/kernel/scall32-o32.o
  CC      arch/mips/kernel/proc.o
  AS      arch/mips/mm/tlbex-fault.o
  CC      arch/mips/mm/uasm-mips.o
  CC      arch/mips/kernel/early_printk.o
  AS      arch/mips/kernel/head.o
  CC      kernel/itimer.o
  LDS     arch/mips/kernel/vmlinux.lds
  HZFILE  kernel/hz.bc
  CC      kernel/softirq.o
  CC      kernel/resource.o
  CC      kernel/sysctl.o
  CC      arch/mips/mm/ioremap.o
  LD      arch/mips/kernel/built-in.o
  CC      arch/mips/mm/pgtable-32.o
  CC      arch/mips/mm/c-r4k.o
  CC      kernel/sysctl_binary.o
  AS      arch/mips/mm/cex-gen.o
  CC      arch/mips/mm/tlb-r4k.o
  CC      kernel/capability.o
  CC      kernel/ptrace.o
  CC      kernel/timer.o
  CC      kernel/user.o
  CC      kernel/signal.o
  CC      kernel/sys.o
  CC      kernel/kmod.o
  CC      kernel/workqueue.o
  CC      kernel/pid.o
  LD      arch/mips/mm/built-in.o
  LD      arch/mips/built-in.o
  CC      kernel/task_work.o
  CC      kernel/rcupdate.o
  CC      kernel/extable.o
  CC      kernel/params.o
  CC      kernel/posix-timers.o
  CC      kernel/kthread.o
  CC      kernel/wait.o
  CC      kernel/sys_ni.o
  CC      kernel/posix-cpu-timers.o
  CC      kernel/mutex.o
  CC      kernel/hrtimer.o
  CC      kernel/rwsem.o
  CC      kernel/nsproxy.o
  CC      kernel/srcu.o
  CC      kernel/semaphore.o
  CC      kernel/notifier.o
  CC      kernel/ksysfs.o
  CC      kernel/cred.o
  CC      kernel/async.o
  CC      kernel/range.o
  CC      kernel/groups.o
  CC      kernel/lglock.o
  CC      kernel/smpboot.o
  CC      kernel/cpu/idle.o
  CC      kernel/irq/irqdesc.o
  CC      kernel/power/qos.o
  CC      kernel/sched/core.o
  CC      kernel/time/timekeeping.o
  CC      kernel/futex.o
  CC      kernel/rtmutex.o
  CC      kernel/up.o
  LD      kernel/cpu/built-in.o
  CC      kernel/irq/handle.o
  CC      kernel/module.o
  CC      kernel/power/poweroff.o
  CC      kernel/kallsyms.o
  LD      kernel/power/built-in.o
  CC      kernel/rcutiny.o
  CC      kernel/irq/manage.o
kernel/module.c:1139:12: warning: 'try_to_force_load' defined but not used [-Wunused-function]
  CC      kernel/utsname_sysctl.o
  CC      kernel/elfcore.o
  CC      kernel/irq_work.o
  CC      kernel/crashlog.o
  BC      kernel/timeconst.h
  CC      kernel/time/ntp.o
  CC      kernel/time.o
  CC      kernel/irq/spurious.o
  CC      kernel/irq/resend.o
  CC      kernel/irq/chip.o
  CC      kernel/irq/dummychip.o
  CC      kernel/irq/devres.o
  CC      kernel/irq/autoprobe.o
  CC      kernel/irq/irqdomain.o
  CC      kernel/sched/clock.o
  CC      kernel/sched/cputime.o
  CC      kernel/irq/proc.o
  CC      kernel/time/clocksource.o
  CC      kernel/sched/idle_task.o
  CC      kernel/sched/fair.o
  CC      kernel/time/jiffies.o
  CC      kernel/time/timer_list.o
  CC      kernel/time/timeconv.o
  CC      kernel/sched/rt.o
  CC      kernel/time/posix-clock.o
  CC      kernel/sched/stop_task.o
  LD      kernel/irq/built-in.o
  CC      kernel/time/alarmtimer.o
  CC      kernel/time/clockevents.o
  CC      kernel/time/tick-common.o
  CC      kernel/time/tick-oneshot.o
  CC      kernel/time/tick-sched.o
  LD      kernel/sched/built-in.o
  LD      kernel/time/built-in.o
  LD      kernel/built-in.o
make[5]: Leaving directory `/media/firecode95/source/openwrt/openwrt/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.10.28'
make[4]: *** [/media/firecode95/source/openwrt/openwrt/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.10.28/.image] Error 2
make[4]: Leaving directory `/media/firecode95/source/openwrt/openwrt/target/linux/ramips'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/media/firecode95/source/openwrt/openwrt/target/linux'
make[2]: *** [target/linux/install] Error 2
make[2]: Leaving directory `/media/firecode95/source/openwrt/openwrt'
make[1]: *** [/media/firecode95/source/openwrt/openwrt/staging_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/stamp/.target_install] Error 2
make[1]: Leaving directory `/media/firecode95/source/openwrt/openwrt'
make: *** [world] Error 2

Attachments (0)

Change History (1)

comment:1 Changed 3 years ago by jogo

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

Since there are rt288x builds for BB, I assume this was fixed in the mean time.

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.