Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
compat-wireless, alx driver, fails to compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
WvR
Apprentice
Apprentice


Joined: 03 Mar 2011
Posts: 200
Location: Tsuruga, Japan

PostPosted: Thu Dec 13, 2012 11:31 pm    Post subject: compat-wireless, alx driver, fails to compile Reply with quote

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
Code:
make
. 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
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Fri Dec 14, 2012 6:18 am    Post subject: Reply with quote

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
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Fri Dec 14, 2012 11:18 am    Post subject: Reply with quote

You need the package marked -snpc. You could also try patching your kernel with this: https://lkml.org/lkml/2012/8/27/52
Back to top
View user's profile Send private message
WvR
Apprentice
Apprentice


Joined: 03 Mar 2011
Posts: 200
Location: Tsuruga, Japan

PostPosted: Sat Dec 15, 2012 12:27 am    Post subject: [solved] compat-wireless, alx driver, fails to compile Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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