My Fedora 9 kernel is:
2.6.25.6-55.fc9.i686
My Web Cam connected is:
Bus 001 Device 004: ID 0c45:627c Microdia PC Camera (SN9C201)
I've tried to compile the driver with microdia.git. But the
compilation interrupted with the error message shown below:
$ make driver
make -C /lib/modules/2.6.25.6-55.fc9.i686/build SUBDIRS=/home/username/
microdia modules
make[1]: Entering directory `/usr/src/kernels/2.6.25.6-55.fc9.i686'
CC [M] /home/username/microdia/microdia-usb.o
CC [M] /home/username/microdia/microdia-v4l.o
make -C /lib/modules/2.6.25.6-55.fc9.i686/build SUBDIRS=/home/username/
microdia modules
make[1]: Entering directory `/usr/src/kernels/2.6.25.6-55.fc9.i686'
CC [M] /home/username/microdia/microdia-v4l.o
/home/username/microdia/microdia-v4l.c:644: error:variable
「microdia_vm_ops」 initialized with incomplete type
/home/username/microdia/microdia-v4l.c:645: error:unknown field
「open」was found in initialized value
/home/username/microdia/microdia-v4l.c:646: error:unknown field
「close」was found in initialized value
/home/username/microdia/microdia-v4l.c: In function
「v4l_microdia_mmap」:
/home/username/microdia/microdia-v4l.c:691: error:「VM_IO」 undeclared
/home/username/microdia/microdia-v4l.c:695: error:
「vmalloc_to_page」undeclared
/home/username/microdia/microdia-v4l.c:696: error:「vm_insert_page」
Any body here can assist me in completing the compilation of microdia-
v4l.c ?
or kindly send me a compiled microdia-v4l.o and let me skip the
compilation of microdia-v4l.c.
my email address is
chan...@hgcbroadband.com
Thanks!