awk: cannot open /lib/modules/2.6.17-10-386/build/include/linux/version.h (No such file or directory)
[: 1: 132608: unexpected operator
[: 1: 132608: unexpected operator
cc -I/lib/modules/2.6.17-10-386/build/include -nostdinc -iwithprefix include -DMODULE -D__KERNEL__ -DNOKERNEL -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wall -Wstrict-prototypes -Wno-trigraphs -DHAVE_UTSRELEASE_H= -pipe -c qc-driver.c
In file included from qc-driver.c:47:
quickcam.h:79:26: error: linux/config.h: No such file or directory
quickcam.h:80:27: error: linux/version.h: No such file or directory
quickcam.h:86:40: error: missing binary operator before token "("
quickcam.h:95:28: error: linux/videodev.h: No such file or directory
quickcam.h:96:41: error: missing binary operator before token "("
quickcam.h:99:23: error: linux/usb.h: No such file or directory
quickcam.h:100:76: error: asm/pgtable.h: No such file or directory
quickcam.h:101:28: error: linux/spinlock.h: No such file or directory
quickcam.h:144:40: error: missing binary operator before token "("
quickcam.h:148:39: error: missing binary operator before token "("
quickcam.h:153:40: error: missing binary operator before token "("
quickcam.h:157:39: error: missing binary operator before token "("
quickcam.h:161:2: warning: #warning "procfs support disabled"
quickcam.h:165:39: error: missing binary operator before token "("
quickcam.h:173:50: error: missing binary operator before token "("
quickcam.h:177:40: error: missing binary operator before token "("
quickcam.h:186:40: error: missing binary operator before token "("
quickcam.h:194:40: error: missing binary operator before token "("
quickcam.h:207:38: error: missing binary operator before token "("
quickcam.h:213:40: error: missing binary operator before token "("
quickcam.h:230:41: error: missing binary operator before token "("
In file included from qc-driver.c:47:
quickcam.h:368: error: expected specifier-qualifier-list before u8
quickcam.h:378: error: expected specifier-qualifier-list before wait_queue_head_t
quickcam.h:413: error: expected specifier-qualifier-list before spinlock_t
quickcam.h:426: error: expected specifier-qualifier-list before u8
quickcam.h:497: error: field lock has incomplete type
quickcam.h:498: error: field list has incomplete type
quickcam.h:503: error: field vdev has incomplete type
quickcam.h:509: error: field vpic has incomplete type
quickcam.h:511: error: field vwin has incomplete type
quickcam.h:523: error: expected specifier-qualifier-list before u8
quickcam.h:575: error: expected ) before hue
qc-driver.c:52:42: error: missing binary operator before token "("
qc-driver.c:55:26: error: linux/module.h: No such file or directory
In file included from qc-driver.c:57:
qc-memory.h:4:22: error: linux/mm.h: No such file or directory
In file included from qc-driver.c:57:
qc-memory.h:8: warning: struct vm_area_struct declared inside parameter list
qc-memory.h:8: warning: its scope is only this definition or declaration, which is probably not what you want
qc-driver.c:59:41: error: missing binary operator before token "("
qc-driver.c:62:26: error: linux/malloc.h: No such file or directory
qc-driver.c:64:26: error: linux/kernel.h: No such file or directory
qc-driver.c:65:24: error: linux/init.h: No such file or directory
qc-driver.c:66:25: error: linux/sched.h: No such file or directory
qc-driver.c:67:24: error: linux/list.h: No such file or directory
qc-driver.c:69:27: error: linux/proc_fs.h: No such file or directory
qc-driver.c:70:28: error: linux/smp_lock.h: No such file or directory
qc-driver.c:71:27: error: linux/vmalloc.h: No such file or directory
qc-driver.c:72:20: error: asm/io.h: No such file or directory
qc-driver.c:73:25: error: asm/uaccess.h: No such file or directory
qc-driver.c:74:22: error: asm/page.h: No such file or directory
qc-driver.c:75:30: error: linux/capability.h: No such file or directory
qc-driver.c:76:24: error: linux/poll.h: No such file or directory
qc-driver.c:77:41: error: missing binary operator before token "("
qc-driver.c:82:40: error: missing binary operator before token "("
qc-driver.c:90: error: expected ) before string constant
qc-driver.c:92: error: expected ) before int
qc-driver.c:94: error: expected ) before string constant
qc-driver.c:96: error: expected ) before int
qc-driver.c:98: error: expected ) before string constant
qc-driver.c:100: error: expected ) before int
qc-driver.c:103: error: expected ) before string constant
qc-driver.c:105: error: expected ) before int
qc-driver.c:107: error: expected ) before string constant
qc-driver.c:109: error: expected ) before int
qc-driver.c:111: error: expected ) before string constant
qc-driver.c:113: error: expected ) before int
qc-driver.c:115: error: expected ) before string constant
qc-driver.c:117: error: expected ) before int
qc-driver.c:119: error: expected ) before string constant
qc-driver.c:121: error: expected ) before int
qc-driver.c:123: error: expected ) before string constant
qc-driver.c:125: error: expected ) before int
qc-driver.c:127: error: expected ) before string constant
qc-driver.c:129: error: expected ) before int
qc-driver.c:131: error: expected ) before string constant
qc-driver.c:133: error: expected ) before int
qc-driver.c:136: error: expected ) before string constant
qc-driver.c:138: error: expected ) before int
qc-driver.c:140:41: error: missing binary operator before token "("
qc-driver.c:160: error: expected declaration specifiers or ... before string constant
qc-driver.c:160: warning: data definition has no type or storage class
qc-driver.c:160: warning: type defaults to int in declaration of MODULE_SUPPORTED_DEVICE
qc-driver.c:160: warning: function declaration isnt a prototype
qc-driver.c:161: error: expected declaration specifiers or ... before string constant
qc-driver.c:161: warning: data definition has no type or storage class
qc-driver.c:161: warning: type defaults to int in declaration of MODULE_DESCRIPTION
qc-driver.c:161: warning: function declaration isnt a prototype
qc-driver.c:162: error: expected declaration specifiers or ... before string constant
qc-driver.c:162: warning: data definition has no type or storage class
qc-driver.c:162: warning: type defaults to int in declaration of MODULE_AUTHOR
qc-driver.c:162: warning: function declaration isnt a prototype
qc-driver.c:164: warning: data definition has no type or storage class
qc-driver.c:164: warning: type defaults to int in declaration of EXPORT_NO_SYMBOLS
qc-driver.c:172: error: array type has incomplete element type
qc-driver.c:173: warning: implicit declaration of function USB_DEVICE
qc-driver.c:178: warning: data definition has no type or storage class
qc-driver.c:178: warning: type defaults to int in declaration of MODULE_DEVICE_TABLE
qc-driver.c:178: warning: parameter names (without types) in function declaration
qc-driver.c:192: warning: type defaults to int in declaration of LIST_HEAD
qc-driver.c:192: warning: parameter names (without types) in function declaration
qc-driver.c:193: warning: type defaults to int in declaration of DECLARE_MUTEX
qc-driver.c:193: warning: parameter names (without types) in function declaration
qc-driver.c:279:40: error: missing binary operator before token "("
qc-driver.c: In function qc_usleep:
qc-driver.c:304: error: wait_queue_head_t undeclared (first use in this function)
qc-driver.c:304: error: (Each undeclared identifier is reported only once
qc-driver.c:304: error: for each function it appears in.)
qc-driver.c:304: error: expected ; before wq
qc-driver.c:305: warning: implicit declaration of function init_waitqueue_head
qc-driver.c:305: error: wq undeclared (first use in this function)
qc-driver.c:306: warning: implicit declaration of function interruptible_sleep_on_timeout
qc-driver.c:306: error: HZ undeclared (first use in this function)
qc-driver.c: In function qc_get_i2c:
qc-driver.c:320: error: struct quickcam has no member named dmabuf
qc-driver.c:320: warning: implicit declaration of function BUG
qc-driver.c:326: warning: implicit declaration of function memset
qc-driver.c:326: warning: incompatible implicit declaration of built-in function memset
qc-driver.c:326: error: struct quickcam has no member named dmabuf
qc-driver.c:327: error: struct quickcam has no member named dmabuf
qc-driver.c:328: error: struct quickcam has no member named dmabuf
qc-driver.c:329: error: struct quickcam has no member named dmabuf
qc-driver.c:330: error: struct quickcam has no member named dmabuf
qc-driver.c:331: warning: implicit declaration of function usb_control_msg
qc-driver.c:331: warning: implicit declaration of function usb_sndctrlpipe
qc-driver.c:335: error: struct quickcam has no member named dmabuf
qc-driver.c:335: error: HZ undeclared (first use in this function)
qc-driver.c:337: warning: implicit declaration of function usb_rcvctrlpipe
qc-driver.c:341: error: struct quickcam has no member named dmabuf
qc-driver.c:343: error: struct quickcam has no member named dmabuf
qc-driver.c:344: error: struct quickcam has no member named dmabuf
qc-driver.c: In function qc_stv_set:
qc-driver.c:361: error: struct quickcam has no member named dmabuf
qc-driver.c:363: error: struct quickcam has no member named dmabuf
qc-driver.c:368: error: struct quickcam has no member named dmabuf
qc-driver.c:368: error: HZ undeclared (first use in this function)
qc-driver.c: In function qc_stv_get:
qc-driver.c:384: error: struct quickcam has no member named dmabuf
qc-driver.c:390: error: struct quickcam has no member named dmabuf
qc-driver.c:390: error: HZ undeclared (first use in this function)
qc-driver.c:394: error: struct quickcam has no member named dmabuf
qc-driver.c: In function qc_stv_setw:
qc-driver.c:407: error: struct quickcam has no member named dmabuf
qc-driver.c:409: error: struct quickcam has no member named dmabuf
qc-driver.c:410: error: struct quickcam has no member named dmabuf
qc-driver.c:415: error: struct quickcam has no member named dmabuf
qc-driver.c:415: error: HZ undeclared (first use in this function)
qc-driver.c: At top level:
qc-driver.c:428: error: expected ) before hue
qc-driver.c: In function qc_lock:
qc-driver.c:505: warning: implicit declaration of function down_interruptible
qc-driver.c:505: error: quickcam_list_lock undeclared (first use in this function)
qc-driver.c:505: error: ERESTARTSYS undeclared (first use in this function)
qc-driver.c:508: warning: implicit declaration of function list_entry
qc-driver.c:508: error: quickcam_list undeclared (first use in this function)
qc-driver.c:508: error: expected expression before typeof
qc-driver.c:508: warning: assignment makes pointer from integer without a cast
qc-driver.c:508: error: expected expression before typeof
qc-driver.c:508: warning: assignment makes pointer from integer without a cast
qc-driver.c:513: warning: implicit declaration of function up
qc-driver.c:514: error: ENODEV undeclared (first use in this function)
qc-driver.c: In function qc_i2c_nextpacket:
qc-driver.c:541: error: u8 undeclared (first use in this function)
qc-driver.c:541: error: tb undeclared (first use in this function)
qc-driver.c:541: error: dereferencing pointer to incomplete type
qc-driver.c:541: error: flags undeclared (first use in this function)
qc-driver.c:541: warning: left-hand operand of comma expression has no effect
qc-driver.c:541: warning: statement with no effect
qc-driver.c:542: error: dereferencing pointer to incomplete type
qc-driver.c:553: error: ENODEV undeclared (first use in this function)
qc-driver.c:567: error: dereferencing pointer to incomplete type
qc-driver.c:572: error: struct <anonymous> has no member named flags
qc-driver.c:576: error: struct <anonymous> has no member named regnum
qc-driver.c:577: error: struct <anonymous> has no member named loval
qc-driver.c:578: error: struct <anonymous> has no member named flags
qc-driver.c:584: error: struct <anonymous> has no member named flags
qc-driver.c:597: error: struct <anonymous> has no member named regnum
qc-driver.c:598: error: struct <anonymous> has no member named loval
qc-driver.c:599: error: struct <anonymous> has no member named hival
qc-driver.c:600: error: struct <anonymous> has no member named flags
qc-driver.c:606: error: struct <anonymous> has no member named flags
qc-driver.c:624: error: dereferencing pointer to incomplete type
qc-driver.c:625: error: dereferencing pointer to incomplete type
qc-driver.c:626: error: dereferencing pointer to incomplete type
qc-driver.c:627: error: dereferencing pointer to incomplete type
qc-driver.c:627: warning: implicit declaration of function cpu_to_le16
qc-driver.c:628: error: dereferencing pointer to incomplete type
qc-driver.c:629: warning: implicit declaration of function usb_submit_urb
qc-driver.c:629: error: GFP_ATOMIC undeclared (first use in this function)
qc-driver.c:634: warning: implicit declaration of function wake_up
qc-driver.c:634: error: struct qc_i2c_data has no member named wq
qc-driver.c:647:41: error: missing binary operator before token "("
qc-driver.c: In function qc_i2c_handler:
qc-driver.c:653: error: dereferencing pointer to incomplete type
qc-driver.c:659: error: dereferencing pointer to incomplete type
qc-driver.c:660: error: dereferencing pointer to incomplete type
qc-driver.c:663: warning: implicit declaration of function printk
qc-driver.c:663: error: KERN_ERR undeclared (first use in this function)
qc-driver.c:663: error: expected ) before string constant
qc-driver.c:664: error: EPROTO undeclared (first use in this function)
qc-driver.c:665: error: EILSEQ undeclared (first use in this function)
qc-driver.c:666: error: ETIMEDOUT undeclared (first use in this function)
qc-driver.c:667: error: EREMOTEIO undeclared (first use in this function)
qc-driver.c:668: error: EPIPE undeclared (first use in this function)
qc-driver.c:670: error: ENOENT undeclared (first use in this function)
qc-driver.c:671: error: ENODEV undeclared (first use in this function)
qc-driver.c:672: error: ECONNRESET undeclared (first use in this function)
qc-driver.c:673: error: expected ) before string constant
qc-driver.c:675: error: struct qc_i2c_data has no member named wq
qc-driver.c: In function qc_i2c_wait:
qc-driver.c:715: warning: implicit declaration of function wait_event_interruptible
qc-driver.c:715: error: struct qc_i2c_data has no member named wq
qc-driver.c:722:41: error: missing binary operator before token "("
qc-driver.c:735: warning: implicit declaration of function usb_kill_urb
qc-driver.c: In function qc_i2c_set0:
qc-driver.c:752: error: struct <anonymous> has no member named loval
qc-driver.c:753: error: struct <anonymous> has no member named hival
qc-driver.c:754: error: struct <anonymous> has no member named regnum
qc-driver.c:755: error: struct <anonymous> has no member named flags
qc-driver.c: In function qc_i2c_break:
qc-driver.c:795: error: struct <anonymous> has no member named flags
qc-driver.c:796: warning: implicit declaration of function barrier
qc-driver.c: In function qc_i2c_init:
qc-driver.c:807: error: ENOMEM undeclared (first use in this function)
qc-driver.c:814: error: struct qc_i2c_data has no member named wq
qc-driver.c:817: warning: implicit declaration of function usb_alloc_urb
qc-driver.c:817: error: GFP_KERNEL undeclared (first use in this function)
qc-driver.c:817: warning: assignment makes pointer from integer without a cast
qc-driver.c:819: warning: implicit declaration of function kmalloc
qc-driver.c:819: error: invalid application of sizeof to incomplete type struct usb_ctrlrequest
qc-driver.c:819: warning: assignment makes pointer from integer without a cast
qc-driver.c:820: error: dereferencing pointer to incomplete type
qc-driver.c:822: error: dereferencing pointer to incomplete type
qc-driver.c:822: error: u8 undeclared (first use in this function)
qc-driver.c:823: error: dereferencing pointer to incomplete type
qc-driver.c:824: warning: implicit declaration of function spin_lock_init
qc-driver.c:824: error: dereferencing pointer to incomplete type
qc-driver.c:825: error: dereferencing pointer to incomplete type
qc-driver.c:826: error: dereferencing pointer to incomplete type
qc-driver.c:827:39: error: missing binary operator before token "("
qc-driver.c:830: error: dereferencing pointer to incomplete type
qc-driver.c:831: error: dereferencing pointer to incomplete type
qc-driver.c:832: error: dereferencing pointer to incomplete type
qc-driver.c:836: warning: implicit declaration of function kfree
qc-driver.c:837: warning: implicit declaration of function usb_free_urb
qc-driver.c: In function qc_i2c_exit:
qc-driver.c:851: error: dereferencing pointer to incomplete type
qc-driver.c:852: error: dereferencing pointer to incomplete type
qc-driver.c: In function qc_frame_init:
qc-driver.c:1331: warning: implicit declaration of function vmalloc
qc-driver.c:1331: warning: assignment makes pointer from integer without a cast
qc-driver.c:1332: error: ENOMEM undeclared (first use in this function)
qc-driver.c:1333: warning: incompatible implicit declaration of built-in function memset
qc-driver.c:1336: error: struct qc_frame_data has no member named tail_lock
qc-driver.c:1337: error: struct qc_frame_data has no member named tail_in_use
qc-driver.c:1338: error: struct qc_frame_data has no member named wq
qc-driver.c:1339: error: struct qc_frame_data has no member named waiting
qc-driver.c:1340: error: struct qc_frame_data has no member named exiting
qc-driver.c:1342: error: struct qc_frame_data has no member named lost_frames
qc-driver.c: In function qc_frame_exit:
qc-driver.c:1359: error: struct qc_frame_data has no member named exiting
qc-driver.c:1361: error: struct qc_frame_data has no member named wq
qc-driver.c:1365: error: struct qc_frame_data has no member named waiting
qc-driver.c:1366: warning: implicit declaration of function schedule
qc-driver.c:1375: warning: implicit declaration of function down
qc-driver.c:1376: warning: implicit declaration of function vfree
qc-driver.c: In function qc_frame_get:
qc-driver.c:1402: error: struct qc_frame_data has no member named waiting
qc-driver.c:1406: error: struct qc_frame_data has no member named wq
qc-driver.c:1406: error: struct qc_frame_data has no member named exiting
qc-driver.c:1410: error: struct qc_frame_data has no member named exiting
qc-driver.c:1413: warning: implicit declaration of function spin_lock_irqsave
qc-driver.c:1413: error: struct qc_frame_data has no member named tail_lock
qc-driver.c:1414: error: struct qc_frame_data has no member named tail_in_use
qc-driver.c:1416: warning: implicit declaration of function spin_unlock_irqrestore
qc-driver.c:1416: error: struct qc_frame_data has no member named tail_lock
qc-driver.c:1421: error: ENODATA undeclared (first use in this function)
qc-driver.c:1424: error: struct qc_frame_data has no member named waiting
qc-driver.c:1425: error: struct qc_frame_data has no member named lost_frames
qc-driver.c: In function qc_frame_free:
qc-driver.c:1442: error: struct qc_frame_data has no member named tail_lock
qc-driver.c:1443: error: struct qc_frame_data has no member named tail_in_use
qc-driver.c:1445: error: struct qc_frame_data has no member named tail_lock
qc-driver.c: In function qc_frame_begin:
qc-driver.c:1469: error: struct qc_frame_data has no member named exiting
qc-driver.c: In function qc_frame_add:
qc-driver.c:1493: error: EBUSY undeclared (first use in this function)
qc-driver.c:1496: warning: implicit declaration of function memcpy
qc-driver.c:1496: warning: incompatible implicit declaration of built-in function memcpy
qc-driver.c:1499: error: KERN_ERR undeclared (first use in this function)
qc-driver.c:1499: error: expected ) before string constant
qc-driver.c:1500: error: ENOSPC undeclared (first use in this function)
qc-driver.c: In function qc_frame_end:
qc-driver.c:1531: error: struct qc_frame_data has no member named tail_lock
qc-driver.c:1537: error: struct qc_frame_data has no member named tail_in_use
qc-driver.c:1547: error: struct qc_frame_data has no member named tail_lock
qc-driver.c:1549: error: KERN_NOTICE undeclared (first use in this function)
qc-driver.c:1549: error: expected ) before string constant
qc-driver.c:1550: error: struct qc_frame_data has no member named lost_frames
qc-driver.c:1551: error: struct qc_frame_data has no member named lost_frames
qc-driver.c:1562: error: struct qc_frame_data has no member named wq
qc-driver.c: In function qc_stream_add:
qc-driver.c:1637: error: KERN_ERR undeclared (first use in this function)
qc-driver.c:1637: error: expected ) before string constant
qc-driver.c:1645: error: expected ) before string constant
qc-driver.c:1740:41: error: missing binary operator before token "("
qc-driver.c: In function qc_isoc_handler:
qc-driver.c:1759: error: dereferencing pointer to incomplete type
qc-driver.c:1769: error: dereferencing pointer to incomplete type
qc-driver.c:1771: error: dereferencing pointer to incomplete type
qc-driver.c:1772: error: EXDEV undeclared (first use in this function)
qc-driver.c:1776: error: EPROTO undeclared (first use in this function)
qc-driver.c:1777: error: EILSEQ undeclared (first use in this function)
qc-driver.c:1778: error: ETIMEDOUT undeclared (first use in this function)
qc-driver.c:1779: error: EREMOTEIO undeclared (first use in this function)
qc-driver.c:1780: error: EPIPE undeclared (first use in this function)
qc-driver.c:1781: error: ECONNRESET undeclared (first use in this function)
qc-driver.c:1782: error: KERN_ERR undeclared (first use in this function)
qc-driver.c:1782: error: expected ) before string constant
qc-driver.c:1784: error: ESHUTDOWN undeclared (first use in this function)
qc-driver.c:1785: error: ENOENT undeclared (first use in this function)
qc-driver.c:1786: error: ENODEV undeclared (first use in this function)
qc-driver.c:1787: error: expected ) before string constant
qc-driver.c:1792: error: dereferencing pointer to incomplete type
qc-driver.c:1793: error: dereferencing pointer to incomplete type
qc-driver.c:1800: error: dereferencing pointer to incomplete type
qc-driver.c:1813: error: dereferencing pointer to incomplete type
qc-driver.c:1813: error: dereferencing pointer to incomplete type
qc-driver.c:1814: error: dereferencing pointer to incomplete type
qc-driver.c:1821: error: dereferencing pointer to incomplete type
qc-driver.c:1822: error: GFP_ATOMIC undeclared (first use in this function)
qc-driver.c: In function qc_isoc_start:
qc-driver.c:1843: error: ENOMEM undeclared (first use in this function)
qc-driver.c:1856: error: GFP_KERNEL undeclared (first use in this function)
qc-driver.c:1856: warning: assignment makes pointer from integer without a cast
qc-driver.c:1861: warning: assignment makes pointer from integer without a cast
qc-driver.c:1863: error: dereferencing pointer to incomplete type
qc-driver.c:1864: error: dereferencing pointer to incomplete type
qc-driver.c:1865: error: dereferencing pointer to incomplete type
qc-driver.c:1865: warning: implicit declaration of function usb_rcvisocpipe
qc-driver.c:1866: error: dereferencing pointer to incomplete type
qc-driver.c:1866: error: URB_ISO_ASAP undeclared (first use in this function)
qc-driver.c:1867: error: dereferencing pointer to incomplete type
qc-driver.c:1868: error: dereferencing pointer to incomplete type
qc-driver.c:1869: error: dereferencing pointer to incomplete type
qc-driver.c:1870: error: dereferencing pointer to incomplete type
qc-driver.c:1871: error: dereferencing pointer to incomplete type
qc-driver.c:1873: error: dereferencing pointer to incomplete type
qc-driver.c:1874: error: dereferencing pointer to incomplete type
qc-driver.c:1882: warning: implicit declaration of function usb_set_interface
qc-driver.c: In function qc_isoc_stop:
qc-driver.c:1929: error: KERN_ERR undeclared (first use in this function)
qc-driver.c:1929: error: expected ) before string constant
qc-driver.c:1931: error: expected ) before string constant
qc-driver.c:1934: error: expected ) before string constant
qc-driver.c:1937: warning: implicit declaration of function mb
qc-driver.c: In function qc_sensor_setsize0:
qc-driver.c:2004: error: EINVAL undeclared (first use in this function)
qc-driver.c: In function qc_sensor_init:
qc-driver.c:2082: error: NULL undeclared (first use in this function)
qc-driver.c:2086: error: KERN_ERR undeclared (first use in this function)
qc-driver.c:2086: error: expected ) before string constant
qc-driver.c: In function qc_capt_get:
qc-driver.c:2103: error: NULL undeclared (first use in this function)
qc-driver.c:2147: error: ERESTARTSYS undeclared (first use in this function)
qc-driver.c: In function qc_capt_frameaddr:
qc-driver.c:2169: error: NULL undeclared (first use in this function)
qc-driver.c: In function qc_capt_init:
qc-driver.c:2199: error: KERN_ERR undeclared (first use in this function)
qc-driver.c:2199: error: expected ) before string constant
qc-driver.c:2200: error: ENOMEM undeclared (first use in this function)
qc-driver.c:2209: error: KERN_NOTICE undeclared (first use in this function)
qc-driver.c:2209: error: expected ) before string constant
qc-driver.c:2247:41: error: missing binary operator before token "("
qc-driver.c: At top level:
qc-driver.c:2250: error: expected declaration specifiers or ... before poll_table
qc-driver.c:2250: warning: struct file declared inside parameter list
qc-driver.c:2253:41: error: missing binary operator before token "("
qc-driver.c: In function qc_v4l_poll:
qc-driver.c:2256: error: dereferencing pointer to incomplete type
qc-driver.c:2261: error: ERESTARTSYS undeclared (first use in this function)
qc-driver.c:2262: warning: implicit declaration of function poll_wait
qc-driver.c:2262: error: struct qc_frame_data has no member named wq
qc-driver.c:2262: error: wait undeclared (first use in this function)
qc-driver.c:2263: error: POLLIN undeclared (first use in this function)
qc-driver.c:2263: error: POLLRDNORM undeclared (first use in this function)
qc-driver.c: In function qc_v4l_init:
qc-driver.c:2283: error: VIDEO_PALETTE_RGB24 undeclared (first use in this function)
qc-driver.c:2299:41: error: missing binary operator before token "("
qc-driver.c:2305:41: error: missing binary operator before token "("
qc-driver.c: In function qc_v4l_open:
qc-driver.c:2308: error: dereferencing pointer to incomplete type
qc-driver.c:2320: error: MOD_INC_USE_COUNT undeclared (first use in this function)
qc-driver.c:2329: error: ERESTARTSYS undeclared (first use in this function)
qc-driver.c:2333: error: ENODEV undeclared (first use in this function)
qc-driver.c:2344: error: quickcam_list_lock undeclared (first use in this function)
qc-driver.c:2353: error: MOD_DEC_USE_COUNT undeclared (first use in this function)
qc-driver.c:2367:41: error: missing binary operator before token "("
qc-driver.c:2373:41: error: missing binary operator before token "("
qc-driver.c: In function qc_v4l_close:
qc-driver.c:2376: error: dereferencing pointer to incomplete type
qc-driver.c:2378:41: error: missing binary operator before token "("
qc-driver.c:2384: error: quickcam_list_lock undeclared (first use in this function)
qc-driver.c:2392: error: NULL undeclared (first use in this function)
qc-driver.c:2406: error: MOD_DEC_USE_COUNT undeclared (first use in this function)
qc-driver.c:2408:39: error: missing binary operator before token "("
qc-driver.c:2414:41: error: missing binary operator before token "("
qc-driver.c:2420:41: error: missing binary operator before token "("
qc-driver.c: In function qc_v4l_read:
qc-driver.c:2424: error: dereferencing pointer to incomplete type
qc-driver.c:2433: error: EFAULT undeclared (first use in this function)
qc-driver.c:2436: error: ERESTARTSYS undeclared (first use in this function)
qc-driver.c:2438: error: ENODEV undeclared (first use in this function)
qc-driver.c:2442: error: EAGAIN undeclared (first use in this function)
qc-driver.c:2451: warning: implicit declaration of function copy_to_user
qc-driver.c:2464:41: error: missing binary operator before token "("
qc-driver.c:2474:41: error: missing binary operator before token "("
qc-driver.c: In function qc_v4l_mmap:
qc-driver.c:2479: error: dereferencing pointer to incomplete type
qc-driver.c:2482:51: error: missing binary operator before token "("
qc-driver.c:2487: error: ERESTARTSYS undeclared (first use in this function)
qc-driver.c:2488: error: ENODEV undeclared (first use in this function)
qc-driver.c:2491: error: vma undeclared (first use in this function)
qc-driver.c:2500:41: error: missing binary operator before token "("
qc-driver.c:2507:41: error: missing binary operator before token "("
qc-driver.c: In function qc_v4l_ioctl:
qc-driver.c:2511: error: dereferencing pointer to incomplete type
qc-driver.c:2516: error: ERESTARTSYS undeclared (first use in this function)
qc-driver.c:2518: error: ENODEV undeclared (first use in this function)
qc-driver.c:2523: error: VIDIOCGCAP undeclared (first use in this function)
qc-driver.c:2525: error: storage size of b isnt known
qc-driver.c:2527: warning: incompatible implicit declaration of built-in function memset
qc-driver.c:2528: warning: implicit declaration of function strcpy
qc-driver.c:2528: warning: incompatible implicit declaration of built-in function strcpy
qc-driver.c:2540: error: EFAULT undeclared (first use in this function)
qc-driver.c:2525: warning: unused variable b
qc-driver.c:2545: error: VIDIOCGCHAN undeclared (first use in this function)
qc-driver.c:2547: error: storage size of v isnt known
qc-driver.c:2548: warning: implicit declaration of function copy_from_user
qc-driver.c:2554: error: EINVAL undeclared (first use in this function)
qc-driver.c:2559: error: VIDEO_TYPE_CAMERA undeclared (first use in this function)
qc-driver.c:2560: warning: incompatible implicit declaration of built-in function strcpy
qc-driver.c:2547: warning: unused variable v
qc-driver.c:2566: error: VIDIOCSCHAN undeclared (first use in this function)
qc-driver.c:2578: error: VIDIOCGPICT undeclared (first use in this function)
qc-driver.c:2586: error: VIDIOCSPICT undeclared (first use in this function)
qc-driver.c:2588: error: storage size of p isnt known
qc-driver.c:2588: warning: unused variable p
qc-driver.c:2612: error: VIDIOCSWIN undeclared (first use in this function)
qc-driver.c:2614: error: storage size of vw isnt known
qc-driver.c:2614: warning: unused variable vw
qc-driver.c:2630: error: VIDIOCGWIN undeclared (first use in this function)
qc-driver.c:2638: error: VIDIOCGMBUF undeclared (first use in this function)
qc-driver.c:2640: error: storage size of vm isnt known
qc-driver.c:2642: warning: incompatible implicit declaration of built-in function memset
qc-driver.c:2643: error: NULL undeclared (first use in this function)
qc-driver.c:2640: warning: unused variable vm
qc-driver.c:2660: error: VIDIOCMCAPTURE undeclared (first use in this function)
qc-driver.c:2662: error: storage size of vm isnt known
qc-driver.c:2670: error: KERN_NOTICE undeclared (first use in this function)
qc-driver.c:2670: error: expected ) before string constant
qc-driver.c:2662: warning: unused variable vm
qc-driver.c:2688: error: VIDIOCSYNC undeclared (first use in this function)
qc-driver.c:2697: error: VIDIOCGFBUF undeclared (first use in this function)
qc-driver.c:2699: error: storage size of vb isnt known
qc-driver.c:2701: warning: incompatible implicit declaration of built-in function memset
qc-driver.c:2699: warning: unused variable vb
qc-driver.c:2707: error: VIDIOCKEY undeclared (first use in this function)
qc-driver.c:2713: error: VIDIOCCAPTURE undeclared (first use in this function)
qc-driver.c:2719: error: VIDIOCSFBUF undeclared (first use in this function)
qc-driver.c:2725: error: VIDIOCGTUNER undeclared (first use in this function)
qc-driver.c:2726: error: VIDIOCSTUNER undeclared (first use in this function)
qc-driver.c:2732: error: VIDIOCGFREQ undeclared (first use in this function)
qc-driver.c:2733: error: VIDIOCSFREQ undeclared (first use in this function)
qc-driver.c:2739: error: VIDIOCGAUDIO undeclared (first use in this function)
qc-driver.c:2740: error: VIDIOCSAUDIO undeclared (first use in this function)
qc-driver.c:2747: warning: implicit declaration of function _IOWR
qc-driver.c:2747: error: expected expression before int
qc-driver.c:2747: error: case label does not reduce to an integer constant
qc-driver.c:2748: warning: implicit declaration of function get_user
qc-driver.c:2749: warning: implicit declaration of function _IOR
qc-driver.c:2749: error: expected expression before int
qc-driver.c:2749: error: case label does not reduce to an integer constant
qc-driver.c:2750: warning: implicit declaration of function put_user
qc-driver.c:2755: error: expected expression before int
qc-driver.c:2755: error: case label does not reduce to an integer constant
qc-driver.c:2758: error: expected expression before int
qc-driver.c:2758: error: case label does not reduce to an integer constant
qc-driver.c:2765: error: expected expression before int
qc-driver.c:2765: error: case label does not reduce to an integer constant
qc-driver.c:2768: error: expected expression before int
qc-driver.c:2768: error: case label does not reduce to an integer constant
qc-driver.c:2775: error: expected expression before int
qc-driver.c:2775: error: case label does not reduce to an integer constant
qc-driver.c:2778: error: expected expression before int
qc-driver.c:2778: error: case label does not reduce to an integer constant
qc-driver.c:2785: error: expected expression before int
qc-driver.c:2785: error: case label does not reduce to an integer constant
qc-driver.c:2788: error: expected expression before int
qc-driver.c:2788: error: case label does not reduce to an integer constant
qc-driver.c:2795: error: expected expression before int
qc-driver.c:2795: error: case label does not reduce to an integer constant
qc-driver.c:2798: error: expected expression before int
qc-driver.c:2798: error: case label does not reduce to an integer constant
qc-driver.c:2805: error: expected expression before int
qc-driver.c:2805: error: case label does not reduce to an integer constant
qc-driver.c:2808: error: expected expression before int
qc-driver.c:2808: error: case label does not reduce to an integer constant
qc-driver.c:2815: error: expected expression before int
qc-driver.c:2815: error: case label does not reduce to an integer constant
qc-driver.c:2818: error: expected expression before int
qc-driver.c:2818: error: case label does not reduce to an integer constant
qc-driver.c:2825: error: expected expression before int
qc-driver.c:2825: error: case label does not reduce to an integer constant
qc-driver.c:2828: error: expected expression before int
qc-driver.c:2828: error: case label does not reduce to an integer constant
qc-driver.c:2835: error: expected expression before struct
qc-driver.c:2835: error: case label does not reduce to an integer constant
qc-driver.c:2861: error: expected expression before struct
qc-driver.c:2861: error: case label does not reduce to an integer constant
qc-driver.c:2887: error: expected expression before int
qc-driver.c:2887: error: case label does not reduce to an integer constant
qc-driver.c:2890: error: expected expression before int
qc-driver.c:2890: error: case label does not reduce to an integer constant
qc-driver.c:2897: error: expected expression before int
qc-driver.c:2897: error: case label does not reduce to an integer constant
qc-driver.c:2902: error: expected expression before int
qc-driver.c:2902: error: case label does not reduce to an integer constant
qc-driver.c:2911:41: error: missing binary operator before token "("
qc-driver.c:2924: error: expected expression before int
qc-driver.c:2924: error: case label does not reduce to an integer constant
qc-driver.c:2936: warning: implicit declaration of function _IOW
qc-driver.c:2936: error: expected expression before int
qc-driver.c:2936: error: case label does not reduce to an integer constant
qc-driver.c:2940: warning: implicit declaration of function capable
qc-driver.c:2940: error: CAP_SYS_RAWIO undeclared (first use in this function)
qc-driver.c:2940: error: EPERM undeclared (first use in this function)
qc-driver.c:2947: error: expected expression before int
qc-driver.c:2947: error: case label does not reduce to an integer constant
qc-driver.c:2959: error: expected expression before int
qc-driver.c:2959: error: case label does not reduce to an integer constant
qc-driver.c:2973: error: ENOIOCTLCMD undeclared (first use in this function)
qc-driver.c:2983:38: error: missing binary operator before token "("
qc-driver.c:2992:41: error: missing binary operator before token "("
qc-driver.c: At top level:
qc-driver.c:3006: error: variable qc_v4l_template has initializer but incomplete type
qc-driver.c:3007: error: unknown field name specified in initializer
qc-driver.c:3007: warning: excess elements in struct initializer
qc-driver.c:3007: warning: (near initialization for qc_v4l_template)
qc-driver.c:3008: error: unknown field type specified in initializer
qc-driver.c:3008: error: VID_TYPE_CAPTURE undeclared here (not in a function)
qc-driver.c:3008: error: VID_TYPE_SUBCAPTURE undeclared here (not in a function)
qc-driver.c:3008: warning: excess elements in struct initializer
qc-driver.c:3008: warning: (near initialization for qc_v4l_template)
qc-driver.c:3009: error: unknown field hardware specified in initializer
qc-driver.c:3009: warning: excess elements in struct initializer
qc-driver.c:3009: warning: (near initialization for qc_v4l_template)
qc-driver.c:3010: error: unknown field minor specified in initializer
qc-driver.c:3010: warning: excess elements in struct initializer
qc-driver.c:3010: warning: (near initialization for qc_v4l_template)
qc-driver.c:3011:41: error: missing binary operator before token "("
qc-driver.c:3015: error: unknown field initialize specified in initializer
qc-driver.c:3015: error: NULL undeclared here (not in a function)
qc-driver.c:3015: warning: excess elements in struct initializer
qc-driver.c:3015: warning: (near initialization for qc_v4l_template)
qc-driver.c:3016: error: unknown field open specified in initializer
qc-driver.c:3016: warning: excess elements in struct initializer
qc-driver.c:3016: warning: (near initialization for qc_v4l_template)
qc-driver.c:3017: error: unknown field close specified in initializer
qc-driver.c:3017: warning: excess elements in struct initializer
qc-driver.c:3017: warning: (near initialization for qc_v4l_template)
qc-driver.c:3018: error: unknown field read specified in initializer
qc-driver.c:3018: warning: excess elements in struct initializer
qc-driver.c:3018: warning: (near initialization for qc_v4l_template)
qc-driver.c:3019: error: unknown field write specified in initializer
qc-driver.c:3019: error: qc_v4l_write undeclared here (not in a function)
qc-driver.c:3019: warning: excess elements in struct initializer
qc-driver.c:3019: warning: (near initialization for qc_v4l_template)
qc-driver.c:3020: error: unknown field ioctl specified in initializer
qc-driver.c:3020: warning: excess elements in struct initializer
qc-driver.c:3020: warning: (near initialization for qc_v4l_template)
qc-driver.c:3021: error: unknown field mmap specified in initializer
qc-driver.c:3021: warning: excess elements in struct initializer
qc-driver.c:3021: warning: (near initialization for qc_v4l_template)
qc-driver.c:3022: error: unknown field poll specified in initializer
qc-driver.c:3022: warning: excess elements in struct initializer
qc-driver.c:3022: warning: (near initialization for qc_v4l_template)
qc-driver.c:3027:41: error: missing binary operator before token "("
qc-driver.c:3029:43: error: missing binary operator before token "("
qc-driver.c:3035:41: error: missing binary operator before token "("
qc-driver.c:3041: error: variable qc_usb_driver has initializer but incomplete type
qc-driver.c:3042: error: unknown field name specified in initializer
qc-driver.c:3042: warning: excess elements in struct initializer
qc-driver.c:3042: warning: (near initialization for qc_usb_driver)
qc-driver.c:3043: error: unknown field probe specified in initializer
qc-driver.c:3043: warning: excess elements in struct initializer
qc-driver.c:3043: warning: (near initialization for qc_usb_driver)
qc-driver.c:3044: error: unknown field disconnect specified in initializer
qc-driver.c:3044: warning: excess elements in struct initializer
qc-driver.c:3044: warning: (near initialization for qc_usb_driver)
qc-driver.c:3045:41: error: missing binary operator before token "("
qc-driver.c:3049:41: error: missing binary operator before token "("
qc-driver.c: In function qc_usb_init:
qc-driver.c:3065: error: KERN_CRIT undeclared (first use in this function)
qc-driver.c:3065: error: expected ) before string constant
qc-driver.c:3070: error: quickcam_list_lock undeclared (first use in this function)
qc-driver.c:3071: error: quickcam_list undeclared (first use in this function)
qc-driver.c:3071: error: expected expression before typeof
qc-driver.c:3071: warning: assignment makes pointer from integer without a cast
qc-driver.c:3071: error: expected expression before typeof
qc-driver.c:3071: warning: assignment makes pointer from integer without a cast
qc-driver.c:3080: error: KERN_NOTICE undeclared (first use in this function)
qc-driver.c:3080: error: expected ) before string constant
qc-driver.c:3093: error: expected ) before string constant
qc-driver.c:3100: error: GFP_KERNEL undeclared (first use in this function)
qc-driver.c:3100: warning: assignment makes pointer from integer without a cast
qc-driver.c:3102: warning: incompatible implicit declaration of built-in function memset
qc-driver.c:3106: warning: implicit declaration of function init_MUTEX_LOCKED
qc-driver.c:3125: error: KERN_INFO undeclared (first use in this function)
qc-driver.c:3125: error: expected ) before string constant
qc-driver.c:3129: error: expected ) before string constant
qc-driver.c:3154: warning: incompatible implicit declaration of built-in function memcpy
qc-driver.c:3157: error: invalid application of sizeof to incomplete type struct video_device
qc-driver.c:3159: warning: implicit declaration of function video_register_device
qc-driver.c:3159: error: VFL_TYPE_GRABBER undeclared (first use in this function)
qc-driver.c:3159: error: video_nr undeclared (first use in this function)
qc-driver.c:3161: error: expected ) before string constant
qc-driver.c:3164: warning: implicit declaration of function list_add
qc-driver.c:3167: error: struct qc_frame_data has no member named waiting
qc-driver.c:3215: warning: implicit declaration of function video_unregister_device
qc-driver.c:3231:41: error: missing binary operator before token "("
qc-driver.c:3233:43: error: missing binary operator before token "("
qc-driver.c:3241:41: error: missing binary operator before token "("
qc-driver.c:3249:40: error: missing binary operator before token "("
qc-driver.c: In function qc_usb_probe:
qc-driver.c:3258: error: KERN_CRIT undeclared (first use in this function)
qc-driver.c:3258: error: expected ) before string constant
qc-driver.c:3261: error: dereferencing pointer to incomplete type
qc-driver.c:3268:41: error: missing binary operator before token "("
qc-driver.c:3272: error: dereferencing pointer to incomplete type
qc-driver.c:3275: error: dereferencing pointer to incomplete type
qc-driver.c:3275: error: expected ) before string constant
qc-driver.c:3276: error: dereferencing pointer to incomplete type
qc-driver.c:3277: error: dereferencing pointer to incomplete type
qc-driver.c:3280: error: KERN_INFO undeclared (first use in this function)
qc-driver.c:3280: error: expected ) before string constant
qc-driver.c:3281: error: expected ) before string constant
qc-driver.c:3287: error: MOD_INC_USE_COUNT undeclared (first use in this function)
qc-driver.c:3290: error: MOD_DEC_USE_COUNT undeclared (first use in this function)
qc-driver.c:3291:41: error: missing binary operator before token "("
qc-driver.c: In function qc_usb_exit:
qc-driver.c:3315: warning: implicit declaration of function list_del
qc-driver.c:3327:41: error: missing binary operator before token "("
qc-driver.c:3333:41: error: missing binary operator before token "("
qc-driver.c: In function qc_usb_disconnect:
qc-driver.c:3348: error: MOD_INC_USE_COUNT undeclared (first use in this function)
qc-driver.c:3357: error: quickcam_list_lock undeclared (first use in this function)
qc-driver.c:3360:41: error: missing binary operator before token "("
qc-driver.c:3378: error: MOD_DEC_USE_COUNT undeclared (first use in this function)
qc-driver.c: At top level:
qc-driver.c:3387: error: expected =, ,, ;, asm or __attribute__ before qc_init
qc-driver.c:3401: error: expected =, ,, ;, asm or __attribute__ before qc_exit
qc-driver.c:3409: warning: data definition has no type or storage class
qc-driver.c:3409: warning: type defaults to int in declaration of module_init
qc-driver.c:3409: warning: parameter names (without types) in function declaration
qc-driver.c:3410: warning: data definition has no type or storage class
qc-driver.c:3410: warning: type defaults to int in declaration of module_exit
qc-driver.c:3410: warning: parameter names (without types) in function declaration
make: *** [qc-driver.o] Error 1
wheels@wheels-desktop:~/Desktop/qc-usb-0.6.5$