Build driver for ralink rt5370 wifi chip
Thomas
New Member Posts: 18 ✭
Hello,
Could anyone help me get the ralink rt5370 wifi chip working? I downloaded the driver from here
http://www.pandawireless.com/download/LinuxDriver4Fedora_v2.5.0.3.tar.bz2
When I do the make command I get the following messages
make -C tools
make[1]: Entering directory '/home/tck/Desktop/LinuxDriver4Fedora_v2.5.0.3/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/home/tck/Desktop/LinuxDriver4Fedora_v2.5.0.3/tools'
/home/tck/Desktop/LinuxDriver4Fedora_v2.5.0.3/tools/bin2h
cp -f os/linux/Makefile.6 /home/tck/Desktop/LinuxDriver4Fedora_v2.5.0.3/os/linux/Makefile
make -C /lib/modules/4.4.0-ubi3-amd64/build SUBDIRS=/home/tck/Desktop/LinuxDriver4Fedora_v2.5.0.3/os/linux modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-ubi3-amd64'
Makefile:10: *** mixed implicit and normal rules: deprecated syntax
CC [M] /home/tck/Desktop/LinuxDriver4Fedora_v2.5.0.3/os/linux/../../sta/sta_cfg.o
/home/tck/Desktop/LinuxDriver4Fedora_v2.5.0.3/os/linux/../../sta/sta_cfg.c: In function ‘RTMPIoctlShow’:
/home/tck/Desktop/LinuxDriver4Fedora_v2.5.0.3/os/linux/../../sta/sta_cfg.c:4941:85: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
snprintf(extra, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, __TIME__ );
^
/home/tck/Desktop/LinuxDriver4Fedora_v2.5.0.3/os/linux/../../sta/sta_cfg.c:4941:95: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
snprintf(extra, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, __TIME__ );
^
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.4.0-ubi3-common/scripts/Makefile.build:263: recipe for target '/home/tck/Desktop/LinuxDriver4Fedora_v2.5.0.3/os/linux/../../sta/sta_cfg.o' failed
make[4]: *** [/home/tck/Desktop/LinuxDriver4Fedora_v2.5.0.3/os/linux/../../sta/sta_cfg.o] Error 1
/usr/src/linux-headers-4.4.0-ubi3-common/Makefile:1402: recipe for target '_module_/home/tck/Desktop/LinuxDriver4Fedora_v2.5.0.3/os/linux' failed
make[3]: *** [_module_/home/tck/Desktop/LinuxDriver4Fedora_v2.5.0.3/os/linux] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-ubi3-amd64'
Makefile:356: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2
Thanks,
Thomas
Could anyone help me get the ralink rt5370 wifi chip working? I downloaded the driver from here
http://www.pandawireless.com/download/LinuxDriver4Fedora_v2.5.0.3.tar.bz2
When I do the make command I get the following messages
make -C tools
make[1]: Entering directory '/home/tck/Desktop/LinuxDriver4Fedora_v2.5.0.3/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/home/tck/Desktop/LinuxDriver4Fedora_v2.5.0.3/tools'
/home/tck/Desktop/LinuxDriver4Fedora_v2.5.0.3/tools/bin2h
cp -f os/linux/Makefile.6 /home/tck/Desktop/LinuxDriver4Fedora_v2.5.0.3/os/linux/Makefile
make -C /lib/modules/4.4.0-ubi3-amd64/build SUBDIRS=/home/tck/Desktop/LinuxDriver4Fedora_v2.5.0.3/os/linux modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-ubi3-amd64'
Makefile:10: *** mixed implicit and normal rules: deprecated syntax
CC [M] /home/tck/Desktop/LinuxDriver4Fedora_v2.5.0.3/os/linux/../../sta/sta_cfg.o
/home/tck/Desktop/LinuxDriver4Fedora_v2.5.0.3/os/linux/../../sta/sta_cfg.c: In function ‘RTMPIoctlShow’:
/home/tck/Desktop/LinuxDriver4Fedora_v2.5.0.3/os/linux/../../sta/sta_cfg.c:4941:85: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
snprintf(extra, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, __TIME__ );
^
/home/tck/Desktop/LinuxDriver4Fedora_v2.5.0.3/os/linux/../../sta/sta_cfg.c:4941:95: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
snprintf(extra, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, __TIME__ );
^
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.4.0-ubi3-common/scripts/Makefile.build:263: recipe for target '/home/tck/Desktop/LinuxDriver4Fedora_v2.5.0.3/os/linux/../../sta/sta_cfg.o' failed
make[4]: *** [/home/tck/Desktop/LinuxDriver4Fedora_v2.5.0.3/os/linux/../../sta/sta_cfg.o] Error 1
/usr/src/linux-headers-4.4.0-ubi3-common/Makefile:1402: recipe for target '_module_/home/tck/Desktop/LinuxDriver4Fedora_v2.5.0.3/os/linux' failed
make[3]: *** [_module_/home/tck/Desktop/LinuxDriver4Fedora_v2.5.0.3/os/linux] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-ubi3-amd64'
Makefile:356: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2
Thanks,
Thomas