Rt3070sta 컴파일중에 에러

IPtime N300UA를 구입하여 설치중인데요.
드라이버는 따로 없고, 칩셋이 rt3072L이라고하기에 RT3070 드라이버를 설치해야겠다고 생각했거든요.

RT3070sta driver ( DPO_RT3070_LinuxSTA_V2.3.0.2_20100412.tar.bz2)를 ralink홈페이지에서 다운받아 설치중에

/usr/src/RT3070/에 들어가서

make 하고 큰 error없이 진행됬는데요.

make install하니까 다음과 같이 나오는군요.


#make install
make -C /usr/src/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux -f Makefile.6 install
mkdir: cannot create directory /etc/Wireless': File exists make[1]: Entering directory /usr/src/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux’
rm -rf /etc/Wireless/RT3070STA
mkdir /etc/Wireless/RT3070STA
cp /usr/src/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/RT3070STA.dat /etc/Wireless/RT3070STA/.
cp: cannot stat /usr/src/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/RT3070STA.dat': No such file or directory make[1]: *** [install] Error 1 make[1]: Leaving directory /usr/src/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux’
make: *** [install] Error 2


현재 RT2870이 설치되어있기는하지만 그것과 관련있는것 같지는 안은데… 잘 모르겠네요.

분명 문구상으로 볼때는 RT3070STA.dat이 RT3070 폴더안에 있어야 복사를 할것 같은데…

이 파일은 분명 처음 압축을 풀었을때, 또한 make을 진행하고 난 후에 절대 그 폴더 안에는 없는 파일이거든요…

뭐가 잘못된 건지 아시는 분은 꼭 좀 알려주세요

IPtime에서 N300UA를 구입하여 설치중에
드라이버를 인터넷에서 다운받았는데
RT3072 칩을 사용한다기에 rt3070sta를 한번 깔아보려고 하는데 컴파일중에 다음과 같은 에러가 계속 나서요…

make

make -C tools
make[1]: Entering directory /usr/src/RT3070/tools' gcc -g bin2h.c -o bin2h make[1]: Leaving directory /usr/src/RT3070/tools’
/usr/src/RT3070/tools/bin2h
cp -f os/linux/Makefile.6 /usr/src/RT3070/os/linux/Makefile
make -C /lib/modules/2.6.27-17-generic/build SUBDIRS=/usr/src/RT3070/os/linux modules
make[1]: Entering directory /usr/src/linux-headers-2.6.27-17-generic' CC [M] /usr/src/RT3070/os/linux/../../common/md5.o CC [M] /usr/src/RT3070/os/linux/../../common/mlme.o CC [M] /usr/src/RT3070/os/linux/../../common/rtmp_wep.o CC [M] /usr/src/RT3070/os/linux/../../common/action.o CC [M] /usr/src/RT3070/os/linux/../../common/cmm_data.o /usr/src/RT3070/os/linux/../../common/cmm_data.c: In function ‘RTMP_FillTxBlkInfo’: /usr/src/RT3070/os/linux/../../common/cmm_data.c:803: warning: label ‘FillTxBlkErr’ defined but not used CC [M] /usr/src/RT3070/os/linux/../../common/rtmp_init.o CC [M] /usr/src/RT3070/os/linux/../../common/rtmp_tkip.o CC [M] /usr/src/RT3070/os/linux/../../common/cmm_sync.o CC [M] /usr/src/RT3070/os/linux/../../common/eeprom.o CC [M] /usr/src/RT3070/os/linux/../../common/cmm_sanity.o CC [M] /usr/src/RT3070/os/linux/../../common/cmm_info.o CC [M] /usr/src/RT3070/os/linux/../../common/cmm_wpa.o CC [M] /usr/src/RT3070/os/linux/../../common/dfs.o CC [M] /usr/src/RT3070/os/linux/../../common/spectrum.o CC [M] /usr/src/RT3070/os/linux/../../sta/assoc.o CC [M] /usr/src/RT3070/os/linux/../../sta/aironet.o CC [M] /usr/src/RT3070/os/linux/../../sta/auth.o CC [M] /usr/src/RT3070/os/linux/../../sta/auth_rsp.o CC [M] /usr/src/RT3070/os/linux/../../sta/sync.o CC [M] /usr/src/RT3070/os/linux/../../sta/sanity.o CC [M] /usr/src/RT3070/os/linux/../../sta/rtmp_data.o CC [M] /usr/src/RT3070/os/linux/../../sta/connect.o CC [M] /usr/src/RT3070/os/linux/../../sta/wpa.o CC [M] /usr/src/RT3070/os/linux/../../os/linux/rt_linux.o CC [M] /usr/src/RT3070/os/linux/../../os/linux/rt_profile.o CC [M] /usr/src/RT3070/os/linux/../../os/linux/rt_main_dev.o /usr/src/RT3070/os/linux/../../os/linux/rt_main_dev.c: In function ‘rt28xx_init’: /usr/src/RT3070/os/linux/../../os/linux/rt_main_dev.c:439: warning: unused variable ‘MacValue’ CC [M] /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.o /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_ioctl_giwscan’: /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1116: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1116: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1116: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1116: error: too few arguments to function ‘iwe_stream_add_event’ /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1195: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1195: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1195: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1195: error: too few arguments to function ‘iwe_stream_add_event’ /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1211: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1211: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1211: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1211: error: too few arguments to function ‘iwe_stream_add_point’ /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1238: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1238: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1238: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1238: error: too few arguments to function ‘iwe_stream_add_event’ /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1258: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1258: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1258: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1258: error: too few arguments to function ‘iwe_stream_add_event’ /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1273: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1273: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1273: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1273: error: too few arguments to function ‘iwe_stream_add_event’ /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1291: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1291: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1291: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1291: error: too few arguments to function ‘iwe_stream_add_point’ /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1321: warning: passing argument 1 of ‘iwe_stream_add_value’ from incompatible pointer type /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1321: warning: passing argument 4 of ‘iwe_stream_add_value’ from incompatible pointer type /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1321: warning: passing argument 5 of ‘iwe_stream_add_value’ makes pointer from integer without a cast /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1321: error: too few arguments to function ‘iwe_stream_add_value’ /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1343: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1343: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1343: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1343: error: too few arguments to function ‘iwe_stream_add_point’ /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1361: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1361: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1361: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type /usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.c:1361: error: too few arguments to function ‘iwe_stream_add_point’ make[2]: *** [/usr/src/RT3070/os/linux/../../os/linux/sta_ioctl.o] Error 1 make[1]: *** [_module_/usr/src/RT3070/os/linux] Error 2 make[1]: Leaving directory /usr/src/linux-headers-2.6.27-17-generic’
make: *** [LINUX] Error 2
root@hmedi97N:/usr/src/RT3070#

rt_main_dev.c가 문제가 있는것 같기는 한데
아시는 분은 좀 어떻ㄱ게하는 것인지 알려주시면 감사하겠습니다.

제 아들컴에 무선이 IPTIME N200UA 인데
메인보드에서 내장랜 Disable 하고 부팅하면 무선랜으로 우분투는 자동으로 잡아 줍니다.
그런후에 재부팅시 내장랜도 활성 하시면 되는 방법이 제일 쉽습니다.
RT3070 드라이버는 커널이 모듈로 가지고 있습니다.

그외에 이런 글도 있는데 참고 바랍니다.

http://www.ubuntu.or.kr/viewtopic.php?p=49483#p49483