Well, I finally got this thing to work. The key was to get the kernel source tree installed properly. I found a good
explination for how to set it up. After that, compiling the madwifi drivers was a breeze.
For a while iwlist said the device did not support scanning, but this seemed to fix itself by the time I was posting here to ask about it. Weird.
Any way,
Good luck out there.