Creative Mini cam Model PD1001

Discussion regarding the installation and configuration of Linux distributions.

Creative Mini cam Model PD1001

Postby yasiriqbal » Tue Jul 17, 2007 11:12 am

I have a Creative mini web cam model # is PD1001
so I download the latest driver which is version 2.32
but when i install so i got this error

[root@localhost ~]# cd Desktop
[root@localhost Desktop]# cd 1
[root@localhost 1]# make clean
make -C /lib/modules/2.6.21-1.3194.fc7/build M=/root/Desktop/1 clean
make[1]: Entering directory `/usr/src/kernels/2.6.21-1.3194.fc7-i686'
make[1]: Leaving directory `/usr/src/kernels/2.6.21-1.3194.fc7-i686'
[root@localhost 1]# make
Building OVCam drivers for 2.6 kernel.
make -C /lib/modules/2.6.21-1.3194.fc7/build SUBDIRS=/root/Desktop/1 modules
make[1]: Entering directory `/usr/src/kernels/2.6.21-1.3194.fc7-i686'
CC [M] /root/Desktop/1/ov511_core.o
/root/Desktop/1/ov511_core.c:29:26: error: linux/config.h: No such file or directory
/root/Desktop/1/ov511_core.c: In function ‘ov51x_init_isoc’:
/root/Desktop/1/ov511_core.c:3566: warning: assignment from incompatible pointer type
/root/Desktop/1/ov511_core.c: In function ‘ov51x_open’:
/root/Desktop/1/ov511_core.c:3818: warning: implicit declaration of function ‘video_devdata’
/root/Desktop/1/ov511_core.c:3818: warning: initialization makes pointer from integer without a cast
/root/Desktop/1/ov511_core.c:3819: warning: implicit declaration of function ‘video_get_drvdata’
/root/Desktop/1/ov511_core.c:3819: warning: initialization makes pointer from integer without a cast
/root/Desktop/1/ov511_core.c: In function ‘ov51x_release’:
/root/Desktop/1/ov511_core.c:3885: warning: initialization makes pointer from integer without a cast
/root/Desktop/1/ov511_core.c: In function ‘ov51x_do_ioctl’:
/root/Desktop/1/ov511_core.c:3924: warning: initialization makes pointer from integer without a cast
/root/Desktop/1/ov511_core.c:3944: warning: implicit declaration of function ‘v4l_print_ioctl’
/root/Desktop/1/ov511_core.c:4303: error: dereferencing pointer to incomplete type
/root/Desktop/1/ov511_core.c: In function ‘ov51x_ioctl’:
/root/Desktop/1/ov511_core.c:4743: warning: initialization makes pointer from integer without a cast
/root/Desktop/1/ov511_core.c:4749: warning: implicit declaration of function ‘video_usercopy’
/root/Desktop/1/ov511_core.c: In function ‘ov51x_read’:
/root/Desktop/1/ov511_core.c:4765: warning: initialization makes pointer from integer without a cast
/root/Desktop/1/ov511_core.c: In function ‘ov51x_mmap’:
/root/Desktop/1/ov511_core.c:4920: warning: initialization makes pointer from integer without a cast
/root/Desktop/1/ov511_core.c: At top level:
/root/Desktop/1/ov511_core.c:4974: error: ‘v4l_compat_ioctl32’ undeclared here (not in a function)
/root/Desktop/1/ov511_core.c:4979: error: variable ‘vdev_template’ has initializer but incomplete type
/root/Desktop/1/ov511_core.c:4980: error: unknown field ‘owner’ specified in initializer
/root/Desktop/1/ov511_core.c:4980: warning: excess elements in struct initializer
/root/Desktop/1/ov511_core.c:4980: warning: (near initialization for ‘vdev_template’)
/root/Desktop/1/ov511_core.c:4981: error: unknown field ‘name’ specified in initializer
/root/Desktop/1/ov511_core.c:4981: warning: excess elements in struct initializer
/root/Desktop/1/ov511_core.c:4981: warning: (near initialization for ‘vdev_template’)
/root/Desktop/1/ov511_core.c:4982: error: unknown field ‘type’ specified in initializer
/root/Desktop/1/ov511_core.c:4982: warning: excess elements in struct initializer
/root/Desktop/1/ov511_core.c:4982: warning: (near initialization for ‘vdev_template’)
/root/Desktop/1/ov511_core.c:4983: error: unknown field ‘hardware’ specified in initializer
/root/Desktop/1/ov511_core.c:4983: warning: excess elements in struct initializer
/root/Desktop/1/ov511_core.c:4983: warning: (near initialization for ‘vdev_template’)
/root/Desktop/1/ov511_core.c:4984: error: unknown field ‘fops’ specified in initializer
/root/Desktop/1/ov511_core.c:4984: warning: excess elements in struct initializer
/root/Desktop/1/ov511_core.c:4984: warning: (near initialization for ‘vdev_template’)
/root/Desktop/1/ov511_core.c:4986: error: unknown field ‘release’ specified in initializer
/root/Desktop/1/ov511_core.c:4986: error: ‘video_device_release’ undeclared here (not in a function)
/root/Desktop/1/ov511_core.c:4986: warning: excess elements in struct initializer
/root/Desktop/1/ov511_core.c:4986: warning: (near initialization for ‘vdev_template’)
/root/Desktop/1/ov511_core.c:4988: error: unknown field ‘minor’ specified in initializer
/root/Desktop/1/ov511_core.c:4988: warning: excess elements in struct initializer
/root/Desktop/1/ov511_core.c:4988: warning: (near initialization for ‘vdev_template’)
/root/Desktop/1/ov511_core.c: In function ‘cd_to_ov’:
/root/Desktop/1/ov511_core.c:5543: warning: implicit declaration of function ‘to_video_device’
/root/Desktop/1/ov511_core.c:5543: warning: initialization makes pointer from integer without a cast
/root/Desktop/1/ov511_core.c:5544: warning: return makes pointer from integer without a cast
/root/Desktop/1/ov511_core.c: In function ‘show_sensor’:
/root/Desktop/1/ov511_core.c:5571: error: ‘senlist’ undeclared (first use in this function)
/root/Desktop/1/ov511_core.c:5571: error: (Each undeclared identifier is reported only once
/root/Desktop/1/ov511_core.c:5571: error: for each function it appears in.)
/root/Desktop/1/ov511_core.c: In function ‘ov_create_sysfs’:
/root/Desktop/1/ov511_core.c:5637: warning: implicit declaration of function ‘video_device_create_file’
/root/Desktop/1/ov511_core.c: In function ‘ov51x_probe’:
/root/Desktop/1/ov511_core.c:5815: warning: implicit declaration of function ‘video_device_alloc’
/root/Desktop/1/ov511_core.c:5815: warning: assignment makes pointer from integer without a cast
/root/Desktop/1/ov511_core.c:5819: error: dereferencing pointer to incomplete type
/root/Desktop/1/ov511_core.c:5819: error: dereferencing pointer to incomplete type
/root/Desktop/1/ov511_core.c:5819: error: dereferencing pointer to incomplete type
/root/Desktop/1/ov511_core.c:5821: error: dereferencing pointer to incomplete type
/root/Desktop/1/ov511_core.c:5823: warning: implicit declaration of function ‘video_set_drvdata’
/root/Desktop/1/ov511_core.c:5829: warning: implicit declaration of function ‘video_register_device’
/root/Desktop/1/ov511_core.c:5829: error: ‘VFL_TYPE_GRABBER’ undeclared (first use in this function)
/root/Desktop/1/ov511_core.c:5835: error: dereferencing pointer to incomplete type
/root/Desktop/1/ov511_core.c:5850: error: dereferencing pointer to incomplete type
/root/Desktop/1/ov511_core.c:5856: error: dereferencing pointer to incomplete type
/root/Desktop/1/ov511_core.c:5860: error: dereferencing pointer to incomplete type
/root/Desktop/1/ov511_core.c:5882: error: dereferencing pointer to incomplete type
/root/Desktop/1/ov511_core.c:5883: warning: implicit declaration of function ‘video_device_release’
/root/Desktop/1/ov511_core.c:5885: warning: implicit declaration of function ‘video_unregister_device’
make[2]: *** [/root/Desktop/1/ov511_core.o] Error 1
make[1]: *** [_module_/root/Desktop/1] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.21-1.3194.fc7-i686'
make: *** [default] Error 2
[root@localhost 1]#


please any help
thanks
yasiriqbal
Cadet
 
Posts: 10
Joined: Sun Jun 24, 2007 12:14 pm

Postby lambda » Tue Jul 17, 2007 11:30 am

figure out why this is failing:

Code: Select all

/root/Desktop/1/ov511_core.c:29:26: error: linux/config.h: No such file or directory


perhaps you need to install some kernel development rpms.
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

Postby yasiriqbal » Tue Jul 17, 2007 12:17 pm

how to solve this problem then because i am new to Linux
and I have Fedora Core 7
yasiriqbal
Cadet
 
Posts: 10
Joined: Sun Jun 24, 2007 12:14 pm

Postby yasiriqbal » Thu Jul 26, 2007 10:34 pm

no body is there to help me to solve my problem??
yasiriqbal
Cadet
 
Posts: 10
Joined: Sun Jun 24, 2007 12:14 pm

Postby lambda » Fri Jul 27, 2007 12:57 am

i don't use fedora core.

you could try doing

Code: Select all

yum install kernel-devel kernel-headers
and then trying typing "make".
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore


Return to “%s” Installation

Who is online

Users browsing this forum: No registered users and 1 guest

cron