[Solved] Broadcom-STA...

Archived topics about LMDE 1 and LMDE 2
Locked
User avatar
Carl
Level 5
Level 5
Posts: 701
Joined: Wed Apr 15, 2009 5:20 pm
Location: Isle of Wight, UK

[Solved] Broadcom-STA...

Post by Carl »

I used dawgdoc's guide (http://forums.linuxmint.com/viewtopic.p ... 6&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 LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
piratesmack

Re: Broadcom-STA...

Post by piratesmack »

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
ShexNivis

Re: Broadcom-STA...

Post by ShexNivis »

Hello there,
the debian-way does not work on liquorix kernel.
use the method 3 from http://forums.linuxmint.com/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.
User avatar
Carl
Level 5
Level 5
Posts: 701
Joined: Wed Apr 15, 2009 5:20 pm
Location: Isle of Wight, UK

Re: Broadcom-STA...

Post by Carl »

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:
Locked

Return to “LMDE Archive”