Dear guys,
Will anybody help me to compile the driver ? what I do is: 1- svn co https://m560x-driver.svn.sourceforge.net/svnroot/m560x-driver/m560x/branches/m5602-ov9650 2- cd m5602-ov9650 3- make and: 19:48:57 [EMAIL PROTECTED]:/home/svn/m5602-ov9650$ make make -C /lib/modules/2.6.26-ARCH/build SUBDIRS=/home/svn/m5602-ov9650 modules make[1]: Entering directory `/usr/src/linux-2.6.26-ARCH' CC [M] /home/svn/m5602-ov9650/m560x_core.o /home/svn/m5602-ov9650/m560x_core.c:1570: warning: ‘struct class_device’ declared inside parameter list /home/svn/m5602-ov9650/m560x_core.c:1570: warning: its scope is only this definition or declaration, which is probably not what you want /home/svn/m5602-ov9650/m560x_core.c: In function ‘show_model’: /home/svn/m5602-ov9650/m560x_core.c:1570: warning: initialization from incompatible pointer type /home/svn/m5602-ov9650/m560x_core.c: At top level: /home/svn/m5602-ov9650/m560x_core.c:1570: error: expected ‘)’ before ‘(’ token /home/svn/m5602-ov9650/m560x_core.c:1571: warning: ‘struct class_device’ declared inside parameter list /home/svn/m5602-ov9650/m560x_core.c: In function ‘show_in_use’: /home/svn/m5602-ov9650/m560x_core.c:1571: warning: initialization from incompatible pointer type /home/svn/m5602-ov9650/m560x_core.c: At top level: /home/svn/m5602-ov9650/m560x_core.c:1571: error: expected ‘)’ before ‘(’ token /home/svn/m5602-ov9650/m560x_core.c:1572: warning: ‘struct class_device’ declared inside parameter list /home/svn/m5602-ov9650/m560x_core.c: In function ‘show_streaming’: /home/svn/m5602-ov9650/m560x_core.c:1572: warning: initialization from incompatible pointer type /home/svn/m5602-ov9650/m560x_core.c: At top level: /home/svn/m5602-ov9650/m560x_core.c:1572: error: expected ‘)’ before ‘(’ token /home/svn/m5602-ov9650/m560x_core.c:1573: warning: ‘struct class_device’ declared inside parameter list /home/svn/m5602-ov9650/m560x_core.c: In function ‘show_palette’: /home/svn/m5602-ov9650/m560x_core.c:1573: warning: initialization from incompatible pointer type /home/svn/m5602-ov9650/m560x_core.c: At top level: /home/svn/m5602-ov9650/m560x_core.c:1573: error: expected ‘)’ before ‘(’ token /home/svn/m5602-ov9650/m560x_core.c:1574: warning: ‘struct class_device’ declared inside parameter list /home/svn/m5602-ov9650/m560x_core.c: In function ‘show_frames_total’: /home/svn/m5602-ov9650/m560x_core.c:1574: warning: initialization from incompatible pointer type /home/svn/m5602-ov9650/m560x_core.c: At top level: /home/svn/m5602-ov9650/m560x_core.c:1574: error: expected ‘)’ before ‘(’ token /home/svn/m5602-ov9650/m560x_core.c:1575: warning: ‘struct class_device’ declared inside parameter list /home/svn/m5602-ov9650/m560x_core.c: In function ‘show_frames_read’: /home/svn/m5602-ov9650/m560x_core.c:1575: warning: initialization from incompatible pointer type /home/svn/m5602-ov9650/m560x_core.c: At top level: /home/svn/m5602-ov9650/m560x_core.c:1575: error: expected ‘)’ before ‘(’ token /home/svn/m5602-ov9650/m560x_core.c:1576: warning: ‘struct class_device’ declared inside parameter list /home/svn/m5602-ov9650/m560x_core.c: In function ‘show_packets_dropped’: /home/svn/m5602-ov9650/m560x_core.c:1576: warning: initialization from incompatible pointer type /home/svn/m5602-ov9650/m560x_core.c: At top level: /home/svn/m5602-ov9650/m560x_core.c:1576: error: expected ‘)’ before ‘(’ token /home/svn/m5602-ov9650/m560x_core.c:1577: warning: ‘struct class_device’ declared inside parameter list /home/svn/m5602-ov9650/m560x_core.c: In function ‘show_decoding_errors’: /home/svn/m5602-ov9650/m560x_core.c:1577: warning: initialization from incompatible pointer type /home/svn/m5602-ov9650/m560x_core.c: At top level: /home/svn/m5602-ov9650/m560x_core.c:1577: error: expected ‘)’ before ‘(’ token /home/svn/m5602-ov9650/m560x_core.c: In function ‘m560x_create_sysfs_files’: /home/svn/m5602-ov9650/m560x_core.c:1581: error: ‘class_device_attr_model’ undeclared (first use in this function) /home/svn/m5602-ov9650/m560x_core.c:1581: error: (Each undeclared identifier is reported only once /home/svn/m5602-ov9650/m560x_core.c:1581: error: for each function it appears in.) /home/svn/m5602-ov9650/m560x_core.c:1582: error: ‘class_device_attr_in_use’ undeclared (first use in this function) /home/svn/m5602-ov9650/m560x_core.c:1583: error: ‘class_device_attr_streaming’ undeclared (first use in this function) /home/svn/m5602-ov9650/m560x_core.c:1584: error: ‘class_device_attr_palette’ undeclared (first use in this function) /home/svn/m5602-ov9650/m560x_core.c:1585: error: ‘class_device_attr_frames_total’ undeclared (first use in this function) /home/svn/m5602-ov9650/m560x_core.c:1586: error: ‘class_device_attr_frames_read’ undeclared (first use in this function) /home/svn/m5602-ov9650/m560x_core.c:1587: error: ‘class_device_attr_packets_dropped’ undeclared (first use in this function) /home/svn/m5602-ov9650/m560x_core.c:1588: error: ‘class_device_attr_decoding_errors’ undeclared (first use in this function) /home/svn/m5602-ov9650/m560x_core.c: In function ‘m560x_remove_sysfs_files’: /home/svn/m5602-ov9650/m560x_core.c:1593: error: ‘class_device_attr_model’ undeclared (first use in this function) /home/svn/m5602-ov9650/m560x_core.c:1594: error: ‘class_device_attr_in_use’ undeclared (first use in this function) /home/svn/m5602-ov9650/m560x_core.c:1595: error: ‘class_device_attr_streaming’ undeclared (first use in this function) /home/svn/m5602-ov9650/m560x_core.c:1596: error: ‘class_device_attr_palette’ undeclared (first use in this function) /home/svn/m5602-ov9650/m560x_core.c:1597: error: ‘class_device_attr_frames_total’ undeclared (first use in this function) /home/svn/m5602-ov9650/m560x_core.c:1598: error: ‘class_device_attr_frames_read’ undeclared (first use in this function) /home/svn/m5602-ov9650/m560x_core.c:1599: error: ‘class_device_attr_packets_dropped’ undeclared (first use in this function) /home/svn/m5602-ov9650/m560x_core.c:1600: error: ‘class_device_attr_decoding_errors’ undeclared (first use in this function) make[2]: *** [/home/svn/m5602-ov9650/m560x_core.o] Error 1 make[1]: *** [_module_/home/svn/m5602-ov9650] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.26-ARCH' make: *** [all] Error 2 am I missing anything ? my webcam on MSI GX700 is: Bus 003 Device 007: ID 0402:5602 ALi Corp. Video Camera Controller thanks for you help -- Zygfryd Homonto zyghom(AT)yahoo.co.uk http://photo.janik.es ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ M560x-driver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel
