First, in the Yast package manager, make certain that your kernel headers are installed.
Go to the /boot directory. There'll be a file called config-22.214.171.124-34 or something like it. As root, copy that to your kernel source directory as .config (usually '/usr/src/linux', it's the same as '/lib/modules/126.96.36.199-34-default/build/').
Then, also as root, go to the source directory and prepare the source for the new module. Use the command "make modules_prepare".
Now go back to your madwifi install. If there's another error, let us know.
Last edited by samstar; 05-12-2007 at 12:15 AM.