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가 문제가 있는것 같기는 한데
아시는 분은 좀 어떻ㄱ게하는 것인지 알려주시면 감사하겠습니다.