로그인 영역

통합 검색
통합 검색

젠투 공식 홈페이지
젠투 공식 한글 번역 문서
부 메뉴
  1. 질문/답변
  2. Tips
  3. 위키(새 창)
  4. 뉴스/새소식
컨텐츠 영역

웹캠 gspcav1 모듈 설치시 오류

2009.01.27 05:52

동이 조회 수:21602

asm/semaphore.h 찾을수 없다고 나옵니다. 커널부분 오류???은데 해결방법이 요원하네요.

rocop ~ # emerge -av gspcav1

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] media-video/gspcav1-20071224 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] yes

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) media-video/gspcav1-20071224
* gspcav1-20071224.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/2.6.27-gentoo-r7/build
* Found sources for kernel version:
* 2.6.27-gentoo-r7
* Checking for suitable kernel configuration options... [ ok ]
>>> Unpacking source...
>>> Unpacking gspcav1-20071224.tar.gz to /var/tmp/portage/media-video/gspcav1-20071224/work
* Converting gspcav1-20071224/Makefile to use M= instead of SUBDIRS= .. [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224 ...
ln: creating symbolic link `Module.symvers': 파일이 존재합니다
* Preparing gspca module
make HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= KERNELDIR=/usr/src/linux default
make -C /usr/src/linux M=/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224 CC=cc modules
make[1]: Entering directory `/usr/src/linux-2.6.27-gentoo-r7'
CC [M] /var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.o
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c:54:27: error: asm/semaphore.h: 그런 파일이나 디렉토리가 없음
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_ioctl’:
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c:2463: error: implicit declaration of function ‘video_usercopy’
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c: At top level:
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c:2609: error: unknown field ‘owner’ specified in initializer
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c:2609: warning: initialization from incompatible pointer type
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c:2611: error: unknown field ‘type’ specified in initializer
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c: In function ‘spca50x_create_sysfs’:
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c:2769: error: implicit declaration of function ???video_device_create_file’
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c:2780: error: implicit declaration of function ‘video_device_remove_file’
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_probe’:
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c:4301: error: incompatible types in assignment
make[2]: *** [/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.o] 오류 1
make[1]: *** [_module_/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224] 오류 2
make[1]: Leaving directory `/usr/src/linux-2.6.27-gentoo-r7'
make: *** [default] 오??? 2
*
* ERROR: media-video/gspcav1-20071224 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3129: Called linux-mod_src_compile
* environment, line 2400: Called die
* The specific snippet of code:
* eval "emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
* The die message:
* Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= KERNELDIR=/usr/src/linux default
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/media-video/gspcav1-20071224/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-video/gspcav1-20071224/temp/environment'.
*

>>> Failed to emerge media-video/gspcav1-20071224, Log file:

>>> '/var/tmp/portage/media-video/gspcav1-20071224/temp/build.log'

* Messages for package media-video/gspcav1-20071224:

*
* ERROR: media-video/gspcav1-20071224 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3129: Called linux-mod_src_compile
* environment, line 2400: Called die
* The specific snippet of code:
* eval "emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
* The die message:
* Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= KERNELDIR=/usr/src/linux default
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/media-video/gspcav1-20071224/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-video/gspcav1-20071224/temp/environment'.
*
rocop ~ #