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-18.104.22.168-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/22.214.171.124-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 01:15 AM.