Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #1262 (reopened defect)

Opened 15 years ago

Last modified 15 years ago

Error compiling 2.6.18-4 kernel with Atheros support built-in

Reported by: Assigned to:
Priority: trivial Milestone:
Component: madwifi: other Version: v0.9.3
Keywords: kernel 2.6.18-4 madwifi Cc:
Patch is attached: 0 Pending:


I've downloaded madwifi-0.9.30-10 from subversion, patched the 2.6.18-4 kernel and turned on Atheros support and Crypto API as usual (all compiled inside the kernel instead of modules).

When I compile the kernel I get a file missing error that looks like this:

error: /usr/src/linux-source-2.6.18/drivers/net/wireless/madwifi/ath_rate/amrr/../../hal/public/.opt_ah.h: The directory or file doesn't exist

Playing a bit I've discovered that the error is caused because the file .opt_ah.h, which should point to the current .-elf.opt_ah.h computer architecture (i386, x86_64, PowerPC, etc.), is missing inside the directory.

My temporal patch is to manually create the soft link but it would be nice if this was not necessary... :P

I think the error could be fixed modifying the ./ script to check the machine architecture and create the .opt_ah.h soft link to the correct file (i.e. i386-elf.opt_ah.h ).

Change History

04/16/07 07:22:42 changed by mrenzmann

  • status changed from new to closed.
  • resolution set to invalid.

As stated in the requirements section of INSTALL, MadWifi does not support kernels older than 2.4.22.

04/16/07 09:55:18 changed by

Mike, he is talking about kernel 2.6.18 :) ignuss

04/16/07 09:58:52 changed by mrenzmann

  • status changed from closed to reopened.
  • resolution deleted.

Doh! Shouldn't walk through the tickets before I had my first coffee. I'm really sorry. /me turns red and hides

04/16/07 11:50:02 changed by

Hey! Don't bother, it can happen to anyone. Just remember to take your coffee before begining to work... :P