Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Gentoo Linux Help > spca5xx install gone wrong

Forgot Password?
 Gentoo Linux Help   For help and discussion related to Gentoo Linux

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 12-10-2005   #1 (permalink)
Just Joined!
 
Join Date: Jul 2005
Location: look out your window
Posts: 72
Send a message via AIM to tuxxman
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.
tuxxman is offline  


Reply With Quote
Old 12-10-2005   #2 (permalink)
Just Joined!
 
Join Date: Jul 2005
Location: look out your window
Posts: 72
Send a message via AIM to tuxxman
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
tuxxman is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 10:12 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2