| View previous topic :: View next topic |
| Author |
Message |
Xerionn n00b

Joined: 16 Apr 2007 Posts: 68
|
Posted: Fri Aug 01, 2008 2:56 pm Post subject: [Solved] Webcam Ricoh R5u870 |
|
|
Until now i could use my webcam normally by using the ebuild from the connectical-contrib overlay.. However now that i upgraded to the 2.6.25-r7 kernel i cannot compile it at all...
| Quote: |
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0 ...
^[[32;01m*^[[0m Preparing r5u870 module
make -C /lib/modules/2.6.25-gentoo-r7/build M=/var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0 V=0 modules
make[1]: Entering directory `/usr/src/linux-2.6.25-gentoo-r7'
CC [M] /var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0/r5u870.o
CC [M] /var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0/usbcam/usbcam_dev.o
CC [M] /var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0/usbcam/usbcam_fops.o
/var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0/r5u870.c:867:1: warning: "V4L2_CID_LASTP1" redefined
In file included from include/linux/videodev.h:16,
from /var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0/usbcam/usbcam.h:40,
from /var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0/r5u870.c:59:
include/linux/videodev2.h:866:1: warning: this is the location of the previous definition
CC [M] /var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0/usbcam/usbcam_buf.o
/var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0/usbcam/usbcam_buf.c: In function ‘usbcam_capture_abortall’:
/var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0/usbcam/usbcam_buf.c:64: error: ‘STATE_ERROR’ undeclared (first use in this function)
/var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0/usbcam/usbcam_buf.c:64: error: (Each undeclared identifier is reported only once
/var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0/usbcam/usbcam_buf.c:64: error: for each function it appears in.)
/var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0/usbcam/usbcam_buf.c: In function ‘usbcam_capture_complete_frame’:
/var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0/usbcam/usbcam_buf.c:77: error: ‘STATE_ERROR’ undeclared (first use in this function)
/var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0/usbcam/usbcam_buf.c:77: error: ‘STATE_DONE’ undeclared (first use in this function)
/var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0/usbcam/usbcam_buf.c: In function ‘usbcam_curframe_complete_detail’:
/var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0/usbcam/usbcam_buf.c:197: error: ‘STATE_ACTIVE’ undeclared (first use in this function)
/var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0/usbcam/usbcam_buf.c: In function ‘usbcam_videobuf_free’:
/var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0/usbcam/usbcam_buf.c:519: error: ‘STATE_NEEDS_INIT’ undeclared (first use in this function)
/var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0/usbcam/usbcam_buf.c: In function ‘usbcam_videobuf_prepare’:
/var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0/usbcam/usbcam_buf.c:549: error: ‘STATE_NEEDS_INIT’ undeclared (first use in this function)
/var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0/usbcam/usbcam_buf.c:584: error: ‘STATE_PREPARED’ undeclared (first use in this function)
/var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0/usbcam/usbcam_buf.c: In function ‘usbcam_videobuf_queue’:
/var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0/usbcam/usbcam_buf.c:601: error: ‘STATE_NEEDS_INIT’ undeclared (first use in this function)
/var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0/usbcam/usbcam_buf.c:616: error: ‘STATE_ACTIVE’ undeclared (first use in this function)
/var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0/usbcam/usbcam_buf.c: In function ‘usbcam_videobuf_release’:
/var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0/usbcam/usbcam_buf.c:635: error: ‘STATE_NEEDS_INIT’ undeclared (first use in this function)
/var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0/usbcam/usbcam_buf.c:645: error: ‘STATE_ACTIVE’ undeclared (first use in this function)
make[3]: *** [/var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0/usbcam/usbcam_buf.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0/usbcam] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [_module_/var/tmp/portage/media-video/r5u870-0.11.0/work/r5u870-0.11.0] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25-gentoo-r7'
make: *** [all] Error 2
^[[31;01m*^[[0m
^[[31;01m*^[[0m ERROR: media-video/r5u870-0.11.0 failed.
^[[31;01m*^[[0m Call stack:
^[[31;01m*^[[0m ebuild.sh, line 49: Called src_compile
^[[31;01m*^[[0m environment, line 3215: Called linux-mod_src_compile
^[[31;01m*^[[0m environment, line 2471: Called die
^[[31;01m*^[[0m The specific snippet of code:
^[[31;01m*^[[0m eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CC=\"$(get-KERNEL_CC)\" LDFLAGS=\"$(get_abi_LDFLAGS)\" $
^[[31;01m*^[[0m The die message:
^[[31;01m*^[[0m Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CC=x86_64-pc-linux-gnu-gcc LDFLAGS= all
^[[31;01m*^[[0m
^[[31;01m*^[[0m If you need support, post the topmost build error, and the call stack if relevant.
^[[31;01m*^[[0m A complete build log is located at '/var/tmp/portage/media-video/r5u870-0.11.0/temp/build.log'.
^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/media-video/r5u870-0.11.0/temp/environment'.
^[[31;01m*^[[0m
|
Any idea maybe ?
Last edited by Xerionn on Tue Aug 05, 2008 3:23 pm; edited 1 time in total |
|
| Back to top |
|
 |
MalleRIM Guru

Joined: 23 Jul 2007 Posts: 518 Location: Australia
|
Posted: Tue Aug 05, 2008 8:03 am Post subject: |
|
|
in the case of the nvidia-drivers, disabling ccache helps. It might also work in your case. _________________ Men never do evil so completely and cheerfully as when they do it from religious conviction. |
|
| Back to top |
|
 |
Xerionn n00b

Joined: 16 Apr 2007 Posts: 68
|
Posted: Tue Aug 05, 2008 3:22 pm Post subject: |
|
|
i dont have the ccache enabled. Though thank you for the sugestion
For the people that have this webcam you can get it working by using the 9999 ebuild from the svn of mediati.org |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|