Quote:
Originally Posted by Las
thank you for help Loki1950,
the problem was solved after the last update 
cool, I'm enjoying the choice ^^
|
hello Las and all,
Unfortunately I am not able to install the Ricoh webcam driver on Fedora 11.
this is what i have:
[root@sbatur SB]# rpm -qa | grep kernel
kernel-firmware-2.6.30.9-96.fc11.noarch
kernel-devel-2.6.30.9-96.fc11.i586
kernel-PAE-2.6.30.9-96.fc11.i686
kerneloops-0.12-5.fc11.i586
kernel-headers-2.6.30.9-96.fc11.i586
and
I have downloaded this driver : dkms-r5u870-0.11.0-8.noarch.rpm.bz2 and r5u870-0.11.0-9.patch
I have followed the instructions below:
# download dkms-r5u870-0.11.0-8.noarch.rpm.bz2
# download r5u870-0.11.0-9.patch
# bunzip dkms-r5u870-0.11.0-8.noarch.rpm.bz2
# rpm -i dkms-r5u870-0.11.0-8.noarch.rpm
# cd /usr/src
# patch -p0 < r5u870-0.11.0-9.patch
# mv r5u870-0.11.0-8 r5u870-0.11.0-9
# dkms -m r5u870 -v 0.11.0-9 add
# dkms -m r5u870 -v 0.11.0-9 build
# dkms -m r5u870 -v 0.11.0-9 install
and receiving an error similar to the one below
Error! Your kernel source for kernel 2.6.29.4-167.fc11.i586 cannot be found at
/lib/modules/2.6.29.4-167.fc11.i586/build or /lib/modules/2.6.29.4-167.fc11.i586/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
so then cd /lib/modules/2.6.29.4-167.fc11.i586
which the kernel exists.
i have clean installed fc11 yesterday again and don't want to mess it up. if you can guide me in how to install the webcam driver I would really appreciate it.
thanks.
Edit: here is the error:
# dkms -m r5u870 -v 0.11.0-9 build
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=2.6.30.9-96.fc11.i686.PAE -C /lib/modules/2.6.30.9-96.fc11.i686.PAE/build M=/var/lib/dkms/r5u870/0.11.0-9/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 2.6.30.9-96.fc11.i686.PAE (i686)
Consult the make.log in the build directory
/var/lib/dkms/r5u870/0.11.0-9/build/ for more information.
0
0
and here is the make.log file
# cat /var/lib/dkms/r5u870/0.11.0-9/build/make.log
DKMS make.log for r5u870-0.11.0-9 for kernel 2.6.30.9-96.fc11.i686.PAE (i686)
Wed Nov 18 18:48:35 CET 2009
make: Entering directory `/usr/src/kernels/2.6.30.9-96.fc11.i686.PAE'
LD /var/lib/dkms/r5u870/0.11.0-9/build/built-in.o
CC [M] /var/lib/dkms/r5u870/0.11.0-9/build/r5u870.o
/var/lib/dkms/r5u870/0.11.0-9/build/r5u870.c:864:1: warning: "V4L2_CID_PRIVACY" redefined
In file included from include/linux/videodev.h:17,
from /var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam.h:40,
from /var/lib/dkms/r5u870/0.11.0-9/build/r5u870.c:59:
include/linux/videodev2.h:1142:1: warning: this is the location of the previous definition
/var/lib/dkms/r5u870/0.11.0-9/build/r5u870.c:866:1: warning: "V4L2_CID_SHARPNESS" redefined
include/linux/videodev2.h:886:1: warning: this is the location of the previous definition
/var/lib/dkms/r5u870/0.11.0-9/build/r5u870.c:867:1: warning: "V4L2_CID_LASTP1" redefined
include/linux/videodev2.h:898:1: warning: this is the location of the previous definition
LD /var/lib/dkms/r5u870/0.11.0-9/build/usbcam/built-in.o
CC [M] /var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_dev.o
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_dev.c: In function ‘usbcam_register_mod’:
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_dev.c:535: warning: assignment from incompatible pointer type
CC [M] /var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.o
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c: In function ‘usbcam_v4l_vidioc_querycap’:
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c:495: error: ‘struct device’ has no member named ‘bus_id’
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c: In function ‘usbcam_v4l_ioctl’:
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c:1140: warning: passing argument 1 of ‘video_usercopy’ from incompatible pointer type
include/media/v4l2-ioctl.h:298: note: expected ‘struct file *’ but argument is of type ‘struct inode *’
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c:1140: warning: passing argument 2 of ‘video_usercopy’ makes integer from pointer without a cast
include/media/v4l2-ioctl.h:298: note: expected ‘unsigned int’ but argument is of type ‘struct file *’
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c:1140: warning: passing argument 4 of ‘video_usercopy’ makes pointer from integer without a cast
include/media/v4l2-ioctl.h:298: note: expected ‘v4l2_kioctl’ but argument is of type ‘long unsigned int’
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c:1140: error: too many arguments to function ‘video_usercopy’
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c:1144: warning: passing argument 1 of ‘video_ioctl2’ from incompatible pointer type
include/media/v4l2-ioctl.h:302: note: expected ‘struct file *’ but argument is of type ‘struct inode *’
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c:1144: warning: passing argument 2 of ‘video_ioctl2’ makes integer from pointer without a cast
include/media/v4l2-ioctl.h:302: note: expected ‘unsigned int’ but argument is of type ‘struct file *’
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c:1144: error: too many arguments to function ‘video_ioctl2’
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c: At top level:
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c:1216: warning: initialization from incompatible pointer type
make[2]: *** [/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.o] Error 1
make[1]: *** [/var/lib/dkms/r5u870/0.11.0-9/build/usbcam] Error 2
make: *** [_module_/var/lib/dkms/r5u870/0.11.0-9/build] Error 2
make: Leaving directory `/usr/src/kernels/2.6.30.9-96.fc11.i686.PAE'
stuck???? help please