usb무선랜에 컴파일시 에러가 나네요.

iamjaejong의 이미지

안녕하세요. 리눅스에 입문한 비기너입니다.
제가 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'

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.