Hi, Maybe you need the kernel headers installed on your system before trying to compile. Do you have that installed? You need the headers that correspond to the kernel you're running.
Regards, Ilyes Gouta. Petr Dlouhý wrote: > On Thu, 06 Nov 2008 15:45:34 +0100, Laurent BARRAILLE <[EMAIL PROTECTED]> > wrote: > > I am sorry, yesterday, I tryed only m5602-gspca. m5603c-gspca doesn't > compile on Intrepid. The errors are following: > > > [EMAIL > PROTECTED]:~/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca$ > make > make -C /lib/modules/2.6.27-7-generic/build > SUBDIRS=/home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca > > modules > make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic' > CC [M] > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.o > In file included from > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:37: > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.h:6:19: > > error: gspca.h: No such file or directory > In file included from > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:37: > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.h:38: > > error: field ‘gspca_dev’ has incomplete type > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c: > > In function ‘usb_vr4’: > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:102: > > error: implicit declaration of function ‘PDEBUG’ > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:102: > > error: ‘D_USBO’ undeclared (first use in this function) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:102: > > error: (Each undeclared identifier is reported only once > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:102: > > error: for each function it appears in.) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:113: > > error: ‘D_USBI’ undeclared (first use in this function) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c: > > In function ‘send_section_flicker_correction’: > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:293: > > error: ‘V4L2_CID_POWER_LINE_FREQUENCY_DISABLED’ undeclared (first use in > this function) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:294: > > error: ‘V4L2_CID_POWER_LINE_FREQUENCY_50HZ’ undeclared (first use in this > function) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c: > > In function ‘set_sharpness’: > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:403: > > error: ‘D_CONF’ undeclared (first use in this function) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c: > > In function ‘set_callbacks_start_sensors’: > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:847: > > error: ‘V4L2_CID_POWER_LINE_FREQUENCY_50HZ’ undeclared (first use in this > function) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c: > > At top level: > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:897: > > error: array type has incomplete element type > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:898: > > error: ‘V4L2_PIX_FMT_SBGGR8’ undeclared here (not in a function) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:898: > > error: ‘V4L2_FIELD_NONE’ undeclared here (not in a function) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:899: > > error: field name not in record or union initializer > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:899: > > error: (near initialization for ‘vga_mode’) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:900: > > error: field name not in record or union initializer > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:900: > > error: (near initialization for ‘vga_mode’) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:901: > > error: field name not in record or union initializer > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:901: > > error: (near initialization for ‘vga_mode’) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:901: > > error: ‘V4L2_COLORSPACE_SRGB’ undeclared here (not in a function) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:902: > > error: field name not in record or union initializer > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:902: > > error: (near initialization for ‘vga_mode’) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c: > > In function ‘sd_config’: > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:938: > > error: dereferencing pointer to incomplete type > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:939: > > error: dereferencing pointer to incomplete type > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:940: > > error: dereferencing pointer to incomplete type > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:940: > > warning: type defaults to ‘int’ in declaration of ‘type name’ > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:940: > > warning: type defaults to ‘int’ in declaration of ‘type name’ > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:940: > > error: size of array ‘type name’ is negative > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c: > > In function ‘sd_start’: > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:977: > > error: ‘V4L2_CID_POWER_LINE_FREQUENCY_50HZ’ undeclared (first use in this > function) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1062: > > error: ‘D_CONF’ undeclared (first use in this function) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c: > > In function ‘update_awb’: > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1128: > > error: ‘D_ERR’ undeclared (first use in this function) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c: > > In function ‘dspctrl_run’: > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1167: > > error: ‘D_FRAM’ undeclared (first use in this function) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1170: > > error: ‘D_ERR’ undeclared (first use in this function) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c: > > At top level: > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1182: > > warning: ‘struct gspca_frame’ declared inside parameter list > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1182: > > warning: its scope is only this definition or declaration, which is > probably not what you want > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c: > > In function ‘sd_pkt_scan’: > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1188: > > error: dereferencing pointer to incomplete type > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1200: > > error: dereferencing pointer to incomplete type > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1207: > > error: ‘D_FRAM’ undeclared (first use in this function) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1208: > > error: dereferencing pointer to incomplete type > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1210: > > error: implicit declaration of function ‘gspca_frame_add’ > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1210: > > error: ‘LAST_PACKET’ undeclared (first use in this function) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1210: > > warning: assignment makes pointer from integer without a cast > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1211: > > error: ‘FIRST_PACKET’ undeclared (first use in this function) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1214: > > error: ‘INTER_PACKET’ undeclared (first use in this function) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c: > > At top level: > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1219: > > warning: ‘struct v4l2_querymenu’ declared inside parameter list > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c: > > In function ‘sd_querymenu’: > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1221: > > error: dereferencing pointer to incomplete type > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1222: > > error: ‘V4L2_CID_POWER_LINE_FREQUENCY’ undeclared (first use in this > function) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1223: > > error: dereferencing pointer to incomplete type > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1225: > > error: dereferencing pointer to incomplete type > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1228: > > error: dereferencing pointer to incomplete type > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1231: > > error: dereferencing pointer to incomplete type > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c: > > At top level: > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1243: > > error: variable ‘sd_desc_driver’ has initializer but incomplete type > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1244: > > error: unknown field ‘name’ specified in initializer > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1244: > > warning: excess elements in struct initializer > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1244: > > warning: (near initialization for ‘sd_desc_driver’) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1245: > > error: unknown field ‘config’ specified in initializer > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1245: > > warning: excess elements in struct initializer > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1245: > > warning: (near initialization for ‘sd_desc_driver’) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1246: > > error: unknown field ‘init’ specified in initializer > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1246: > > warning: excess elements in struct initializer > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1246: > > warning: (near initialization for ‘sd_desc_driver’) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1247: > > error: unknown field ‘start’ specified in initializer > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1247: > > warning: excess elements in struct initializer > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1247: > > warning: (near initialization for ‘sd_desc_driver’) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1248: > > error: unknown field ‘stopN’ specified in initializer > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1248: > > warning: excess elements in struct initializer > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1248: > > warning: (near initialization for ‘sd_desc_driver’) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1249: > > error: unknown field ‘pkt_scan’ specified in initializer > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1249: > > warning: excess elements in struct initializer > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1249: > > warning: (near initialization for ‘sd_desc_driver’) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1250: > > error: unknown field ‘querymenu’ specified in initializer > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1250: > > warning: excess elements in struct initializer > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1250: > > warning: (near initialization for ‘sd_desc_driver’) > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c: > > In function ‘driver_m5603c_probe’: > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1271: > > error: implicit declaration of function ‘gspca_dev_probe’ > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c: > > In function ‘driver_m5603c_disconnect’: > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.c:1276: > > error: implicit declaration of function ‘gspca_disconnect’ > make[2]: *** > [/home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca/m5603c_core.o] > > Error 1 > make[1]: *** > [_module_/home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-gspca] > > Error 2 > make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic' > make: *** [default] Error 2 > > >> Le jeudi 06 novembre 2008 à 15:08 +0100, Petr Dlouhý a écrit : >>> On Thu, 06 Nov 2008 14:47:21 +0100, Laurent BARRAILLE >>> <[EMAIL PROTECTED]> >>> wrote: >>> >>> Yes, it is possible to compile that branch. I didn't try to load that >>> module, I suppose it't pointless. >> In this branch, there is the support of ov7648 sensor. >> Maybe it works. >> Try, see dmesg and try with ekiga >> >> You can find help in wiki. >> >> http://m560x-driver.wiki.sourceforge.net/ >> >> It works with m5602-gspca >> I don't know with m5603-gspca >> >> Regards >> >> Laurent >> > > > > ------------------------------------------------------------------------- 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
