Problem in Compiling Wireless Adapter(9271) Driver for Cubieboard
Hi List,
I don't know how many people in the list have played with cubieboard. It is really fun :D
The Sad thing is that, I have a usb wireless adapter TL-WN721N(with 9271 chipset) that doesn't work
on the board. The system is Cubian Linux(derieved from Debian for the cubieboard).
I googled around, find the driver is called "ath9k_htc". Later, I find the driver's source code in
the kernel for Cubian. I compiled it but all I'd got is this:
In file included from include/linux/timex.h:174:0, from include/linux/jiffies.h:8,
from include/linux/ktime.h:25,
from include/linux/timer.h:5
from include/linux/workqueue.h:8,
from include/linux/kmod.h:26 from include/linux/module.h:13
from /home/cubie/src/ath9k/htc.h:20,
from /home/cubie/src/ath9k/htc_hst.c:17:/usr/src/linux-headers-3.4.79-sun7i/arch/arm/include/asm/timex.h:15:24:
fatal error: mach/timex.h: No such file or directory
How can I deal with this error?
Does the existence of the driver's code in the kernel source means that it has already been ported to Cubian?
You can get more information about Cubian and its kernel source in:
http://cubian.org/sources/
Thanks for your attention!
Freeman Zhang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140818/3116c6c6/attachment.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi anupam,
Thanks so much for your information. It is of great value!
May I ask how did you find that? In case I run into similar situation next time so that I can help myself, as well as others.
Thanks agagin!
Freeman Zhang
Quoted 18 lines · anupam kapoor
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
[Mon, 18 Aug 2014 16:41:32 +0800]: "Freeman Zhang" (freeman-zhang):
,----[ freeman-zhang ]
| In file included from include/linux/timex.h:174:0, | from include/linux/jiffies.h:8, | from include/linux/ktime.h:25, | from include/linux/timer.h:5 | from include/linux/workqueue.h:8, | from include/linux/kmod.h:26 | from include/linux/module.h:13 | from /home/cubie/src/ath9k/htc.h:20, | from /home/cubie/src/ath9k/htc_hst.c:17: | /usr/src/linux-headers-3.4.79-sun7i/arch/arm/include/asm/timex.h:15:24: | fatal error: mach/timex.h: No such file or directory`----
http://lists.infradead.org/pipermail/linux-arm-kernel/2011-August/060045.htmlkind regards
anupam