Modify

Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#8808 closed defect (fixed)

Recent trunk revisions, error to compile wl_broadcom driver with brcm63xx target

Reported by: RollerDK Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Kamikaze trunk
Keywords: Cc:

Description

Hi,

I'm trying to compile (trunk revision 25381)the wl_broadcom_propietary_driver on brcm63xx target and I got the following error.

/home/xxxxxxx/openwrt/kamikaze/trunk/build_dir/linux-brcm63xx/broadcom-wl-5.10.56.27.3/driver/hnddma.c:2142: warning: passing argument 1 of 'osl_cached' discards qualifiers from pointer target type
/home/xxxxxxx/openwrt/kamikaze/trunk/build_dir/linux-brcm63xx/broadcom-wl-5.10.56.27.3/driver/hnddma.c:2143: warning: passing argument 1 of 'osl_cached' discards qualifiers from pointer target type
  CC [M]  /home/xxxxxx/openwrt/kamikaze/trunk/build_dir/linux-brcm63xx/broadcom-wl-5.10.56.27.3/driver/bcmsrom.o
/home/xxxxxxxx/openwrt/kamikaze/trunk/build_dir/linux-brcm63xx/broadcom-wl-5.10.56.27.3/driver/bcmsrom.c: In function 'initvars_srom_pci':
/home/xxxxxxx/openwrt/kamikaze/trunk/build_dir/linux-brcm63xx/broadcom-wl-5.10.56.27.3/driver/bcmsrom.c:2140: error: implicit declaration of function 'ssb_get_fallback_sprom'
/home/xxxxxxx/openwrt/kamikaze/trunk/build_dir/linux-brcm63xx/broadcom-wl-5.10.56.27.3/driver/bcmsrom.c:2140: warning: assignment makes pointer from integer without a cast
make[5]: *** [/home/xxxxxx/openwrt/kamikaze/trunk/build_dir/linux-brcm63xx/broadcom-wl-5.10.56.27.3/driver/bcmsrom.o] Error 1
make[4]: *** [_module_/home/xxxxxxx/openwrt/kamikaze/trunk/build_dir/linux-brcm63xx/broadcom-wl-5.10.56.27.3/driver] Error 2
make[4]: Leaving directory `/home/xxxxxxx/openwrt/kamikaze/trunk/build_dir/linux-brcm63xx/linux-2.6.35.9'
make[3]: *** [/home/xxxxxx/openwrt/kamikaze/trunk/build_dir/linux-brcm63xx/broadcom-wl-5.10.56.27.3/.built] Error 2
make[3]: Leaving directory `/home/xxxxxxx/openwrt/kamikaze/trunk/package/broadcom-wl'
make[2]: *** [package/broadcom-wl/compile] Error 2
make[2]: Leaving directory `/home/xxxxxx/openwrt/kamikaze/trunk'
make[1]: *** [/home/xxxxxx/openwrt/kamikaze/trunk/staging_dir/target-mips_uClibc-0.9.32/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/xxxxxx/openwrt/kamikaze/trunk'
make: *** [world] Error 2

No problem with 24499 revision. I tried it.
Thanks.

Attachments (0)

Change History (9)

comment:1 Changed 7 years ago by RollerDK

Success compile with 24937 revision of trunk.
Thanks

comment:2 Changed 7 years ago by KanjiMonster

comment:3 follow-up: Changed 7 years ago by RollerDK

Thanks KanjiMonster, but...it doesn't work for me.
I get the same error.

comment:4 in reply to: ↑ 3 Changed 7 years ago by KanjiMonster

Replying to RollerDK:

Thanks KanjiMonster, but...it doesn't work for me.
I get the same error.

Did you do a make target/linux/clean before trying to build again?

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

I did:


../backfire$ make clean
creating patch:
../backfire$ vi target/linux/brcm63xx/patches-2.6.35/977-ssb_export_fallback_sprom.patch
copy-paste patch-text. Then Save file
../backfire$ chmod 644 target/linux/brcm63xx/patches-2.6.35/977-ssb_export_fallback_sprom.patch
../backfire$ make V=99 'make menuconfig' command it's not needed again (config saved)


Maybe I'm doing something wrong.
Thanks for your help KanjiMonster

comment:6 in reply to: ↑ 5 Changed 7 years ago by anonymous

Replying to anonymous:

do

../backfire$ wget http://patchwork.cyranjo.org/patch/687/raw/
(...)
2011-02-05 10:24:18 (18.5 MB/s) - `index.html' saved [1064]
../backfire$ patch -p1 -i index.html
patching file target/linux/brcm63xx/patches-2.6.35/977-ssb_export_fallback_sprom.patch
../backfire$ make target/linux/clean world V=99

comment:7 Changed 7 years ago by RollerDK

Thank you very much Kanji, the compilation was successful, the patch works very well.

comment:8 Changed 7 years ago by florian

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

Fixed with r25420.

comment:9 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.