ndiswrapper 1.55 won't compile

I am using Opensuse 11.2 on an HP Pavilion laptop.
The internal wireless (Broadcom device) quit on me - It is no longer detected at boot so I assume it is dead.
No problem since I have a D_Link USB adaptor (DWL-G132).
To get it working however I need ndiswrapper.
I then installed ndiswrapper 1.55 and the user interface supplied with Opensuse.
Problem1- The interface says “The program ‘kernel-headers’ is missing on your system”.
I have checked with Yast and the kernel-headers are installed.
Problem2- I have downloaded ndiswrapper 1.55 from Sourceforge.net to attempt the traditional installation method.
The ‘make’ command returns the following message:
“Cannot find kernel version in /lib/modules/2.6.31.8-0.1-desktop/build, is it configured?.”
I am really stuck.
Suggestions are most welcome.

You don’t have to compile ndiswrapper. You can just install it from the repositories.

su
zypper in ndiswrapper
zypper in ndisinstaller

Also, which model is your wireless broadcomm card?

zypper returns “nothing to do” since ndiswrapper is already installed (with Yast).
The wireless is a Broadcom 4308.

Did you try configuring the ndiswrapper as discussed in the following link.
Ndiswrapper - openSUSE

Also, did you try all options related to the wireless card. This card has many variations and need specific set up depending on the model.
b43 - Linux Wireless

I had the B43 wireless working originally. I used the suggested installation procedure (install_b43xx_firmware) and Networkmanager to do the setup. It worked for many months. But then after a reboot, it just quit on me. This is why I think the device is broken.
With respect to ndiswrapper, I have followed the Opensuse forum suggestions but I cannot install it. From other forums, I get the impression that there is some incompatibility with ndiswrapper and Linux kernel version 2.6.31.
Unfortunately, I don’t know how to correct that.

Are you using 64bit? I think there are issues with 64bit.

Yes, I am using 64 bits

I had faced problems with the 64bit machines when tried to use ndiswrapper. I don’t know about its current status.

Also, does the D_Link USB adapter really need ndiswrapper?
What are the messages you get when you plug it in? What is it recognized as?

I don’t know of a native Linux driver for the D-Link USB Wlan.
Here is what the boot log says about the USB lan

1.522038] usb 1-6: new high speed USB device using ehci_hcd and address 4
1.639665] usb 1-6: New USB device found, idVendor=2001, idProduct=3a03
1.639669] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
1.639673] usb 1-6: Product: USB WLAN Device
1.639676] usb 1-6: Manufacturer: Atheros Communications Inc
1.639679] usb 1-6: SerialNumber: 1.0
1.639761] usb 1-6: configuration #1 chosen from 1 choice

For us to identify the device, we need the USB ID info as provided by lsusb.

Here is the output of lsusb
I hope this helps

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0c45:62c0 Microdia Sonix USB 2.0 Camera
Bus 001 Device 004: ID 2001:3a03 D-Link Corp. [hex] DWL-G132 (no firmware)
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 046d:c518 Logitech, Inc. MX610 Laser Cordless Mouse

On 01/25/2010 10:06 AM, D1234LHOMME wrote:

> Bus 001 Device 004: ID 2001:3a03 D-Link Corp. [hex] DWL-G132 (no
> firmware)

Those numbers 2001:3a03 are what the kernel would use to identify the device and
load a driver. At the moment, there are no in-kernel drivers for that device,
thus you will need to use ndiswrapper.

The URL below shows how to setup the driver on Kubuntu. It should be the same
here. You will need the 64-bit Windows XP drivers, which may be a problem. Not
too many people use 64-bit XP, which is why ndiswrapper on 64-bit systems may
not work.