Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Yesterday, I installed Fedora 16 and found no wireless connection available.

Then I found the ar81family driver

But it seems like it does not work with kernel 3. I changed the makefile to ignore the kernel version, but it doesn't compile. It complains:

asm/linkage.h not found

How can I compile this module for my kernel?

share|improve this question
There may be something wrong with the file you linked to. It seems to contain a driver for a PCI/E ethernet (wired) adapter. Take a look at the readme file. – Kristof Provost Nov 24 '11 at 16:02
up vote 1 down vote accepted

In general Linux drivers needs to closely match the version of the kernel they were developed for. The driver API changes frequently.

It's one of the many reasons Linux kernel developers very strongly encourage people to submit their drivers.

Usually it's not too hard to update the driver to match the current kernel, especially if the version difference isn't too big. It does require some knowledge of C though.

The easiest solution will be to find out what kernel version the driver was intended to work with and use that one.

share|improve this answer
Hm,Actually I am a Java Developer, It is hard for me to modify the driver. But, anyway, I will give a try. – jilen Nov 25 '11 at 1:03
It's too hard to modify a driver. I think I would pay a lot of to have this done. – jilen Dec 11 '11 at 4:14
@jilen Have you tried this: unknownimous.blogspot.com/2010/08/… ? – Kristof Provost Dec 11 '11 at 10:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.