mips프로세서 사용한 uclinux에서 usb무선랜 컴파일 에러입니다
안녕하세요. 리눅스에 입문한 비기너입니다.
제가 linux를 지원하는 usb 무선랜 Ralink와 ZyDAS 칩셋용 드라이버를
구해서 debian리눅스 데스크탑 환경에서 설치하여 사용하였습니다.
그런데 특정한 보드에 이 드라이버를 올리려고 하니 에러가 나네요.
보드는 mips 프로세서 기반의 uclinux입니다.
크로스컴파일 환경 구축하고 config환경이나 make 파일을 보드용
커널소스에 맞춰주었습니다.
에러 내용을 보면 도통 무슨 말인지 모르겠네요.
프로세서가 달라서 컴파일이 안되는것인지 아니면 제가 설정을 잘 못 해줬는지...
mips기반에서 돌아가는 usb 무선랜이 무엇인지 알고 계시는지요?
아님 아래 에러가 무엇때문에 나는지요.
조그만 답변에도 무지 감사드리겠습니다.
수고하세요.
에러내용의 일부분을 올려드립니다.
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/linux/mm.h: In function `page_zone':
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/linux/mm.h:348: error: `_MIPS_SZLONG' undeclared (first use in this function)
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/linux/mm.h: In function `set_page_zone':
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/linux/mm.h:353: error: `_MIPS_SZLONG' undeclared (first use in this function)
In file included from rt_config.h:96,
from rtusb_main.c:38:
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/asm/atomic.h:41:1: warning: this is the location of the previous definition
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/asm-i386/atomic.h:54: error: conflicting types for `atomic_add'
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/asm/atomic.h:128: error: previous declaration of `atomic_add'
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/asm-i386/atomic.h:70: error: conflicting types for `atomic_sub'
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/asm/atomic.h:149: error: previous declaration of `atomic_sub'
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/asm-i386/atomic.h:87: error: syntax error before '(' token
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/asm-i386/atomic.h:105: error: syntax error before numeric constant
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/asm-i386/atomic.h:120: error: syntax error before numeric constant
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/asm-i386/atomic.h:137: error: syntax error before numeric constant
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/asm-i386/atomic.h:157: error: syntax error before numeric constant
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/asm-i386/atomic.h:178: error: syntax error before '(' token
In file included from rt_config.h:96,
from rtusb_main.c:38:
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/asm-i386/atomic.h:199:1: warning: "smp_mb__before_atomic_dec" redefined
In file included from /smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/linux/spinlock.h:231,
from /smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/linux/module.h:12,
from rt_config.h:60,
from rtusb_main.c:38:
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/asm/atomic.h:275:1: warning: this is the location of the previous definition
In file included from rt_config.h:96,
from rtusb_main.c:38:
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/asm-i386/atomic.h:200:1: warning: "smp_mb__after_atomic_dec" redefined
In file included from /smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/linux/spinlock.h:231,
from /smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/linux/module.h:12,
from rt_config.h:60,
from rtusb_main.c:38:
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/asm/atomic.h:276:1: warning: this is the location of the previous definition
In file included from rt_config.h:96,
from rtusb_main.c:38:
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/asm-i386/atomic.h:201:1: warning: "smp_mb__before_atomic_inc" redefined
In file included from /smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/linux/spinlock.h:231,
from /smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/linux/module.h:12,
from rt_config.h:60,
from rtusb_main.c:38:
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/asm/atomic.h:277:1: warning: this is the location of the previous definition
In file included from rt_config.h:96,
from rtusb_main.c:38:
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/asm-i386/atomic.h:202:1: warning: "smp_mb__after_atomic_inc" redefined
In file included from /smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/linux/spinlock.h:231,
from /smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/linux/module.h:12,
from rt_config.h:60,
from rtusb_main.c:38:
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/asm/atomic.h:278:1: warning: this is the location of the previous definition
rtusb_main.c: In function `usb_rtusb_probe':
rtusb_main.c:1424: warning: passing arg 2 of `atomic_sub' from incompatible pointer type
rtusb_main.c: In function `usb_rtusb_disconnect':
rtusb_main.c:1522: warning: passing arg 2 of `atomic_sub' from incompatible pointer type
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/asm/delay.h: In function `__udelay':
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/asm/delay.h:49: error: unknown register name `accum' in `asm'
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/asm/delay.h: In function `__ndelay':
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/asm/delay.h:65: error: unknown register name `accum' in `asm'
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/asm/uaccess.h: In function `__clear_user':
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/asm/uaccess.h:590: error: unknown register name `$31' in `asm'
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/asm/uaccess.h:590: error: unknown register name `$9' in `asm'
/smp8634/kernel/smp86xx_kernel_source_2.7.107.0/linuxmips-2.4.30/include/asm/uaccess.h:590: error: unknown register name `$8' in `asm'
댓글 달기