- root@aa:/home/miratz108/Desktop/ralink# cp RT2870STACard.dat RT3070STACard.dat
- root@aa:/home/miratz108/Desktop/ralink# cp RT2870STA.dat RT3070STA.dat
- root@aa:/home/miratz108/Desktop/ralink# cp common/rt2870.bin common/rt3070.bin
- root@aa:/home/miratz108/Desktop/ralink# sudo make
- make -C tools
- make[1]: Entering directory `/home/miratz108/Desktop/ralink/tools'
- gcc -g bin2h.c -o bin2h
- bin2h.c:28:19: error: stdio.h: No such file or directory
- bin2h.c:29:20: error: string.h: No such file or directory
- bin2h.c:30:20: error: stdlib.h: No such file or directory
- bin2h.c: In function ‘main’:
- bin2h.c:34: error: ‘FILE’ undeclared (first use in this function)
- bin2h.c:34: error: (Each undeclared identifier is reported only once
- bin2h.c:34: error: for each function it appears in.)
- bin2h.c:34: error: ‘infile’ undeclared (first use in this function)
- bin2h.c:34: error: ‘outfile’ undeclared (first use in this function)
- bin2h.c:42: warning: incompatible implicit declaration of built-in function ‘memset’
- bin2h.c:49: warning: incompatible implicit declaration of built-in function ‘printf’
- bin2h.c:54: warning: incompatible implicit declaration of built-in function ‘printf’
- bin2h.c:57: warning: incompatible implicit declaration of built-in function ‘strlen’
- bin2h.c:59: warning: incompatible implicit declaration of built-in function ‘printf’
- bin2h.c:63: warning: incompatible implicit declaration of built-in function ‘strcat’
- bin2h.c:91: error: expected expression before ‘)’ token
- bin2h.c:93: warning: incompatible implicit declaration of built-in function ‘printf’
- bin2h.c:98: error: expected expression before ‘)’ token
- bin2h.c:100: warning: incompatible implicit declaration of built-in function‘printf’
- bin2h.c:126: warning: incompatible implicit declaration of built-in function‘sprintf’
- bin2h.c:135: warning: incompatible implicit declaration of built-in function‘exit’
- make[1]: *** [all] Error 1
- make[1]: Leaving directory `/home/miratz108/Desktop/ralink/tools'
- make: *** [build_tools] Error 2
- root@aa:/home/miratz108/Desktop/ralink# make
- make -C tools
- make[1]: Entering directory `/home/miratz108/Desktop/ralink/tools'
- gcc -g bin2h.c -o bin2h
- bin2h.c:28:19: error: stdio.h: No such file or directory
- bin2h.c:29:20: error: string.h: No such file or directory
- bin2h.c:30:20: error: stdlib.h: No such file or directory
- bin2h.c: In function ‘main’:
- bin2h.c:34: error: ‘FILE’ undeclared (first use in this function)
- bin2h.c:34: error: (Each undeclared identifier is reported only once
- bin2h.c:34: error: for each function it appears in.)
- bin2h.c:34: error: ‘infile’ undeclared (first use in this function)
- bin2h.c:34: error: ‘outfile’ undeclared (first use in this function)
- bin2h.c:42: warning: incompatible implicit declaration of built-in function ‘memset’
- bin2h.c:49: warning: incompatible implicit declaration of built-in function ‘printf’
- bin2h.c:54: warning: incompatible implicit declaration of built-in function ‘printf’
- bin2h.c:57: warning: incompatible implicit declaration of built-in function ‘strlen’
- bin2h.c:59: warning: incompatible implicit declaration of built-in function ‘printf’
- bin2h.c:63: warning: incompatible implicit declaration of built-in function ‘strcat’
- bin2h.c:91: error: expected expression before ‘)’ token
- bin2h.c:93: warning: incompatible implicit declaration of built-in function ‘printf’
- bin2h.c:98: error: expected expression before ‘)’ token
- bin2h.c:100: warning: incompatible implicit declaration of built-in function‘printf’
- bin2h.c:126: warning: incompatible implicit declaration of built-in function‘sprintf’
- bin2h.c:135: warning: incompatible implicit declaration of built-in function‘exit’
- make[1]: *** [all] Error 1
- make[1]: Leaving directory `/home/miratz108/Desktop/ralink/tools'
- make: *** [build_tools] Error 2
- root@aa:/home/miratz108/Desktop/ralink# make install
- make -C /home/miratz108/Desktop/ralink/os/linux -f Makefile.6 install
- make[1]: Entering directory `/home/miratz108/Desktop/ralink/os/linux'
- rm -rf /etc/Wireless/RT2870STA
- mkdir /etc/Wireless/RT2870STA
- cp /home/miratz108/Desktop/ralink/RT2870STA.dat /etc/Wireless/RT2870STA/.
- install -d /lib/modules/2.6.24-19-generic/kernel/drivers/net/wireless/
- install -m 644 -c rt5370sta.ko /lib/modules/2.6.24-19-generic/kernel/drivers/net/wireless/
- install: cannot stat `rt5370sta.ko': No such file or directory
- make[1]: *** [install] Error 1
- make[1]: Leaving directory `/home/miratz108/Desktop/ralink/os/linux'
- make: *** [install] Error 2
- root@aa:/home/miratz108/Desktop/ralink# iwconfig
- lo no wireless extensions.
- eth0 no wireless extensions.
- root@aa:/home/miratz108/Desktop/ralink# sudo mkdir /etc/Wireless/RT2870STA
- mkdir: cannot create directory `/etc/Wireless/RT2870STA': File exists
- root@aa:/home/miratz108/Desktop/ralink# mkdir /etc/Wireless/RT2870STA
- mkdir: cannot create directory `/etc/Wireless/RT2870STA': File exists
- root@aa:/home/miratz108/Desktop/ralink# apt-get install linux-headers-generic
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following packages were automatically installed and are no longer required:
- linux-headers-2.6.24-19-generic linux-headers-2.6.24-19
- Use 'apt-get autoremove' to remove them.
- The following extra packages will be installed:
- linux-headers-2.6.24-31 linux-headers-2.6.24-31-generic
- The following NEW packages will be installed:
- linux-headers-2.6.24-31 linux-headers-2.6.24-31-generic
- The following packages will be upgraded:
- linux-headers-generic
- 1 upgraded, 2 newly installed, 0 to remove and 9 not upgraded.
- Need to get 8850kB of archives.
- After this operation, 68.4MB of additional disk space will be used.
- Do you want to continue [Y/n]? y
- Get:1 http://hr.archive.ubuntu.com hardy-updates/main linux-headers-2.6.24-31 2.6.24-31.101 [8157kB]
- Get:2 http://hr.archive.ubuntu.com hardy-updates/main linux-headers-2.6.24-31-generic 2.6.24-31.101 [667kB]
- Get:3 http://hr.archive.ubuntu.com hardy-updates/main linux-headers-generic 2.6.24.31.33 [26.8kB]
- Fetched 8850kB in 18s (471kB/s)
- Selecting previously deselected package linux-headers-2.6.24-31.
- (Reading database ... 86754 files and directories currently installed.)
- Unpacking linux-headers-2.6.24-31 (from .../linux-headers-2.6.24-31_2.6.24-31.101_all.deb) ...
- Selecting previously deselected package linux-headers-2.6.24-31-generic.
- Unpacking linux-headers-2.6.24-31-generic (from .../linux-headers-2.6.24-31-generic_2.6.24-31.101_i386.deb) ...
- Preparing to replace linux-headers-generic 2.6.24.19.21 (using .../linux-headers-generic_2.6.24.31.33_i386.deb) ...
- Unpacking replacement linux-headers-generic ...
- Setting up linux-headers-2.6.24-31 (2.6.24-31.101) ...
- Setting up linux-headers-2.6.24-31-generic (2.6.24-31.101) ...
- Setting up linux-headers-generic (2.6.24.31.33) ...
- root@aa:/home/miratz108/Desktop/ralink#
SHARE
TWEET
Untitled
a guest
Jun 12th, 2012
55
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data

