
도와주세요!!
글 수 15,339
2002.09.09 21:00:20 (*.212.69.18)
8035
일단 -I/usr/src/linux(StrongArm용 디렉토리)/include 라는 옵션을 빼면 딴
걸 참조해서 컴파일 하는 것 같은데, insmod 할때 버전 안 맞다고 나오고 동
작도 제대로 되지 않았습니다.
뭔가 제대로 그곳을 참조할 수 있는 방법을 알고 싶습니다.
김성규 wrote..
: In file included from /ez/sw/kernel/linux/include/linux/fs.h:197,
:
from /ez/sw/kernel/linux/include/linux/capability.h:17,
: from /ez/sw/kernel/linux/include/linux/binfmts.h:5,
: from /ez/sw/kernel/linux/include/linux/sched.h:9,
: from /ez/sw/kernel/linux/include/linux/mm.h:4,
: from /ez/sw/kernel/linux/include/linux/slab.h:14,
: from gpio.c:28:
: /ez/sw/kernel/linux/include/asm/semaphore.h:13: asm/proc/locks.h: No
: such file or directory
: In file included from /ez/sw/kernel/linux/include/linux/smp.h:14,
: from /ez/sw/kernel/linux/include/linux/sched.h:22,
: from /ez/sw/kernel/linux/include/linux/mm.h:4,
: from /ez/sw/kernel/linux/include/linux/slab.h:14,
: from gpio.c:28:
: /ez/sw/kernel/linux/include/asm/smp.h:7: #error SMP not supported
: In file included from /ez/sw/kernel/linux/include/asm/pgtable.h:152,
: from /ez/sw/kernel/linux/include/linux/mm.h:23,
: from /ez/sw/kernel/linux/include/linux/slab.h:14,
: from gpio.c:28:
: /usr/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-
: linux/include/asm/proc/pgtable.h:140: warning: `USER_PTRS_PER_PGD'
: redefined
: /ez/sw/kernel/linux/include/asm/pgtable.h:42: warning: this is the
: location of the previous definition
: /usr/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-
: linux/include/asm/proc/pgtable.h:180: warning: `ZERO_PAGE' redefined
: /ez/sw/kernel/linux/include/asm/pgtable.h:76: warning: this is the
: location of the previous definition
: /usr/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-
: linux/include/asm/proc/pgtable.h:410: warning: `pte_clear' redefined
: /ez/sw/kernel/linux/include/asm/pgtable.h:79: warning: this is the
: location of the previous definition
: In file included from /ez/sw/kernel/linux/include/linux/mm.h:23,
: from /ez/sw/kernel/linux/include/linux/slab.h:14,
: from gpio.c:28:
: /ez/sw/kernel/linux/include/asm/pgtable.h:166: warning: `SWP_TYPE'
: redefined
: /usr/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-
: linux/include/asm/proc/pgtable.h:618: warning: this is the location of
: the previous definiti
: on
: /ez/sw/kernel/linux/include/asm/pgtable.h:167: warning: `SWP_OFFSET'
: redefined
: /usr/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-
: linux/include/asm/proc/pgtable.h:619: warning: this is the location of
: the previous definiti
: on
: /ez/sw/kernel/linux/include/asm/pgtable.h:168: warning: `SWP_ENTRY'
: redefined
: /usr/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-
: linux/include/asm/proc/pgtable.h:620: warning: this is the location of
: the previous definiti
: on
: In file included
from /ez/sw/kernel/linux/include/linux/interrupt.h:45,
: from gpio.c:39:
: /ez/sw/kernel/linux/include/asm/hardirq.h:39: #error SMP not supported
: In file included from gpio.c:50:
: /ez/sw/kernel/linux/include/asm/io.h:145: warning: `ioremap' redefined
: /usr/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-
: linux/include/asm/arch/io.h:81: warning: this is the location of the
: previous definition
: /ez/sw/kernel/linux/include/asm/io.h:146: warning: `ioremap_nocache'
: redefined
: /usr/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-
: linux/include/asm/arch/io.h:83: warning: this is the location of the
: previous definition
: /ez/sw/kernel/linux/include/asm/io.h:147: warning: `iounmap' redefined
: /usr/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-
: linux/include/asm/arch/io.h:85: warning: this is the location of the
: previous definition
: make: *** [gpio.o] Error 1
: ]0;root@ite2.suwon.ac.kr: /led[root@ite2 /led]#
:
: 이런 에러메시지가 뜹니다.
: 자꾸 질문을 드려서 죄송합니다.
:
: 그럼 (--)(__)
걸 참조해서 컴파일 하는 것 같은데, insmod 할때 버전 안 맞다고 나오고 동
작도 제대로 되지 않았습니다.
뭔가 제대로 그곳을 참조할 수 있는 방법을 알고 싶습니다.
김성규 wrote..
: In file included from /ez/sw/kernel/linux/include/linux/fs.h:197,
:
from /ez/sw/kernel/linux/include/linux/capability.h:17,
: from /ez/sw/kernel/linux/include/linux/binfmts.h:5,
: from /ez/sw/kernel/linux/include/linux/sched.h:9,
: from /ez/sw/kernel/linux/include/linux/mm.h:4,
: from /ez/sw/kernel/linux/include/linux/slab.h:14,
: from gpio.c:28:
: /ez/sw/kernel/linux/include/asm/semaphore.h:13: asm/proc/locks.h: No
: such file or directory
: In file included from /ez/sw/kernel/linux/include/linux/smp.h:14,
: from /ez/sw/kernel/linux/include/linux/sched.h:22,
: from /ez/sw/kernel/linux/include/linux/mm.h:4,
: from /ez/sw/kernel/linux/include/linux/slab.h:14,
: from gpio.c:28:
: /ez/sw/kernel/linux/include/asm/smp.h:7: #error SMP not supported
: In file included from /ez/sw/kernel/linux/include/asm/pgtable.h:152,
: from /ez/sw/kernel/linux/include/linux/mm.h:23,
: from /ez/sw/kernel/linux/include/linux/slab.h:14,
: from gpio.c:28:
: /usr/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-
: linux/include/asm/proc/pgtable.h:140: warning: `USER_PTRS_PER_PGD'
: redefined
: /ez/sw/kernel/linux/include/asm/pgtable.h:42: warning: this is the
: location of the previous definition
: /usr/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-
: linux/include/asm/proc/pgtable.h:180: warning: `ZERO_PAGE' redefined
: /ez/sw/kernel/linux/include/asm/pgtable.h:76: warning: this is the
: location of the previous definition
: /usr/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-
: linux/include/asm/proc/pgtable.h:410: warning: `pte_clear' redefined
: /ez/sw/kernel/linux/include/asm/pgtable.h:79: warning: this is the
: location of the previous definition
: In file included from /ez/sw/kernel/linux/include/linux/mm.h:23,
: from /ez/sw/kernel/linux/include/linux/slab.h:14,
: from gpio.c:28:
: /ez/sw/kernel/linux/include/asm/pgtable.h:166: warning: `SWP_TYPE'
: redefined
: /usr/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-
: linux/include/asm/proc/pgtable.h:618: warning: this is the location of
: the previous definiti
: on
: /ez/sw/kernel/linux/include/asm/pgtable.h:167: warning: `SWP_OFFSET'
: redefined
: /usr/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-
: linux/include/asm/proc/pgtable.h:619: warning: this is the location of
: the previous definiti
: on
: /ez/sw/kernel/linux/include/asm/pgtable.h:168: warning: `SWP_ENTRY'
: redefined
: /usr/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-
: linux/include/asm/proc/pgtable.h:620: warning: this is the location of
: the previous definiti
: on
: In file included
from /ez/sw/kernel/linux/include/linux/interrupt.h:45,
: from gpio.c:39:
: /ez/sw/kernel/linux/include/asm/hardirq.h:39: #error SMP not supported
: In file included from gpio.c:50:
: /ez/sw/kernel/linux/include/asm/io.h:145: warning: `ioremap' redefined
: /usr/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-
: linux/include/asm/arch/io.h:81: warning: this is the location of the
: previous definition
: /ez/sw/kernel/linux/include/asm/io.h:146: warning: `ioremap_nocache'
: redefined
: /usr/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-
: linux/include/asm/arch/io.h:83: warning: this is the location of the
: previous definition
: /ez/sw/kernel/linux/include/asm/io.h:147: warning: `iounmap' redefined
: /usr/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-
: linux/include/asm/arch/io.h:85: warning: this is the location of the
: previous definition
: make: *** [gpio.o] Error 1
: ]0;root@ite2.suwon.ac.kr: /led[root@ite2 /led]#
:
: 이런 에러메시지가 뜹니다.
: 자꾸 질문을 드려서 죄송합니다.
:
: 그럼 (--)(__)