When i'm trying to compile MadWIFI driver under CentOS 5.2, I get an error about a structure redefinition.
In fact, I assume that RedHat/CentOS has modified its default kernel to include some patch and new features. The kernel is not the official 2.6.18 kernel but an improved version. By this modification, it seems that some new code has been added to the kernel and then the provided source for MadWIFI doesn't work anymore.
To solve this problem, Google is my best friend. I've found this : http://email@example.com/msg08661.html. So, I've just:
- Edit the file
- change at line 137:
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
- make the driver
- install the driver.
And YESSS ... It works ! Louis.