Find the answer to your Linux question:
Results 1 to 2 of 2
i tried to install the spca5xx webcam driver i have this emerged on another gentoo install, so i know it works fine Code: Reach spca5xx-20041224 # emerge spca5xx Calculating dependencies ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2005
    Location
    look out your window
    Posts
    72

    spca5xx install gone wrong


    i tried to install the spca5xx webcam driver
    i have this emerged on another gentoo install, so i know it works fine

    Code:
    Reach spca5xx-20041224 # emerge spca5xx
    Calculating dependencies ...done!
    >>> emerge (1 of 1) media-video/spca5xx-20041224 to /
    >>> md5 files   ;-) spca5xx-20050903.ebuild
    >>> md5 files   ;-) spca5xx-20050206.ebuild
    >>> md5 files   ;-) spca5xx-20051001.ebuild
    >>> md5 files   ;-) spca5xx-20050701.ebuild
    >>> md5 files   ;-) spca5xx-20050301.ebuild
    >>> md5 files   ;-) spca5xx-20050116.ebuild
    >>> md5 files   ;-) spca5xx-20050109.ebuild
    >>> md5 files   ;-) spca5xx-20041224.ebuild
    >>> md5 files   ;-) spca5xx-20050328.ebuild
    >>> md5 files   ;-) ChangeLog
    >>> md5 files   ;-) metadata.xml
    >>> md5 files   ;-) spca5xx-20050501.ebuild
    >>> md5 files   ;-) spca5xx-20051105.ebuild
    >>> md5 files   ;-) files/digest-spca5xx-20041224
    >>> md5 files   ;-) files/digest-spca5xx-20050109
    >>> md5 files   ;-) files/digest-spca5xx-20050116
    >>> md5 files   ;-) files/digest-spca5xx-20050206
    >>> md5 files   ;-) files/digest-spca5xx-20050301
    >>> md5 files   ;-) files/digest-spca5xx-20050328
    >>> md5 files   ;-) files/digest-spca5xx-20050501
    >>> md5 files   ;-) files/digest-spca5xx-20050701
    >>> md5 files   ;-) files/digest-spca5xx-20050903
    >>> md5 files   ;-) files/digest-spca5xx-20051001
    >>> md5 files   ;-) files/digest-spca5xx-20051105
    >>> md5 src_uri ;-) spca5xx-20041224.tar.gz
     * Determining the location of the kernel source code
     * Found kernel source directory:
     *     /usr/src/linux
     * Found sources for kernel version:
     *     2.6.14-gentoo-r4
    >>> Unpacking source...
    >>> Unpacking spca5xx-20041224.tar.gz to /var/tmp/portage/spca5xx-20041224/work
     * Converting spca5xx-20041224/Makefile to use M= instead of SUBDIRS=...      [ ok ]
    >>> Source unpacked.
     * Preparing spca50x module
       Building SPCA5XX driver for 2.5/2.6 kernel.
       PLEASE IGNORE THE "Overriding SUBDIRS" WARNING
       Remember: you must have read/write access to your kernel source tree.
    make -C /usr/src/linux M=/var/tmp/portage/spca5xx-20041224/work/spca5xx-20041224 modules
    make[1]: Entering directory `/usr/src/linux-2.6.14-gentoo-r4'
      CC [M]  /var/tmp/portage/spca5xx-20041224/work/spca5xx-20041224/drivers/usb/spca50x.o
      CC [M]  /var/tmp/portage/spca5xx-20041224/work/spca5xx-20041224/drivers/usb/spcadecoder.o
    In file included from /var/tmp/portage/spca5xx-20041224/work/spca5xx-20041224/drivers/usb/spcadecoder.h:5,
                     from /var/tmp/portage/spca5xx-20041224/work/spca5xx-20041224/drivers/usb/spcadecoder.c:35:
    /var/tmp/portage/spca5xx-20041224/work/spca5xx-20041224/drivers/usb/spca50x.h:23:5: warning: "LINUX_VERSION_CODE" is not defined
    /var/tmp/portage/spca5xx-20041224/work/spca5xx-20041224/drivers/usb/spca50x.h:23:26: warning: "KERNEL_VERSION" is not defined
    /var/tmp/portage/spca5xx-20041224/work/spca5xx-20041224/drivers/usb/spca50x.h:23:40: missing binary operator before token "("
    /var/tmp/portage/spca5xx-20041224/work/spca5xx-20041224/drivers/usb/spca50x.h:44:5: warning: "LINUX_VERSION_CODE" is not defined
    /var/tmp/portage/spca5xx-20041224/work/spca5xx-20041224/drivers/usb/spca50x.h:44:26: warning: "KERNEL_VERSION" is not defined
    /var/tmp/portage/spca5xx-20041224/work/spca5xx-20041224/drivers/usb/spca50x.h:44:40: missing binary operator before token "("
    /var/tmp/portage/spca5xx-20041224/work/spca5xx-20041224/drivers/usb/spca50x.h:51:27: linux/tqueue.h: No such file or directory
    /var/tmp/portage/spca5xx-20041224/work/spca5xx-20041224/drivers/usb/spca50x.h:54:5: warning: "LINUX_VERSION_CODE" is not defined
    /var/tmp/portage/spca5xx-20041224/work/spca5xx-20041224/drivers/usb/spca50x.h:54:27: warning: "KERNEL_VERSION" is not defined
    /var/tmp/portage/spca5xx-20041224/work/spca5xx-20041224/drivers/usb/spca50x.h:54:41: missing binary operator before token "("
    In file included from /var/tmp/portage/spca5xx-20041224/work/spca5xx-20041224/drivers/usb/spcadecoder.h:5,
                     from /var/tmp/portage/spca5xx-20041224/work/spca5xx-20041224/drivers/usb/spcadecoder.c:35:
    /var/tmp/portage/spca5xx-20041224/work/spca5xx-20041224/drivers/usb/spca50x.h:449: error: field `task' has incomplete type
    make[2]: *** [/var/tmp/portage/spca5xx-20041224/work/spca5xx-20041224/drivers/usb/spcadecoder.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    /var/tmp/portage/spca5xx-20041224/work/spca5xx-20041224/drivers/usb/spca50x.c: In function `uvirt_to_kva':
    /var/tmp/portage/spca5xx-20041224/work/spca5xx-20041224/drivers/usb/spca50x.c:937: warning: passing arg 1 of `pmd_offset' from incompatible pointer type
    make[1]: *** [_module_/var/tmp/portage/spca5xx-20041224/work/spca5xx-20041224] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.14-gentoo-r4'
    make: *** [default] Error 2
    
    !!! ERROR: media-video/spca5xx-20041224 failed.
    !!! Function linux-mod_src_compile, Line 505, Exitcode 2
    !!! Unable to make                                  KERNELDIR=/usr/src/linux default.
    !!! If you need support, post the topmost build error, NOT this status message.
    
    Reach spca5xx-20041224 #
    It seems that it cannot find my kernel version, but:
    Code:
    Reach spca5xx-20041224 # uname -r
    2.6.14-gentoo-r4
    [/code
    [code]]Reach spca5xx-20041224 # ls -l /usr/src
    total 12
    lrwxrwxrwx   1 root root   22 Dec  8 20:35 linux -> linux-2.6.14-gentoo-r4
    [/code]
    
    Any help would be appreciated.

  2. #2
    Just Joined!
    Join Date
    Jul 2005
    Location
    look out your window
    Posts
    72
    i tried this with another download of the same file, but it returned the same.
    should i try to roll back my kernel?

    i also tried to do it manually....
    Code:
    Reach spca5xx-20041224 # ls    
    CHANGELOG  INSTALL  Makefile  README  cutlog.py  cvs  drivers  sensorDetect.txt
    Reach spca5xx-20041224 # make
       Building SPCA5XX driver for 2.5/2.6 kernel.
       PLEASE IGNORE THE "Overriding SUBDIRS" WARNING
       Remember: you must have read/write access to your kernel source tree.
    make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/portage/distfiles/spca5xx-20041224 modules
    make[1]: Entering directory `/usr/src/linux-2.6.14-gentoo-r4'
      CC [M]  /usr/portage/distfiles/spca5xx-20041224/drivers/usb/spcadecoder.o
    In file included from /usr/portage/distfiles/spca5xx-20041224/drivers/usb/spcadecoder.h:5,
                     from /usr/portage/distfiles/spca5xx-20041224/drivers/usb/spcadecoder.c:35:
    /usr/portage/distfiles/spca5xx-20041224/drivers/usb/spca50x.h:23:5: warning: "LINUX_VERSION_CODE" is not defined
    /usr/portage/distfiles/spca5xx-20041224/drivers/usb/spca50x.h:23:26: warning: "KERNEL_VERSION" is not defined
    /usr/portage/distfiles/spca5xx-20041224/drivers/usb/spca50x.h:23:40: missing binary operator before token "("
    /usr/portage/distfiles/spca5xx-20041224/drivers/usb/spca50x.h:44:5: warning: "LINUX_VERSION_CODE" is not defined
    /usr/portage/distfiles/spca5xx-20041224/drivers/usb/spca50x.h:44:26: warning: "KERNEL_VERSION" is not defined
    /usr/portage/distfiles/spca5xx-20041224/drivers/usb/spca50x.h:44:40: missing binary operator before token "("
    /usr/portage/distfiles/spca5xx-20041224/drivers/usb/spca50x.h:51:27: linux/tqueue.h: No such file or directory
    /usr/portage/distfiles/spca5xx-20041224/drivers/usb/spca50x.h:54:5: warning: "LINUX_VERSION_CODE" is not defined
    /usr/portage/distfiles/spca5xx-20041224/drivers/usb/spca50x.h:54:27: warning: "KERNEL_VERSION" is not defined
    /usr/portage/distfiles/spca5xx-20041224/drivers/usb/spca50x.h:54:41: missing binary operator before token "("
    In file included from /usr/portage/distfiles/spca5xx-20041224/drivers/usb/spcadecoder.h:5,
                     from /usr/portage/distfiles/spca5xx-20041224/drivers/usb/spcadecoder.c:35:
    /usr/portage/distfiles/spca5xx-20041224/drivers/usb/spca50x.h:449: error: field `task' has incomplete type
    make[2]: *** [/usr/portage/distfiles/spca5xx-20041224/drivers/usb/spcadecoder.o] Error 1
    make[1]: *** [_module_/usr/portage/distfiles/spca5xx-20041224] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.14-gentoo-r4'
    make: *** [default] Error 2
    Reach spca5xx-20041224 #
    didnt work either

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •