Thread: Witch driver?
View Single Post
Old 05-01-03, 01:53 PM   #8
Jovan
Registered User
 
Join Date: Apr 2003
Location: Fermany
Posts: 8
Default

nv.c:980: dereferencing pointer to incomplete type
nv.c:984: dereferencing pointer to incomplete type
nv.c:985: `NOPAGE_SIGBUS' undeclared (first use in this function)
nv.c:993: parse error before ')' token
nv.c:993: dereferencing pointer to incomplete type
nv.c:1018: dereferencing pointer to incomplete type
nv.c:1019: dereferencing pointer to incomplete type
nv.c:1029: dereferencing pointer to incomplete type
nv.c:1029: `PAGE_SHIFT' undeclared (first use in this function)
nv.c:1037: `mem_map' undeclared (first use in this function)
nv.c: At top level:
nv.c:1043: variable `nv_vm_ops' has initializer but incomplete type
nv.c:1044: warning: excess elements in struct initializer
nv.c:1044: warning: (near initialization for `nv_vm_ops')
nv.c:1045: warning: excess elements in struct initializer
nv.c:1045: warning: (near initialization for `nv_vm_ops')
nv.c:1047: warning: excess elements in struct initializer
nv.c:1047: warning: (near initialization for `nv_vm_ops')
nv.c:1060: warning: `struct file' declared inside parameter list
nv.c:1060: warning: `struct inode' declared inside parameter list
nv.c:1061: conflicting types for `nv_kern_open'
nv.c:118: previous declaration of `nv_kern_open'
nv.c: In function `nv_kern_open':
nv.c:1063: `nvl' undeclared (first use in this function)
nv.c:1063: parse error before ')' token
nv.c:1071: `GFP_KERNEL' undeclared (first use in this function)
nv.c:1073: `ENOMEM' undeclared (first use in this function)
nv.c:1075: dereferencing pointer to incomplete type
nv.c:1079: dereferencing pointer to incomplete type
nv.c:1080: warning: passing arg 1 of `nv_kern_ctl_open' from incompatible pointe
r type
nv.c:1080: warning: passing arg 2 of `nv_kern_ctl_open' from incompatible pointe
r type
nv.c:1083: dereferencing pointer to incomplete type
nv.c:1086: `ENODEV' undeclared (first use in this function)
nv.c:1091: `MOD_INC_USE_COUNT' undeclared (first use in this function)
nv.c:1099: dereferencing pointer to incomplete type
nv.c:1110: `ENXIO' undeclared (first use in this function)
nv.c:1117: `EIO' undeclared (first use in this function)
nv.c:1122: warning: implicit declaration of function `request_irq'
nv.c:1123: `SA_INTERRUPT' undeclared (first use in this function)
nv.c:1123: `SA_SHIRQ' undeclared (first use in this function)
nv.c:1127: `EBUSY' undeclared (first use in this function)
nv.c:1141: sizeof applied to an incomplete type
nv.c:1144: sizeof applied to an incomplete type
nv.c:1146: warning: implicit declaration of function `init_waitqueue_head'
nv.c:1160: `MOD_DEC_USE_COUNT' undeclared (first use in this function)
nv.c: At top level:
nv.c:1175: warning: `struct file' declared inside parameter list
nv.c:1175: warning: `struct inode' declared inside parameter list
nv.c:1176: conflicting types for `nv_kern_close'
nv.c:119: previous declaration of `nv_kern_close'
nv.c: In function `nv_kern_close':
nv.c:1177: `nvl' undeclared (first use in this function)
nv.c:1177: parse error before ')' token
nv.c:1177: dereferencing pointer to incomplete type
nv.c:1182: dereferencing pointer to incomplete type
nv.c:1183: warning: passing arg 1 of `nv_kern_ctl_close' from incompatible point
er type
nv.c:1183: warning: passing arg 2 of `nv_kern_ctl_close' from incompatible point
er type
nv.c:1185: dereferencing pointer to incomplete type
nv.c:1187: `current' undeclared (first use in this function)
nv.c:1205: warning: implicit declaration of function `atomic_read'
nv.c:1207: `TASK_INTERRUPTIBLE' undeclared (first use in this function)
nv.c:1208: warning: implicit declaration of function `schedule_timeout'
nv.c:1208: `HZ' undeclared (first use in this function)
nv.c:1214: warning: implicit declaration of function `free_irq'
nv.c:1245: dereferencing pointer to incomplete type
nv.c:1246: dereferencing pointer to incomplete type
nv.c:1247: dereferencing pointer to incomplete type
nv.c:1249: `MOD_DEC_USE_COUNT' undeclared (first use in this function)
nv.c: At top level:
nv.c:1257: warning: `struct file' declared inside parameter list
nv.c:1258: conflicting types for `nv_kern_mmap'
nv.c:120: previous declaration of `nv_kern_mmap'
nv.c: In function `nv_kern_mmap':
nv.c:1261: `nvl' undeclared (first use in this function)
nv.c:1261: parse error before ')' token
nv.c:1261: dereferencing pointer to incomplete type
nv.c:1265: dereferencing pointer to incomplete type
nv.c:1266: dereferencing pointer to incomplete type
nv.c:1267: dereferencing pointer to incomplete type
nv.c:1267: `PAGE_SHIFT' undeclared (first use in this function)
nv.c:1270: dereferencing pointer to incomplete type
nv.c:1270: `PAGE_SIZE' undeclared (first use in this function)
nv.c:1271: dereferencing pointer to incomplete type
nv.c:1272: dereferencing pointer to incomplete type
nv.c:1274: `ENXIO' undeclared (first use in this function)
nv.c:1277: dereferencing pointer to incomplete type
nv.c:1277: dereferencing pointer to incomplete type
nv.c:1280: dereferencing pointer to incomplete type
nv.c:1288: dereferencing pointer to incomplete type
nv.c:1288: dereferencing pointer to incomplete type
nv.c:1288: dereferencing pointer to incomplete type
nv.c:1288: dereferencing pointer to incomplete type
nv.c:1294: dereferencing pointer to incomplete type
nv.c:1294: dereferencing pointer to incomplete type
nv.c:1295: warning: implicit declaration of function `NV_REMAP_PAGE_RANGE'
nv.c:1295: dereferencing pointer to incomplete type
nv.c:1296: dereferencing pointer to incomplete type
nv.c:1297: dereferencing pointer to incomplete type
nv.c:1297: dereferencing pointer to incomplete type
nv.c:1298: dereferencing pointer to incomplete type
nv.c:1299: `EAGAIN' undeclared (first use in this function)
nv.c:1302: dereferencing pointer to incomplete type
nv.c:1302: `VM_IO' undeclared (first use in this function)
nv.c:1306: dereferencing pointer to incomplete type
nv.c:1306: dereferencing pointer to incomplete type
nv.c:1306: dereferencing pointer to incomplete type
nv.c:1306: dereferencing pointer to incomplete type
nv.c:1313: dereferencing pointer to incomplete type
nv.c:1313: dereferencing pointer to incomplete type
nv.c:1314: dereferencing pointer to incomplete type
nv.c:1315: dereferencing pointer to incomplete type
nv.c:1316: dereferencing pointer to incomplete type
nv.c:1316: dereferencing pointer to incomplete type
nv.c:1317: dereferencing pointer to incomplete type
nv.c:1321: dereferencing pointer to incomplete type
nv.c:1325: dereferencing pointer to incomplete type
nv.c:1325: dereferencing pointer to incomplete type
nv.c:1325: dereferencing pointer to incomplete type
nv.c:1325: dereferencing pointer to incomplete type
nv.c:1328: dereferencing pointer to incomplete type
nv.c:1346: dereferencing pointer to incomplete type
nv.c:1351:65: missing binary operator before '('
nv.c:1354: dereferencing pointer to incomplete type
nv.c:1354: warning: implicit declaration of function `pgprot_writecombine'
nv.c:1354: dereferencing pointer to incomplete type
nv.c:1365: dereferencing pointer to incomplete type
nv.c:1365: `VM_LOCKED' undeclared (first use in this function)
nv.c:1375: dereferencing pointer to incomplete type
nv.c:1393: dereferencing pointer to incomplete type
nv.c:1397: dereferencing pointer to incomplete type
nv.c:1401: `PAGE_SHARED' undeclared (first use in this function)
nv.c:1410: dereferencing pointer to incomplete type
nv.c:1413: dereferencing pointer to incomplete type
nv.c:1416: `MOD_INC_USE_COUNT' undeclared (first use in this function)
nv.c: At top level:
nv.c:1424: parse error before "poll_table"
nv.c:1425: warning: `struct file' declared inside parameter list
nv.c: In function `nv_kern_poll':
nv.c:1428: `nvl' undeclared (first use in this function)
nv.c:1432: `file' undeclared (first use in this function)
nv.c:1433: parse error before ')' token
nv.c:1439: `wait' undeclared (first use in this function)
nv.c:1442: warning: implicit declaration of function `poll_wait'
nv.c:1461: `POLLPRI' undeclared (first use in this function)
nv.c: At top level:
nv.c:1508: warning: `struct file' declared inside parameter list
nv.c:1508: warning: `struct inode' declared inside parameter list
nv.c:1509: conflicting types for `nv_kern_ioctl'
nv.c:122: previous declaration of `nv_kern_ioctl'
nv.c: In function `nv_kern_ioctl':
nv.c:1511: `nvl' undeclared (first use in this function)
nv.c:1515: parse error before ')' token
nv.c:1515: dereferencing pointer to incomplete type
nv.c:1518: warning: implicit declaration of function `_IOC_NR'
nv.c:1524: warning: implicit declaration of function `_IO'
nv.c:1524: case label does not reduce to an integer constant
nv.c:1525: warning: implicit declaration of function `atomic_set'
nv.c:1525: `__this_module' undeclared (first use in this function)
nv.c:1529: warning: implicit declaration of function `_IOWR'
nv.c:1529: parse error before "NvU8"
nv.c:1533: `tnvl' undeclared (first use in this function)
nv.c:1537: `EINVAL' undeclared (first use in this function)
nv.c:1546: warning: implicit declaration of function `copy_from_user'
nv.c:1546: `EFAULT' undeclared (first use in this function)
nv.c:1567: warning: implicit declaration of function `copy_to_user'
nv.c:1571: warning: left-hand operand of comma expression has no effect
nv.c:1574: `ci' undeclared (first use in this function)
nv.c:1596: parse error before "nv_ioctl_primary_card_t"
nv.c:1604: `params' undeclared (first use in this function)
nv.c:1537: label `done' used but not defined
nv.c:1571: warning: value computed is not used
nv.c:1608: break statement not within loop or switch
nv.c: At top level:
nv.c:1612: parse error before "case"
nv.c:1618: parse error before '.' token
nv.c:1630: parse error before '.' token
nv.c:1658: warning: `struct pt_regs' declared inside parameter list
nv.c:1659: conflicting types for `nv_kern_isr'
nv.c:124: previous declaration of `nv_kern_isr'
nv.c: In function `nv_kern_isr':
nv.c:1660: `nvl' undeclared (first use in this function)
nv.c:1667: warning: implicit declaration of function `atomic_inc'
nv.c:1668: warning: implicit declaration of function `queue_task'
nv.c:1668: `tq_immediate' undeclared (first use in this function)
nv.c:1669: warning: implicit declaration of function `mark_bh'
nv.c:1669: `IMMEDIATE_BH' undeclared (first use in this function)
nv.c: In function `nv_kern_bh':
nv.c:1677: `nvl' undeclared (first use in this function)
nv.c:1677: parse error before ')' token
nv.c:1680: warning: implicit declaration of function `atomic_dec'
nv.c: In function `nv_kern_rc_timer':
nv.c:1688: `nvl' undeclared (first use in this function)
nv.c:1688: parse error before ')' token
nv.c:1693: warning: implicit declaration of function `mod_timer'
nv.c:1693: `jiffies' undeclared (first use in this function)
nv.c:1693: `HZ' undeclared (first use in this function)
nv.c: At top level:
nv.c:1745: warning: `struct file' declared inside parameter list
nv.c:1745: warning: `struct inode' declared inside parameter list
nv.c:1746: conflicting types for `nv_kern_ctl_open'
nv.c:135: previous declaration of `nv_kern_ctl_open'
nv.c: In function `nv_kern_ctl_open':
nv.c:1748: `nvl' undeclared (first use in this function)
nv.c:1761: dereferencing pointer to incomplete type
nv.c:1763: `MOD_INC_USE_COUNT' undeclared (first use in this function)
nv.c:1772: sizeof applied to an incomplete type
nv.c:1772: `GFP_KERNEL' undeclared (first use in this function)
nv.c:1774: `ENOMEM' undeclared (first use in this function)
nv.c:1775: sizeof applied to an incomplete type
nv.c: At top level:
nv.c:1802: warning: `struct file' declared inside parameter list
nv.c:1802: warning: `struct inode' declared inside parameter list
nv.c:1803: conflicting types for `nv_kern_ctl_close'
nv.c:136: previous declaration of `nv_kern_ctl_close'
nv.c: In function `nv_kern_ctl_close':
nv.c:1804: dereferencing pointer to incomplete type
nv.c:1812: `nvl' undeclared (first use in this function)
nv.c:1812: parse error before ')' token
nv.c:1821: `current' undeclared (first use in this function)
nv.c:1824: dereferencing pointer to incomplete type
nv.c:1825: dereferencing pointer to incomplete type
nv.c:1826: dereferencing pointer to incomplete type
nv.c:1828: `MOD_DEC_USE_COUNT' undeclared (first use in this function)
nv.c: At top level:
nv.c:1841: parse error before "poll_table"
nv.c:1842: warning: `struct file' declared inside parameter list
nv.c: In function `nv_kern_ctl_poll':
nv.c:1844: `nvl' undeclared (first use in this function)
nv.c:1848: parse error before ')' token
nv.c:1848: `file' undeclared (first use in this function)
nv.c:1851: `O_NONBLOCK' undeclared (first use in this function)
nv.c:1852: `EAGAIN' undeclared (first use in this function)
nv.c:1854: `wait' undeclared (first use in this function)
nv.c:1861: `POLLIN' undeclared (first use in this function)
nv.c:1861: `POLLRDNORM' undeclared (first use in this function)
nv.c: In function `nv_set_hotkey_occurred_flag':
nv.c:1880: request for member `nv_state' in something not a structure or union
nv.c:1881: request for member `nv_state' in something not a structure or union
nv.c:1882: request for member `nv_state' in something not a structure or union
nv.c:1884: warning: implicit declaration of function `wake_up_interruptible'
nv.c:1884: request for member `event_queue' in something not a structure or unio
n
nv.c: At top level:
nv.c:1887: parse error before "off_t"
nv.c: In function `nv_kern_read_cardinfo':
nv.c:1896: `data' undeclared (first use in this function)
nv.c:1902: dereferencing pointer to incomplete type
nv.c:1904: warning: implicit declaration of function `strcpy'
nv.c:1907: warning: implicit declaration of function `sprintf'
nv.c:1907: `page' undeclared (first use in this function)
nv.c:1922: warning: passing arg 1 of `nvos_find_agp_capability' from incompatibl
e pointer type
nv.c: At top level:
nv.c:1928: parse error before "off_t"
nv.c: In function `nv_kern_read_version':
nv.c:1933: `page' undeclared (first use in this function)
nv.c: At top level:
nv.c:1939: parse error before "off_t"
nv.c: In function `nv_kern_read_agpinfo':
nv.c:1944: `u8' undeclared (first use in this function)
nv.c:1944: parse error before "cap_ptr"
nv.c:1945: `u32' undeclared (first use in this function)
nv.c:1949: `data' undeclared (first use in this function)
nv.c:1956: `PCI_CLASS_BRIDGE_HOST' undeclared (first use in this function)
nv.c:1960: `page' undeclared (first use in this function)
nv.c:1966: dereferencing pointer to incomplete type
nv.c:1966: dereferencing pointer to incomplete type
nv.c:1971: `cap_ptr' undeclared (first use in this function)
nv.c:1971: warning: passing arg 1 of `nvos_find_agp_capability' from incompatibl
e pointer type
nv.c:1973: `status' undeclared (first use in this function)
nv.c:1974: `command' undeclared (first use in this function)
nv.c:1982: `agp_rate' undeclared (first use in this function)
nv.c: At top level:
e in this t known
nv.c:1043: storage size of `nv_vm_ops' isn't known
make: *** [nv.o] Error 1
[root@jovan NVIDIA_kernel-1.0-4363]#
Jovan is offline   Reply With Quote