Recompiled and now I get a new error:
FATAL: Error inserting hostap_pci (/lib/modules/2.6.9-vidalinux1/kernel/drivers/net/wireless/hostap_pci.o): Invalid module format

I read something about .ko extensions in the 2.6 kernel being the wrong module extension, but these are .o, so I'm not too sure what to do.