Compiling MadWIFI under CentOS 5

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 : So, I've just:

  1. Edit the file
  2. change at line 137:

  3. make the driver
  4. install the driver.


And YESSS ... It works ! Louis.