-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
alx drivers fails to build in 3.7.x Arch linux kernel for device AR8161 #2
Comments
I have the same problem |
The same issue on Fedora 18 with kernel 3.7.4-204.fc18.x86_64. The workaround is: It works on my Fedora 18. |
where did you get the compat-drivers-2013-02-03 ? I couldn't find it. please can you provide me the link? |
Just find that at daily release: http://www.kernel.org/pub/linux/kernel/projects/backports/2013/02/02/ -Shunli On 02/07/2013 10:34 PM, hadrons123 wrote:
|
Thanks for the link. But in arch linux it doesn't work the way I am trying. |
Tried with a different kernel. Different error with warning. Couldn't make out what it means. cc1: some warnings being treated as errors |
Ensure you have linux-headers installed mishudark El jueves, 7 de febrero de 2013 a las 10:06, hadrons123 escribió:
|
That's what I thought first and tried with a custom kernel from https://aur.archlinux.org/packages/linux-ck/ which has headers installed. I 'm not sure if any patches in the this CK kernel is preventing the build process. |
In the arch forum I saw that could be solved with kernel 3.8 rc, but I'm not sure. mishudark El jueves, 7 de febrero de 2013 a las 10:25, hadrons123 escribió:
|
If you encountered an "Wanning As Error" about __netdev_printk(), following
I know this don't solve this issue actually, but anyway, the So, nothing functionality impacts (just want to driver the NIC card). -Shunli On 8 February 2013 01:10, mishudark [email protected] wrote:
Thanks! Yi Shunli |
Now I am trying with mainline kernel and thanks for your tip. I got past the first error. But I still have some more errors. |
Ok, I got back to 3.7.4 kernel and it worked with your tip. thank you. |
This works for me.
references for changes https://patchwork.kernel.org/patch/2012501/ uname -a Linux USSTiconderoga 3.8.1-201.fc18.x86_64 #1 SMP Thu Feb 28 19:23:08 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux |
I've sent a pull request for this specific problem. See the pull requests for more information. reflectivedevelopment [email protected] schrieb:
|
alx drivers doesnt build in in 3.7.4 kernel.
make
./scripts/gen-compat-autoconf.sh /home/flexible/Downloads/compat-wireless-2012-12-18-p/.config /home/flexible/Downloads/compat-wireless-2012-12-18-p/config.mk > include/linux/compat_autoconf.h
make -C /lib/modules/3.7.4-1-ARCH/build M=/home/flexible/Downloads/compat-wireless-2012-12-18-p modules
make[1]: Entering directory
/usr/src/linux-3.7.4-1-ARCH' CC [M] /home/flexible/Downloads/compat-wireless-2012-12-18-p/compat/main.o CC [M] /home/flexible/Downloads/compat-wireless-2012-12-18-p/compat/compat-3.8.o LD [M] /home/flexible/Downloads/compat-wireless-2012-12-18-p/compat/compat.o scripts/Makefile.build:44: /home/flexible/Downloads/compat-wireless-2012-12-18-p/drivers/net/ethernet/atheros/alx/Makefile: No such file or directory make[4]: *** No rule to make target
/home/flexible/Downloads/compat-wireless-2012-12-18-p/drivers/net/ethernet/atheros/alx/Makefile'. Stop.make[3]: *** [/home/flexible/Downloads/compat-wireless-2012-12-18-p/drivers/net/ethernet/atheros/alx] Error 2
make[2]: *** [/home/flexible/Downloads/compat-wireless-2012-12-18-p/drivers/net/ethernet/atheros] Error 2
make[1]: *** [module/home/flexible/Downloads/compat-wireless-2012-12-18-p] Error 2
make[1]: Leaving directory `/usr/src/linux-3.7.4-1-ARCH'
make: *** [modules] Error 2
[root@arch compat-wireless-2012-12-18-p]#
Any idea how to handle this?
The text was updated successfully, but these errors were encountered: