[Solved] Broadcom-STA...

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help

[Solved] Broadcom-STA...

Postby Carl on Sat Nov 20, 2010 9:06 pm

I used dawgdoc's guide (viewtopic.php?f=141&t=57056&p=340545) previously to install it however afterwards I installed the Liquorix kernel and so tried to re-build it using the same steps however the build fails at 46%... Error 2

Code: Select all
QUILT_PATCHES=debian/patches \
      quilt --quiltrc /dev/null pop -a -R || test $? = 2
rm -rf .pc debian/stamp-patched
dh_testdir
#dh_testroot
dh_clean
/usr/bin/make  -f debian/rules clean
make[1]: Entering directory `/usr/src/modules/broadcom-sta'
QUILT_PATCHES=debian/patches \
      quilt --quiltrc /dev/null pop -a -R || test $? = 2
rm -rf .pc debian/stamp-patched
dh_testdir
#dh_testroot
dh_clean
make[1]: Leaving directory `/usr/src/modules/broadcom-sta'
/usr/bin/make  -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/modules/broadcom-sta'
QUILT_PATCHES=debian/patches \
      quilt --quiltrc /dev/null pop -a -R || test $? = 2
No patch removed
rm -rf .pc debian/stamp-patched
dh_testdir
#dh_testroot
dh_clean
/usr/bin/make -w -f debian/rules clean
make[2]: Entering directory `/usr/src/modules/broadcom-sta'
QUILT_PATCHES=debian/patches \
      quilt --quiltrc /dev/null pop -a -R || test $? = 2
No patch removed
rm -rf .pc debian/stamp-patched
dh_testdir
#dh_testroot
dh_clean
make[2]: Leaving directory `/usr/src/modules/broadcom-sta'
make[1]: Nothing to be done for `kdist_config'.
for templ in ; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.36-0.dmz.14-liquorix-686/g'` ; \
  done
for templ in `ls debian/*.modules.in` ; do \
    test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \
    sed -e 's/##KVERS##/2.6.36-0.dmz.14-liquorix-686/g ;s/#KVERS#/2.6.36-0.dmz.14-liquorix-686/g ; s/_KVERS_/2.6.36-0.dmz.14-liquorix-686/g ; s/##KDREV##/2.6.36-14/g ; s/#KDREV#/2.6.36-14/g ; s/_KDREV_/2.6.36-14/g  ' < $templ > ${templ%.modules.in}; \
  done
dh_testroot
dh_prep
# Build the module
cd /usr/src/modules/broadcom-sta/i386 && \
   make -C /lib/modules/2.6.36-0.dmz.14-liquorix-686/build M=/usr/src/modules/broadcom-sta/i386
make[2]: Entering directory `/usr/src/linux-headers-2.6.36-0.dmz.14-liquorix-686'
  CC [M]  /usr/src/modules/broadcom-sta/i386/src/wl/sys/wl_linux.o
/usr/src/modules/broadcom-sta/i386/src/wl/sys/wl_linux.c: In function ‘_wl_set_multicast_list’:
/usr/src/modules/broadcom-sta/i386/src/wl/sys/wl_linux.c:1435: error: ‘struct net_device’ has no member named ‘mc_list’
/usr/src/modules/broadcom-sta/i386/src/wl/sys/wl_linux.c:1435: error: ‘struct net_device’ has no member named ‘mc_count’
/usr/src/modules/broadcom-sta/i386/src/wl/sys/wl_linux.c:1436: error: dereferencing pointer to incomplete type
/usr/src/modules/broadcom-sta/i386/src/wl/sys/wl_linux.c:1442: error: dereferencing pointer to incomplete type
make[3]: *** [/usr/src/modules/broadcom-sta/i386/src/wl/sys/wl_linux.o] Error 1
make[2]: *** [_module_/usr/src/modules/broadcom-sta/i386] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.36-0.dmz.14-liquorix-686'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/broadcom-sta'
make: *** [kdist_build] Error 2
Last edited by Carl on Sun Nov 21, 2010 7:06 am, edited 1 time in total.
[AMD Sempron 145 2.8GHz + Unlocked 2nd Core|ATI Radeon™ HD3000 Graphics|4GB DDR3|Biostar A780L3L]
Image
User avatar
Carl
Level 5
Level 5
 
Posts: 667
Joined: Wed Apr 15, 2009 5:20 pm
Location: West Sussex, UK

Linux Mint is funded by ads and donations.
 

Re: Broadcom-STA...

Postby piratesmack on Sat Nov 20, 2010 9:47 pm

Broadcom has released an update to the STA driver that supports kernel 2.6.36

It's probably not in the repos yet, so you'll have to compile it yourself

This should do it:
Code: Select all
wget http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_x86-32_v5.60.246.6.tar.gz

mkdir broadcom-sta && cd broadcom-sta

tar xvf ../hybrid-portsrc_x86-32_v5.60.246.6.tar.gz

make clean && make && sudo make install

sudo depmod -a

sudo modprobe wl
piratesmack
Level 5
Level 5
 
Posts: 710
Joined: Mon May 26, 2008 3:08 pm

Re: Broadcom-STA...

Postby ShexNivis on Sat Nov 20, 2010 9:48 pm

Hello there,
the debian-way does not work on liquorix kernel.
use the method 3 from viewtopic.php?f=141&t=57056
notice that every time liquorix kernel gets a new version you will need to reinstall it.
Just make a .sh to use to do so, it shouldn't take more than 5 minutes to reinstall it. It is worth

edit: the above guy was faster : (
the only thing I have to add from what he said is that u will have to do it again for every new liq. kernel released. And read the readme.txt from it. If you can't get it to load on startup that file has info on that.
best torrent client ever: http://www.tixati.com
User avatar
ShexNivis
Level 3
Level 3
 
Posts: 109
Joined: Mon Sep 21, 2009 10:25 pm

Re: Broadcom-STA...

Postby Carl on Sun Nov 21, 2010 7:02 am

Thanks guys =]

I thought it would be something like that :D

Looks like i'll be getting used to compiling it :lol: about time I stopped being lazy and copy & pasting commands anyway :roll:
[AMD Sempron 145 2.8GHz + Unlocked 2nd Core|ATI Radeon™ HD3000 Graphics|4GB DDR3|Biostar A780L3L]
Image
User avatar
Carl
Level 5
Level 5
 
Posts: 667
Joined: Wed Apr 15, 2009 5:20 pm
Location: West Sussex, UK


Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 2 guests