I can't compile compat-wireless-2.6-old

Hello,every.

I’ve just installed Opensuse10.3 recently.Everything seems OK other than that my wireless doesn’t work.My wireless card is Broadcom BCM94311MCG.

I download the compat-wireless-old.tar.bz2 and extract it.But when I type make in that directory,it outputs as follows

./scripts/gen-compat-autoconf.sh config.mk > include/linux/compat_autoconf.h
make -C /lib/modules/2.6.22.5-31-default/build M=/home/zhou/compat-wireless-2.6-old modules
make[1]: Entering directory /usr/src/linux-2.6.22.5-31-obj/i386/default' make -C ../../../linux-2.6.22.5-31 O=../linux-2.6.22.5-31-obj/i386/default modules LD /home/zhou/compat-wireless-2.6-old/drivers/misc/built-in.o CC [M] /home/zhou/compat-wireless-2.6-old/drivers/misc/eeprom_93cx6.o LD /home/zhou/compat-wireless-2.6-old/drivers/net/built-in.o CC [M] /home/zhou/compat-wireless-2.6-old/drivers/net/b44.o In file included from /home/zhou/compat-wireless-2.6-old/drivers/net/b44.c:34: /home/zhou/compat-wireless-2.6-old/drivers/net/b44.h:361: error: field ‘napi’ has incomplete type /home/zhou/compat-wireless-2.6-old/drivers/net/b44.c: In function ‘b44_poll’: /home/zhou/compat-wireless-2.6-old/drivers/net/b44.c:849: warning: type defaults to ‘int’ in declaration of ‘__mptr’ /home/zhou/compat-wireless-2.6-old/drivers/net/b44.c:849: warning: initialization from incompatible pointer type /home/zhou/compat-wireless-2.6-old/drivers/net/b44.c:879: error: too many arguments to function ‘netif_rx_complete’ /home/zhou/compat-wireless-2.6-old/drivers/net/b44.c: In function ‘b44_interrupt’: /home/zhou/compat-wireless-2.6-old/drivers/net/b44.c:911: error: too many arguments to function ‘netif_rx_schedule_prep’ /home/zhou/compat-wireless-2.6-old/drivers/net/b44.c:917: error: too many arguments to function ‘__netif_rx_schedule’ /home/zhou/compat-wireless-2.6-old/drivers/net/b44.c: In function ‘b44_open’: /home/zhou/compat-wireless-2.6-old/drivers/net/b44.c:1433: error: implicit declaration of function ‘napi_enable’ /home/zhou/compat-wireless-2.6-old/drivers/net/b44.c:1442: error: implicit declaration of function ‘napi_disable’ /home/zhou/compat-wireless-2.6-old/drivers/net/b44.c: At top level: /home/zhou/compat-wireless-2.6-old/drivers/net/b44.c:2051: error: unknown field ‘get_sset_count’ specified in initializer /home/zhou/compat-wireless-2.6-old/drivers/net/b44.c:2051: warning: initialization from incompatible pointer type /home/zhou/compat-wireless-2.6-old/drivers/net/b44.c: In function ‘b44_init_one’: /home/zhou/compat-wireless-2.6-old/drivers/net/b44.c:2159: error: implicit declaration of function ‘netif_napi_add’ make[5]: *** [/home/zhou/compat-wireless-2.6-old/drivers/net/b44.o] 错误 1 make[4]: *** [/home/zhou/compat-wireless-2.6-old/drivers/net] 错误 2 make[3]: *** [_module_/home/zhou/compat-wireless-2.6-old] 错误 2 make[2]: *** [modules] 错误 2 make[1]: *** [modules] 错误 2 make[1]: Leaving directory /usr/src/linux-2.6.22.5-31-obj/i386/default’
make: *** [modules] 错误 2

I guass there are some problems with b44.Could somebody tell me how to solve the problem.

Webpin - Results for compat-wireless

(compat-wireless-kmp-default for 2.6.22.5-31 and i586)

PackMan :: Informationen zum Paket b43-firmware

(noarch)


su 

password

modprobe -rv bcm43xx

echo blacklist bcm43xx >> /etc/modprobe.d/bcm43xx

rm /etc/udev/rules.d/70-persistent-net.rules

udevadm trigger
  • YaST => System => /etc/sysconfig-Editor => Search for “MODULES_LOADED_ON_BOOT” => add b43 and save.

= You’re done

Thank you at first.I tried to install compat-wireless-kmp-default for 2.6.22.5-31 and i586 and noarch.The first successed,but the second failed.

It outputs:
warning: b43-4.150.10.5-2.pm.1.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 9a795806
error: Failed dependencies:
rpmlib(PayloadIsLzma) <= 4.4.2-1 is needed by b43-4.150.10.5-2.pm.1.noarch

And I think Ineed to tell you I am a new learner of linux,is rpmlib a package needed to be installed,where I can get it.

A few minutes before I tried install b43-compat-wireless-firmware-4.150.10.5-3.1.noarch.rpm and successed.
Then I followed you step.
#modprobe -rv bcm 43xx
It outputs:
FATAL: Module bcm not found.
I don’t know what’s wrong with it could you tell me?

spander wrote:
> A few minutes before I tried install
> b43-compat-wireless-firmware-4.150.10.5-3.1.noarch.rpm and successed.
> Then I followed you step.
> #modprobe -rv bcm 43xx
> FATAL: Module bcm not found.

The module name is b43.

Sorry to say that I made a stupid mistake.
for modprobe -rv bcm 43xx There doesn’t exist a space between ‘bcm’ and ‘43xx’.So there isn’t any problem with this code.But when I type # udevadm trigger
It outputs bash: udevadm: command not found
Could you tell me why?

there’s always something new to learn every day on linux;(for me);

I think you need to install

udev

our system says of it

udev
udev’s main task is to create and remove device nodes in /dev when a device is discovered or removed from the system. udevd receives all hotplug events via kernel netlink messages and dispatches them according to rules in /etc/udev/rules.d/. Matching rules may name a device node, create additional symlinks to the node, call tools to initialize a device, or load needed kernel modules.

we are running 11.0 and we have version 120-13.1 running and it is in the main repository; if you type udev into available in your software box, in YaST; it should find it and ask if you want to install it … I think you do!

You are running 10.3 which has older versions of rpm and udev, so some things don’t work like on 11.X.


udevtrigger

as root should work.

(Or Reboot machine)

Thank you for answering my question again.
Yes,you are right,the right code is :

udevtrigger

But I still can’t get my wireless work,what’s more,I can’t find my wireless card in the Network Settings now.
(I’ve changed the MODULES_LOADED_ON_BOOT as you told and reboot my computer.

Insufficient information.

My wireless doesn’t work - a primer on what I should do next - openSUSE Forums

I recommend the srcipt mentioned in #3.

Thank you.I’ll read it again very carefully.