agerwick / RT28XX-RT539X-Linux-driver

2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO updated to work with Linux kernel 3.8 and above. Tested with Ubuntu 14.04 and 16.04
GNU General Public License v2.0
23 stars 9 forks source link

Make fails on Gentoo #1

Closed jebriggsy closed 8 years ago

jebriggsy commented 9 years ago

output of sudo make

make -C tools
make[1]: Entering directory '/home/***/rawireless/RT28XX-RT539X-Linux-driver/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/home/***/rawireless/RT28XX-RT539X-Linux-driver/tools'
/home/***/rawireless/RT28XX-RT539X-Linux-driver/tools/bin2h
cp -f os/linux/Makefile.6 /home/***/rawireless/RT28XX-RT539X-Linux-driver/os/linux/Makefile
make -C /lib/modules/3.17.7-hardened-r1/build SUBDIRS=/home/***/rawireless/RT28XX-RT539X-Linux-driver/os/linux modules
make[1]: Entering directory '/usr/src/linux-3.17.7-hardened-r1'
  CC [M]  /home/***/rawireless/RT28XX-RT539X-Linux-driver/os/linux/../../common/crypt_md5.o
In file included from /home/***/rawireless/RT28XX-RT539X-Linux-driver/include/rt_config.h:77:0,
                 from /home/***/rawireless/RT28XX-RT539X-Linux-driver/os/linux/../../common/crypt_md5.c:28:
/home/***/rawireless/RT28XX-RT539X-Linux-driver/include/rt_os_net.h: In function ‘VIRTUAL_IF_UP’:
/home/***/rawireless/RT28XX-RT539X-Linux-driver/include/rt_os_net.h:294:2: error: invalid initializer
  RT_CMD_INF_UP_DOWN InfConf = { rt28xx_open, rt28xx_close };
  ^
/home/***/rawireless/RT28XX-RT539X-Linux-driver/include/rt_os_net.h:294:2: error: (near initialization for ‘InfConf.<anonymous>’)
/home/***/rawireless/RT28XX-RT539X-Linux-driver/include/rt_os_net.h: In function ‘VIRTUAL_IF_DOWN’:
/home/***/rawireless/RT28XX-RT539X-Linux-driver/include/rt_os_net.h:303:2: error: invalid initializer
  RT_CMD_INF_UP_DOWN InfConf = { rt28xx_open, rt28xx_close };
  ^
/home/***/rawireless/RT28XX-RT539X-Linux-driver/include/rt_os_net.h:303:2: error: (near initialization for ‘InfConf.<anonymous>’)
scripts/Makefile.build:257: recipe for target '/home/***/rawireless/RT28XX-RT539X-Linux-driver/os/linux/../../common/crypt_md5.o' failed
make[2]: *** [/home/***/rawireless/RT28XX-RT539X-Linux-driver/os/linux/../../common/crypt_md5.o] Error 1
Makefile:1450: recipe for target '_module_/home/***/rawireless/RT28XX-RT539X-Linux-driver/os/linux' failed
make[1]: *** [_module_/home/***/rawireless/RT28XX-RT539X-Linux-driver/os/linux] Error 2
make[1]: Leaving directory '/usr/src/linux-3.17.7-hardened-r1'
Makefile:372: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2

uname -a Linux **** 3.17.7-hardened-r1 #4 SMP Mon Jun 22 16:59:29 EDT 2015 x86_64 AMD A4-3300M APU with Radeon(tm) HD Graphics AuthenticAMD GNU/Linux

agerwick commented 8 years ago

I have only ever tested this on Ubuntu and I don't have the computer with this card any more. If you found a solution, feel free to submit a patch or comment here to help others.