Ndiswrapper missing

Ndiswrapper is missing from 32 bit install dvd on suse 13.2 beta. Compiler does not work to build it from source.

There’s a ton of implicit declarations in the source code and they need to be patched because there’s a -Wall being passed as a compiler option so it fails to compile.

If you absolutely have to get it to compile, you can edit source/driver/Makefile and find:


# returns of structs and unions in registers when possible, like Windows
EXTRA_CFLAGS += -freg-struct-return

And add -w as a parameter to suppress all error messages. Notice that this will suppress all error messages and the compiler will make some assumptions so the end result might be something “really” interesting - I wouldn’t suggest doing this unless you have no other choice and absolutely need the ndiswrapper - the right way would be to fix the source, unfortunately right now I have no time to do so.

Edit:
As a disclaimer I think doing this is a really bad idea but if there’s no other way it’s a really… really bad band aid solution.

There is no ndiswrapper:

zypper se -s ndis

S | Name                 | Typ   | Version        | Architektur | Repository       
--+----------------------+-------+----------------+-------------+------------------
  | perl-Test-InDistDir  | Paket | 1.112071-8.1.1 | noarch      | openSUSE-13.2-Oss
  | pm-utils-ndiswrapper | Paket | 1.4.1-38.1.1   | x86_64      | openSUSE-13.2-Oss
  | pm-utils-ndiswrapper | Paket | 1.4.1-38.1.1   | i586        | openSUSE-13.2-Oss
lsb-release -a
LSB Version:    n/a
Distributor ID: openSUSE project
Description:    openSUSE 13.2 Beta 1 (Harlequin) (x86_64)
Release:        13.2beta1
Codename:       Harlequin

But why do you need it? For which Stick?

lsusb

Needed for a Marvell Libertas 88w8335 pci wireless. I noted that the pm-utils-ndiswrapper description said nothing about allowing a windows driver to work in linux.

Regard this thread as closed and solved. Ndiswrapper will install via one-click install and unstable-antoinnes-branch to whom I thank.