Menu

More make errors

Help
cmavr8
2008-10-15
2013-03-08
  • cmavr8

    cmavr8 - 2008-10-15

    Trying to build but:

    "/m560x/branches/m5602$ make
    make -C /lib/modules/2.6.24-19-generic/build SUBDIRS=/media/Installers/PC/Bisoncam ali webcam/m560x/branches/m5602 modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.24-19-generic'
    make[1]: *** No rule to make target `ali'.  Stop.
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic'
    make: *** [all] Error 2"

    Any ideas?
    Thanks

     
    • cmavr8

      cmavr8 - 2008-10-22

      I'm trying to build branch m5603c-gspca and have problems:

      /m5603c-gspca$ make
      make -C /lib/modules/2.6.24-21-generic/build SUBDIRS=/home/chris/Desktop/m5603c-gspca modules
      make[1]: Entering directory `/usr/src/linux-headers-2.6.24-21-generic'
        CC [M]  /home/chris/Desktop/m5603c-gspca/m5603c_core.o
      In file included from /home/chris/Desktop/m5603c-gspca/m5603c_core.c:36:
      /home/chris/Desktop/m5603c-gspca/m5603c_core.h:6:19: error: gspca.h: No such file or directory
      In file included from /home/chris/Desktop/m5603c-gspca/m5603c_core.c:36:
      /home/chris/Desktop/m5603c-gspca/m5603c_core.h:38: error: field ‘gspca_dev’ has incomplete type
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c: In function ‘usb_vr4’:
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:108: error: implicit declaration of function ‘PDEBUG’
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:108: error: ‘D_USBO’ undeclared (first use in this function)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:108: error: (Each undeclared identifier is reported only once
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:108: error: for each function it appears in.)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:119: error: ‘D_USBI’ undeclared (first use in this function)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c: In function ‘send_section_flicker_correction’:
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:302: error: ‘V4L2_CID_POWER_LINE_FREQUENCY_DISABLED’ undeclared (first use in this function)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:303: error: ‘V4L2_CID_POWER_LINE_FREQUENCY_50HZ’ undeclared (first use in this function)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c: In function ‘set_cof’:
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:409: error: ‘D_CONF’ undeclared (first use in this function)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c: In function ‘set_callbacks_start_sensors’:
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:848: error: ‘V4L2_CID_POWER_LINE_FREQUENCY_50HZ’ undeclared (first use in this function)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c: At top level:
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:898: error: array type has incomplete element type
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:899: error: ‘V4L2_PIX_FMT_SBGGR8’ undeclared here (not in a function)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:899: error: ‘V4L2_FIELD_NONE’ undeclared here (not in a function)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:900: error: field name not in record or union initializer
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:900: error: (near initialization for ‘vga_mode’)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:901: error: field name not in record or union initializer
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:901: error: (near initialization for ‘vga_mode’)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:902: error: field name not in record or union initializer
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:902: error: (near initialization for ‘vga_mode’)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:902: error: ‘V4L2_COLORSPACE_SRGB’ undeclared here (not in a function)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:903: error: field name not in record or union initializer
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:903: error: (near initialization for ‘vga_mode’)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c: In function ‘sd_config’:
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:938: error: dereferencing pointer to incomplete type
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:939: error: dereferencing pointer to incomplete type
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:940: error: dereferencing pointer to incomplete type
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:940: warning: type defaults to ‘int’ in declaration of ‘type name’
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:940: warning: type defaults to ‘int’ in declaration of ‘type name’
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:940: error: size of array ‘type name’ is negative
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c: In function ‘sd_start’:
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:973: error: ‘V4L2_CID_POWER_LINE_FREQUENCY_50HZ’ undeclared (first use in this function)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1049: error: dereferencing pointer to incomplete type
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1061: error: ‘D_CONF’ undeclared (first use in this function)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c: In function ‘update_awb’:
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1122: error: ‘D_ERR’ undeclared (first use in this function)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c: In function ‘dspctrl_run’:
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1161: error: ‘D_FRAM’ undeclared (first use in this function)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1164: error: ‘D_ERR’ undeclared (first use in this function)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c: At top level:
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1176: warning: ‘struct gspca_frame’ declared inside parameter list
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1176: warning: its scope is only this definition or declaration, which is probably not what you want
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c: In function ‘sd_pkt_scan’:
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1204: error: implicit declaration of function ‘gspca_frame_add’
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1204: error: ‘FIRST_PACKET’ undeclared (first use in this function)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1215: error: ‘D_FRAM’ undeclared (first use in this function)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1218: error: ‘LAST_PACKET’ undeclared (first use in this function)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1218: warning: assignment makes pointer from integer without a cast
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1231: error: ‘D_ERR’ undeclared (first use in this function)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1238: error: ‘INTER_PACKET’ undeclared (first use in this function)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c: At top level:
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1243: warning: ‘struct v4l2_querymenu’ declared inside parameter list
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c: In function ‘sd_querymenu’:
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1245: error: dereferencing pointer to incomplete type
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1246: error: ‘V4L2_CID_POWER_LINE_FREQUENCY’ undeclared (first use in this function)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1247: error: dereferencing pointer to incomplete type
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1249: error: dereferencing pointer to incomplete type
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1252: error: dereferencing pointer to incomplete type
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1255: error: dereferencing pointer to incomplete type
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c: At top level:
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1267: error: variable ‘sd_desc’ has initializer but incomplete type
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1268: error: unknown field ‘name’ specified in initializer
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1268: warning: excess elements in struct initializer
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1268: warning: (near initialization for ‘sd_desc’)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1269: error: unknown field ‘config’ specified in initializer
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1269: warning: excess elements in struct initializer
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1269: warning: (near initialization for ‘sd_desc’)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1270: error: unknown field ‘init’ specified in initializer
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1270: warning: excess elements in struct initializer
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1270: warning: (near initialization for ‘sd_desc’)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1271: error: unknown field ‘start’ specified in initializer
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1271: warning: excess elements in struct initializer
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1271: warning: (near initialization for ‘sd_desc’)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1272: error: unknown field ‘stopN’ specified in initializer
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1272: warning: excess elements in struct initializer
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1272: warning: (near initialization for ‘sd_desc’)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1273: error: unknown field ‘pkt_scan’ specified in initializer
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1273: warning: excess elements in struct initializer
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1273: warning: (near initialization for ‘sd_desc’)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1274: error: unknown field ‘querymenu’ specified in initializer
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1274: warning: excess elements in struct initializer
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1274: warning: (near initialization for ‘sd_desc’)
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c: In function ‘m5603c_probe’:
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1294: error: implicit declaration of function ‘gspca_dev_probe’
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c: In function ‘m5603c_disconnect’:
      /home/chris/Desktop/m5603c-gspca/m5603c_core.c:1299: error: implicit declaration of function ‘gspca_disconnect’
      make[2]: *** [/home/chris/Desktop/m5603c-gspca/m5603c_core.o] Error 1
      make[1]: *** [_module_/home/chris/Desktop/m5603c-gspca] Error 2
      make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-21-generic'
      make: *** [default] Error 2

       
    • David Campbell

      David Campbell - 2008-11-20

      Chris,

      Are you compiling in the context of the full gspca kit downloaded from the link they provide, as the instructions (README_INSTALLATION) says?

      -- Dave

       
      • cmavr8

        cmavr8 - 2008-12-21

        Ok, I did it!
        I just redownloaded and retried, and it works...

        Now I have a green image of myself..
        More here: https://sourceforge.net/forum/message.php?msg_id=5858347

        Thanks for your help!

         

Log in to post a comment.