I need a Microdia PC Camera driver for Fedora 9

24 views
Skip to first unread message

chanlam

unread,
Aug 12, 2008, 11:40:57 AM8/12/08
to microdia
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!

JoJo jojo

unread,
Aug 13, 2008, 4:13:22 AM8/13/08
to micr...@googlegroups.com
on line
http://repo.or.cz/w/microdia.git?a=blame;f=microdia-v4l.c;hb=c14c8c8f2ec9df3f48509063b7ed0a2c7e7d1ab7#l535

blame shows
http://repo.or.cz/w/microdia.git?a=commit;f=microdia-v4l.c;h=c6b035b2c763845f15bf5b1ec3c8db9bf10d26d0

that "=" sign should not be there, i believe
(since in C we have to declare variables before we use them)

-JoJo

2008/8/12 chanlam <chanla...@gmail.com>:

Reply all
Reply to author
Forward
0 new messages