View previous topic :: View next topic |
Author |
Message |
WvR Apprentice
Joined: 03 Mar 2011 Posts: 200 Location: Tsuruga, Japan
|
Posted: Thu Dec 13, 2012 11:31 pm Post subject: compat-wireless, alx driver, fails to compile |
|
|
Hi all,
So I have a Lenovo G580 with a Broadcom wireless card and an Atheros ethernet card, neither of which are really supported in linux. I managed to get the Broadcom card working (at least, the computer tells me that there is a kernel module for it), so now I am working on the Atheros ethernet card AR8162
A friend told me to download "compat-wireless" and build the "alx" driver. So I downloaded compat-wireless-3.6.8-1-snp, unpacked it. Then Code: | ./scripts/driver-select alx | , some messages, then . It fails with
Code: |
*** no rule to make target ..../drivers/atheros/alx/Makefile
..../drivers/atheros/alx/Makefile no such file or directory
|
Has anybody been able to compile this driver (apparently my friend did succeed but he said he had no problems with the Makefile) |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Fri Dec 14, 2012 6:18 am Post subject: |
|
|
You could try the package without -snp suffix (though that might be an independent problem).
Also, the way to use that after driver-select is probably
Code: | make KLIB=/usr/src/linux KLIB_BUILD=/usr/src/linux |
You should try making an ebuild for it. |
|
Back to top |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
|
Back to top |
|
|
WvR Apprentice
Joined: 03 Mar 2011 Posts: 200 Location: Tsuruga, Japan
|
Posted: Sat Dec 15, 2012 12:27 am Post subject: [solved] compat-wireless, alx driver, fails to compile |
|
|
The compat-wireless download page gives 5 versions of the compat-wireless package: a "plain" version, and -s, -sn, -snp, -snp, -snpc. These extra letters indicate increasing levels of patching. The homepage advises normal users to take the -snp version. I did, and it does not compile. I downloaded the -snpc version, and that one compiled without any problems. I don't understand why. At present, my computer is using the Atheros Ethernet A8162. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|