You are not logged in.
I am trying to compile RT2870/RT3070 usb-dongle driver from source downloaded from Mediatek because of performance issues mainly frequent disconnections and slow speed at times.
I have followed instructions from an old thread here. Changed cpu flag from i686 (default) to "x86_64" (sans quotes) and "mpreferred-stack-boundary" to 4.
Compilation starts but interrupts with an error in mid:
/home/compiling/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux/../../sta/sta_cfg.c: In function 'set_quality':
/home/compiling/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux/../../sta/sta_cfg.c:5548:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
BOOLEAN bInitial = FALSE;
^
cc1: some warnings being treated as errors
scripts/Makefile.build:257: recipe for target '/home/compiling/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux/../../sta/sta_cfg.o' failed
make[2]: *** [/home/compiling/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux/../../sta/sta_cfg.o] Error 1
Makefile:1382: recipe for target '_module_/home/compiling/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux' failed
make[1]: *** [_module_/home/compiling/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux] Error 2
make[1]: Leaving directory '/usr/lib/modules/3.19.2-1-ARCH/build'
Makefile:388: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2Following are details:
1. Kernel
Linux arch 3.19.2-1-ARCH #1 x86_64 GNU/Linux
2. Build support packages
linux-headers-3.19.2-1
abs-2.4.4-2
3. My questions
a. How to fix these error?
b. Will I have to recompile head each time whenever kernel gets updated? (I think yes).
Thank you.
KDE is all good bloated, try to trim away from K*.apps... whatever it leaves behind equals "Kuck yourself!"
nVidia.... fsck sdy0
Offline
I can't help with your complilation error but could you perhaps update this PKGBUILD from the AUR:https://aur.archlinux.org/packages/rt2870/
Might work better than compiling from source.
Offline
Thanks for answer. I tried from AUR pkbuild using makepkg, compilation is break with same error. I think I am unable to manage architecture.
cc1: some warnings being treated as errors
scripts/Makefile.build:257: recipe for target '/home/smt/Downloads/rt2870/src/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/sta_ioctl.o' failed
make[2]: *** [/home/smt/Downloads/rt2870/src/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/sta_ioctl.o] Error 1
Makefile:1382: recipe for target '_module_/home/smt/Downloads/rt2870/src/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux' failed
make[1]: *** [_module_/home/smt/Downloads/rt2870/src/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux] Error 2
make[1]: Leaving directory '/usr/lib/modules/3.19.2-1-ARCH/build'
Makefile:243: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2
==> ERROR: A failure occurred in build().
Aborting...KDE is all good bloated, try to trim away from K*.apps... whatever it leaves behind equals "Kuck yourself!"
nVidia.... fsck sdy0
Offline