Modify

Opened 3 years ago

Closed 3 years ago

#17566 closed defect (wontfix)

r42021 breaks build - BCMA_CHIP_ID_BCM43131 is undefined

Reported by: pdffs Owned by: developers
Priority: high Milestone: Barrier Breaker 14.07
Component: packages Version: Barrier Breaker 14.07
Keywords: Cc:

Description

Change to patch 800-b43-backports-form-wireless-testing-master-master-20.patch introduced in r42021 results in build failure:

CC [M]  build_dir/target-x86_64_uClibc-0.9.33.2/linux-x86_64_generic/compat-wireless-2014-05-22/drivers/net/wireless/b43/main.o
build_dir/target-x86_64_uClibc-0.9.33.2/linux-x86_64_generic/compat-wireless-2014-05-22/drivers/net/wireless/b43/main.c: In function 'b
43_mac_switch_freq':
build_dir/target-x86_64_uClibc-0.9.33.2/linux-x86_64_generic/compat-wireless-2014-05-22/drivers/net/wireless/b43/main.c:3003:17: error:
 'BCMA_CHIP_ID_BCM43131' undeclared (first use in this function)
  if (chip_id == BCMA_CHIP_ID_BCM43131 ||
                 ^
build_dir/target-x86_64_uClibc-0.9.33.2/linux-x86_64_generic/compat-wireless-2014-05-22/drivers/net/wireless/b43/main.c:3003:17: note:
each undeclared identifier is reported only once for each function it appears in
make[10]: *** [build_dir/target-x86_64_uClibc-0.9.33.2/linux-x86_64_generic/compat-wireless-2014-05-22/drivers/net/wireless/b43/main.o]
 Error 1

Attachments (1)

r42021-14.07-fix.patch (1.3 KB) - added by pdffs 3 years ago.
Patch to fix r42021 backport for 14.07

Download all attachments as: .zip

Change History (5)

comment:1 Changed 3 years ago by hauke

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

Your kernel is probably outdated, please run "make target/linux/clean"

Changed 3 years ago by pdffs

Patch to fix r42021 backport for 14.07

comment:2 Changed 3 years ago by pdffs

  • Resolution worksforme deleted
  • Status changed from closed to reopened

I found this during a full clean build. The 3.10.49 kernel in 14.07 does not support this device (kernel at r42271, with offending line removed from patch):

grep -Ir BCMA_CHIP_ID_BCM43131 build_dir/target-x86_64_uClibc-0.9.33.2/linux-x86_64_generic/

Returns no results. The only reference to BCMA_CHIP_ID_BCM43131 anywhere for 14.07 is in that patch, which obviously works on trunk, where there's a newer kernel, but that ID should have been removed in the backport.

The above patch is how I've fixed it for my build.

comment:3 Changed 3 years ago by hauke

This id was added in this changeset: r42020

Do you have any local modification to OpenWrt or do you use a different kernel?

comment:4 Changed 3 years ago by hauke

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

I do not see the x86_64 taregt in BB where did you get it from? Please tell us that you did some local modifications to OpenWrt when opening a ticket.

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.