iptime n150ua 드라이버 설치관련 질문.

하드웨어 지원 및 드라이버 설치 등에 관한 문제 해결

Moderator: Dry8r3aD

Post Reply
thhk123
Posts: 3
Joined: 2014/07/19 Sat 8:04 pm

iptime n150ua 드라이버 설치관련 질문.

Post by thhk123 » 2014/07/19 Sat 8:16 pm

3.14-kali1-amd64 이고요
iptime 홈페이지에서 [url]contents.iptime.co.kr/~contents/link/wlan/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.bz2[[/url] 를 다운받고 컴파일하는과정에서
make 명령어를 입력하니

make -C tools
make[1]: Entering directory `/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools'
/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools/bin2h
cp -f os/linux/Makefile.6 /root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/Makefile
make -C /lib/modules/3.14-kali1-amd64/build SUBDIRS=/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux modules
make: *** /lib/modules/3.14-kali1-amd64/build: 그런 파일이나 디렉터리가 없습니다. 멈춤.
make: *** [LINUX] 오류 2

이러한 오류가 납니다.
도와주세요..
드라이버파일은 첨부하겠습니다.
Attachments
DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.bz2
(1.12 MiB) Downloaded 157 times

User avatar
ihavnoth
Posts: 880
Joined: 2008/09/19 Fri 11:08 pm
Location: 경기/평택
Contact:

Re: iptime n150ua 드라이버 설치관련 질문.

Post by ihavnoth » 2014/07/19 Sat 9:01 pm

같은 모델을 사용하고 있는데

그냥 꼽으면 잘 동작합니다(14.04 기본 커널)

STA 모드로만 동작 됩니다.

꼭 빌드 하셔야하면

커널 헤더를 설치하신 후 다시 빌드해보세요

$ dpkg -S /lib/modules/$(uname -r)/build
linux-headers-3.13.0-24-generic: /lib/modules/3.13.0-24-generic/build

thhk123
Posts: 3
Joined: 2014/07/19 Sat 8:04 pm

Re: iptime n150ua 드라이버 설치관련 질문.

Post by thhk123 » 2014/07/20 Sun 10:14 am

ihavnoth님께서 말씀하신대로 커널헤더를 설치하고(apt-get install linux-header-(uname -r)
다시 make명령어를 입력해봤더니

make -C tools
make[1]: Entering directory `/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools'
/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools/bin2h
cp -f os/linux/Makefile.6 /root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/Makefile
make -C /lib/modules/3.14-kali1-amd64/build SUBDIRS=/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux modules
make[1]: Entering directory `/usr/src/linux-headers-3.14-kali1-amd64'
CC [M] /root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.o
/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsUsDelay’:
/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:179:8: warning: unused variable ‘i’ [-Wunused-variable]
/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c: In function ‘duplicate_pkt’:
/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:497:3: warning: passing argument 1 of ‘memmove’ makes pointer from integer without a cast [enabled by default]
In file included from /usr/src/linux-headers-3.14-kali1-common/arch/x86/include/asm/string.h:4:0,
from /usr/src/linux-headers-3.14-kali1-common/include/linux/string.h:17,
from /usr/src/linux-headers-3.14-kali1-common/include/linux/dynamic_debug.h:111,
from /usr/src/linux-headers-3.14-kali1-common/include/linux/printk.h:244,
from /usr/src/linux-headers-3.14-kali1-common/include/linux/kernel.h:13,
from /usr/src/linux-headers-3.14-kali1-common/arch/x86/include/asm/percpu.h:44,
from /usr/src/linux-headers-3.14-kali1-common/arch/x86/include/asm/preempt.h:5,
from /usr/src/linux-headers-3.14-kali1-common/include/linux/preempt.h:20,
from /usr/src/linux-headers-3.14-kali1-common/include/linux/spinlock.h:50,
from /usr/src/linux-headers-3.14-kali1-common/include/linux/seqlock.h:35,
from /usr/src/linux-headers-3.14-kali1-common/include/linux/time.h:5,
from /usr/src/linux-headers-3.14-kali1-common/include/linux/stat.h:18,
from /usr/src/linux-headers-3.14-kali1-common/include/linux/module.h:10,
from /root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/include/os/rt_linux.h:31,
from /root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/include/rtmp_os.h:44,
from /root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/include/rtmp_comm.h:75,
from /root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:32:
/usr/src/linux-headers-3.14-kali1-common/arch/x86/include/asm/string_64.h:58:7: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’
/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:499:3: warning: passing argument 1 of ‘memmove’ makes pointer from integer without a cast [enabled by default]
In file included from /usr/src/linux-headers-3.14-kali1-common/arch/x86/include/asm/string.h:4:0,
from /usr/src/linux-headers-3.14-kali1-common/include/linux/string.h:17,
from /usr/src/linux-headers-3.14-kali1-common/include/linux/dynamic_debug.h:111,
from /usr/src/linux-headers-3.14-kali1-common/include/linux/printk.h:244,
from /usr/src/linux-headers-3.14-kali1-common/include/linux/kernel.h:13,
from /usr/src/linux-headers-3.14-kali1-common/arch/x86/include/asm/percpu.h:44,
from /usr/src/linux-headers-3.14-kali1-common/arch/x86/include/asm/preempt.h:5,
from /usr/src/linux-headers-3.14-kali1-common/include/linux/preempt.h:20,
from /usr/src/linux-headers-3.14-kali1-common/include/linux/spinlock.h:50,
from /usr/src/linux-headers-3.14-kali1-common/include/linux/seqlock.h:35,
from /usr/src/linux-headers-3.14-kali1-common/include/linux/time.h:5,
from /usr/src/linux-headers-3.14-kali1-common/include/linux/stat.h:18,
from /usr/src/linux-headers-3.14-kali1-common/include/linux/module.h:10,
from /root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/include/os/rt_linux.h:31,
from /root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/include/rtmp_os.h:44,
from /root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/include/rtmp_comm.h:75,
from /root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:32:
/usr/src/linux-headers-3.14-kali1-common/arch/x86/include/asm/string_64.h:58:7: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’
/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c: In function ‘ClonePacket’:
/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:650:20: warning: assignment makes integer from pointer without a cast [enabled by default]
/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsPktInit’:
/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:669:2: warning: assignment makes integer from pointer without a cast [enabled by default]
/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c: In function ‘wlan_802_11_to_802_3_packet’:
/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:695:15: warning: assignment makes integer from pointer without a cast [enabled by default]
/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c: In function ‘__RtmpOSFSInfoChange’:
/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:1121:20: error: incompatible types when assigning to type ‘int’ from type ‘kuid_t’
/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:1122:20: error: incompatible types when assigning to type ‘int’ from type ‘kgid_t’
/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpDrvAllRFPrint’:
/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:2052:4: warning: passing argument 2 of ‘file_w->f_op->write’ from incompatible pointer type [enabled by default]
/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:2052:4: note: expected ‘const char *’ but argument is of type ‘UINT32 *’
/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:2037:22: warning: unused variable ‘macValue’ [-Wunused-variable]
/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:2037:9: warning: unused variable ‘macAddr’ [-Wunused-variable]
/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSIRQRelease’:
/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:2173:21: warning: unused variable ‘net_dev’ [-Wunused-variable]
make[4]: *** [/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.o] 오류 1
make[3]: *** [_module_/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux] 오류 2
make[2]: *** [sub-make] 오류 2
make[1]: *** [all] 오류 2
make[1]: Leaving directory `/usr/src/linux-headers-3.14-kali1-amd64'
make: *** [LINUX] 오류 2

이번엔 이런 오류가 뜨네요..
어떻게 해야 할까요..

User avatar
ihavnoth
Posts: 880
Joined: 2008/09/19 Fri 11:08 pm
Location: 경기/평택
Contact:

Re: iptime n150ua 드라이버 설치관련 질문.

Post by ihavnoth » 2014/07/20 Sun 1:19 pm

include/os/rt_linux.h

[code:2lqodcoy]typedef struct _OS_FS_INFO_
{
#if LINUX_VERSION_CODE < KERNEL_VERSION(3,5,0)
int fsuid;
int fsgid;
#else
kuid_t fsuid;
kgid_t fsgid;
#endif
mm_segment_t fs;
} OS_FS_INFO;[/code:2lqodcoy]

Post Reply