#21974: bcm47xx Compile Failure
---------------------------+--------------------------------
 Reporter:  Sumas          |      Owner:  developers
     Type:  defect         |     Status:  new
 Priority:  high           |  Milestone:
Component:  base system    |    Version:  Chaos Calmer 15.05
 Keywords:  mips broadcom  |
---------------------------+--------------------------------
 bcm47xx/nvram.o seems to fail compilation under CC. Subtarget was mips74k.
 End of Make output:


 {{{
 arch/mips/bcm47xx/nvram.c:236:5: error: redefinition of
 'bcm47xx_nvram_gpio_pin'
  int bcm47xx_nvram_gpio_pin(const char *name)
      ^
 In file included from arch/mips/bcm47xx/nvram.c:20:0:
 include/linux/bcm47xx_nvram.h:34:19: note: previous definition of
 'bcm47xx_nvram_gpio_pin' was here
  static inline int bcm47xx_nvram_gpio_pin(const char *name)
                    ^
 arch/mips/bcm47xx/nvram.c:257:7: error: redefinition of
 'bcm47xx_nvram_get_contents'
  char *bcm47xx_nvram_get_contents(size_t *nvram_size)
        ^
 In file included from arch/mips/bcm47xx/nvram.c:20:0:
 include/linux/bcm47xx_nvram.h:39:21: note: previous definition of
 'bcm47xx_nvram_get_contents' was here
  static inline char *bcm47xx_nvram_get_contents(size_t *val_len)
                      ^
 scripts/Makefile.build:257: recipe for target 'arch/mips/bcm47xx/nvram.o'
 failed
 make[7]: *** [arch/mips/bcm47xx/nvram.o] Error 1
 scripts/Makefile.build:402: recipe for target 'arch/mips/bcm47xx' failed
 make[6]: *** [arch/mips/bcm47xx] Error 2
 Makefile:937: recipe for target 'arch/mips' failed
 make[5]: *** [arch/mips] Error 2
 make[5]: Leaving directory '/home/xx/OpenWRT/openwrt/build_dir/target-
 mipsel_74kc+dsp2_uClibc-0.9.33.2/linux-brcm47xx_mips74k/linux-3.18.27'
 Makefile:29: recipe for target '/home/xx/OpenWRT/openwrt/build_dir/target-
 mipsel_74kc+dsp2_uClibc-0.9.33.2/linux-
 brcm47xx_mips74k/linux-3.18.27/.image' failed
 make[4]: *** [/home/xx/OpenWRT/openwrt/build_dir/target-
 mipsel_74kc+dsp2_uClibc-0.9.33.2/linux-
 brcm47xx_mips74k/linux-3.18.27/.image] Error 2
 make[4]: Leaving directory
 '/home/xx/OpenWRT/openwrt/target/linux/brcm47xx'
 Makefile:13: recipe for target 'install' failed
 make[3]: *** [install] Error 2
 make[3]: Leaving directory '/home/xx/OpenWRT/openwrt/target/linux'
 target/Makefile:21: recipe for target 'target/linux/install' failed
 make[2]: *** [target/linux/install] Error 2
 make[2]: Leaving directory '/home/xx/OpenWRT/openwrt'
 target/Makefile:17: recipe for target
 '/home/xx/OpenWRT/openwrt/staging_dir/target-
 mipsel_74kc+dsp2_uClibc-0.9.33.2/stamp/.target_install' failed
 make[1]: *** [/home/xx/OpenWRT/openwrt/staging_dir/target-
 mipsel_74kc+dsp2_uClibc-0.9.33.2/stamp/.target_install] Error 2
 make[1]: Leaving directory '/home/xx/OpenWRT/openwrt'
 /home/xx/OpenWRT/openwrt/include/toplevel.mk:181: recipe for target
 'world' failed
 make: *** [world] Error 2
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/21974>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to