Modify

Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#9812 closed defect (wontfix)

broadcom-wl doesn't compile on brcm47xx

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: broadcom, wl, brcm47xx Cc:

Description

trunk r27787

make[3]: Entering directory `/home/user/openwrt/trunk/package/broadcom-wl'
# Compile the kernel part
make -C "/home/user/openwrt/trunk/build_dir/linux-brcm47xx/linux-2.6.39.2" CROSS_COMPILE="mipsel-openwrt-linux-uclibc-" ARCH="mips" PATH="/home/user/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-linaro_uClibc-0.9.32/bin:/home/user/openwrt/trunk/staging_dir/host/bin:/home/user/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-linaro_uClibc-0.9.32/bin:/home/user/openwrt/trunk/staging_dir/host/bin:/home/user/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-linaro_uClibc-0.9.32/bin:/home/user/openwrt/trunk/staging_dir/host/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" SUBDIRS="/home/user/openwrt/trunk/build_dir/linux-brcm47xx/broadcom-wl-5.10.56.27.3/kmod"  SUBDIRS="/home/user/openwrt/trunk/build_dir/linux-brcm47xx/broadcom-wl-5.10.56.27.3/driver" MODFLAGS="-DMODULE -mlong-calls" modules
make[4]: Entering directory `/home/user/openwrt/trunk/build_dir/linux-brcm47xx/linux-2.6.39.2'
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: modpost: missing MODULE_LICENSE() in /home/user/openwrt/trunk/build_dir/linux-brcm47xx/broadcom-wl-5.10.56.27.3/driver/wl.o
see include/linux/module.h for more information
make[4]: Leaving directory `/home/user/openwrt/trunk/build_dir/linux-brcm47xx/linux-2.6.39.2'
make -C "/home/user/openwrt/trunk/build_dir/linux-brcm47xx/linux-2.6.39.2" CROSS_COMPILE="mipsel-openwrt-linux-uclibc-" ARCH="mips" PATH="/home/user/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-linaro_uClibc-0.9.32/bin:/home/user/openwrt/trunk/staging_dir/host/bin:/home/user/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-linaro_uClibc-0.9.32/bin:/home/user/openwrt/trunk/staging_dir/host/bin:/home/user/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-linaro_uClibc-0.9.32/bin:/home/user/openwrt/trunk/staging_dir/host/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" SUBDIRS="/home/user/openwrt/trunk/build_dir/linux-brcm47xx/broadcom-wl-5.10.56.27.3/kmod"  SUBDIRS="/home/user/openwrt/trunk/build_dir/linux-brcm47xx/broadcom-wl-5.10.56.27.3/driver-mini" MODFLAGS="-DMODULE -mlong-calls" BUILD_TYPE="wl_apsta_mini" modules
make[4]: Entering directory `/home/user/openwrt/trunk/build_dir/linux-brcm47xx/linux-2.6.39.2'
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: modpost: missing MODULE_LICENSE() in /home/user/openwrt/trunk/build_dir/linux-brcm47xx/broadcom-wl-5.10.56.27.3/driver-mini/wl.o
see include/linux/module.h for more information
make[4]: Leaving directory `/home/user/openwrt/trunk/build_dir/linux-brcm47xx/linux-2.6.39.2'
# Compile glue driver
make -C "/home/user/openwrt/trunk/build_dir/linux-brcm47xx/linux-2.6.39.2" CROSS_COMPILE="mipsel-openwrt-linux-uclibc-" ARCH="mips" PATH="/home/user/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-linaro_uClibc-0.9.32/bin:/home/user/openwrt/trunk/staging_dir/host/bin:/home/user/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-linaro_uClibc-0.9.32/bin:/home/user/openwrt/trunk/staging_dir/host/bin:/home/user/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-linaro_uClibc-0.9.32/bin:/home/user/openwrt/trunk/staging_dir/host/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" SUBDIRS="/home/user/openwrt/trunk/build_dir/linux-brcm47xx/broadcom-wl-5.10.56.27.3/kmod"  -C "/home/user/openwrt/trunk/build_dir/linux-brcm47xx/linux-2.6.39.2" SUBDIRS="/home/user/openwrt/trunk/build_dir/linux-brcm47xx/broadcom-wl-5.10.56.27.3/glue" modules                                        
make[4]: Entering directory `/home/user/openwrt/trunk/build_dir/linux-brcm47xx/linux-2.6.39.2'
  CC [M]  /home/user/openwrt/trunk/build_dir/linux-brcm47xx/broadcom-wl-5.10.56.27.3/glue/wl_glue.o
/home/user/openwrt/trunk/build_dir/linux-brcm47xx/broadcom-wl-5.10.56.27.3/glue/wl_glue.c: In function 'wl_glue_bcma_probe':
/home/user/openwrt/trunk/build_dir/linux-brcm47xx/broadcom-wl-5.10.56.27.3/glue/wl_glue.c:100:28: error: 'BCMA_HOSTTYPE_SOC' undeclared (first use in this function)
/home/user/openwrt/trunk/build_dir/linux-brcm47xx/broadcom-wl-5.10.56.27.3/glue/wl_glue.c:100:28: note: each undeclared identifier is reported only once for each function it appears in
/home/user/openwrt/trunk/build_dir/linux-brcm47xx/broadcom-wl-5.10.56.27.3/glue/wl_glue.c: In function 'wl_glue_init':
/home/user/openwrt/trunk/build_dir/linux-brcm47xx/broadcom-wl-5.10.56.27.3/glue/wl_glue.c:277:10: error: 'bcm47xx_active_bus_type' undeclared (first use in this function)
/home/user/openwrt/trunk/build_dir/linux-brcm47xx/broadcom-wl-5.10.56.27.3/glue/wl_glue.c:280:7: error: 'BCM47XX_BUS_TYPE_SSB' undeclared (first use in this function)
/home/user/openwrt/trunk/build_dir/linux-brcm47xx/broadcom-wl-5.10.56.27.3/glue/wl_glue.c:286:7: error: 'BCM47XX_BUS_TYPE_BCMA' undeclared (first use in this function)
make[5]: *** [/home/user/openwrt/trunk/build_dir/linux-brcm47xx/broadcom-wl-5.10.56.27.3/glue/wl_glue.o] Error 1
make[4]: *** [_module_/home/user/openwrt/trunk/build_dir/linux-brcm47xx/broadcom-wl-5.10.56.27.3/glue] Error 2
make[4]: Leaving directory `/home/user/openwrt/trunk/build_dir/linux-brcm47xx/linux-2.6.39.2'
make[3]: *** [/home/user/openwrt/trunk/build_dir/linux-brcm47xx/broadcom-wl-5.10.56.27.3/.built] Error 2
make[3]: Leaving directory `/home/user/openwrt/trunk/package/broadcom-wl'
make[2]: *** [package/broadcom-wl/compile] Error 2
make[2]: Leaving directory `/home/user/openwrt/trunk'
make[1]: *** [/home/user/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.32/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/user/openwrt/trunk'
make: *** [world] Errore 2

Attachments (0)

Change History (4)

comment:1 Changed 7 years ago by hauke

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

This is a know bug. Please use kernel 3.0 if you want wl. I will remove kernel 2.6.39 support for brcm47xx completely at the weekend. If you need a stable system use backfire rc5.

comment:2 Changed 7 years ago by anonymous

what is a kernel '3.0'?

comment:3 Changed 7 years ago by jmccrohan

The latest version of the Linux Kernel. 3.0 follows 2.6.39.

https://lkml.org/lkml/2011/7/21/455

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

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.