LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 697|回复: 2

求助!编译内核错误。。。

[复制链接]
发表于 2005-5-15 23:24:04 | 显示全部楼层 |阅读模式

  1. function)
  2. drivers/char/drm/gamma_context.h:193: error: structure has no member named `next_buffer'
  3. drivers/char/drm/gamma_context.h:193: error: structure has no member named `next_buffer'
  4. drivers/char/drm/gamma_context.h:194: error: `lock_free' undeclared (first use in this function)
  5. drivers/char/drm/gamma_context.h:195: error: called object is not a function
  6. drivers/char/drm/gamma_context.h: At top level:
  7. drivers/char/drm/gamma_context.h:207: error: `DRM' declared as function returning a function
  8. drivers/char/drm/gamma_context.h:207: warning: function declaration isn't a prototype
  9. drivers/char/drm/gamma_context.h:207: error: redefinition of `DRM'
  10. drivers/char/drm/gamma_context.h:183: error: `DRM' previously defined here
  11. drivers/char/drm/gamma_context.h:207: warning: `DRM' was declared `extern' and later `static'
  12. drivers/char/drm/gamma_context.h: In function `DRM':
  13. drivers/char/drm/gamma_context.h:210: error: `q' undeclared (first use in this function)
  14. drivers/char/drm/gamma_context.h:231: error: `ctx' undeclared (first use in this function)
  15. drivers/char/drm/gamma_context.h:233: error: `waitlist_create' undeclared (first use in this function)
  16. drivers/char/drm/gamma_context.h:233: error: `dev' undeclared (first use in this function)
  17. drivers/char/drm/gamma_context.h:233: error: called object is not a function
  18. drivers/char/drm/gamma_context.h: At top level:
  19. drivers/char/drm/gamma_context.h:249: error: `DRM' declared as function returning a function
  20. drivers/char/drm/gamma_context.h:249: warning: function declaration isn't a prototype
  21. drivers/char/drm/gamma_context.h:249: error: redefinition of `DRM'
  22. drivers/char/drm/gamma_context.h:207: error: `DRM' previously defined here
  23. drivers/char/drm/gamma_context.h:249: warning: `DRM' was declared `extern' and later `static'
  24. drivers/char/drm/gamma_context.h: In function `DRM':
  25. drivers/char/drm/gamma_context.h:255: error: `dev' undeclared (first use in this function)
  26. drivers/char/drm/gamma_context.h:267: error: `alloc' undeclared (first use in this function)
  27. drivers/char/drm/gamma_context.h:267: error: called object is not a function
  28. drivers/char/drm/gamma_context.h:278: error: `realloc' undeclared (first use in this function)
  29. drivers/char/drm/gamma_context.h:281: error: called object is not a function
  30. drivers/char/drm/gamma_context.h: At top level:
  31. drivers/char/drm/gamma_context.h:297: error: `DRM' declared as function returning a function
  32. drivers/char/drm/gamma_context.h:297: warning: function declaration isn't a prototype
  33. drivers/char/drm/gamma_context.h:297: error: redefinition of `DRM'
  34. drivers/char/drm/gamma_context.h:249: error: `DRM' previously defined here
  35. drivers/char/drm/gamma_context.h: In function `DRM':
  36. drivers/char/drm/gamma_context.h:298: error: `arg' undeclared (first use in this function)
  37. drivers/char/drm/gamma_context.h: At top level:
  38. drivers/char/drm/gamma_context.h:324: error: `DRM' declared as function returning a function
  39. drivers/char/drm/gamma_context.h:324: warning: function declaration isn't a prototype
  40. drivers/char/drm/gamma_context.h:324: error: redefinition of `DRM'
  41. drivers/char/drm/gamma_context.h:297: error: `DRM' previously defined here
  42. drivers/char/drm/gamma_context.h: In function `DRM':
  43. drivers/char/drm/gamma_context.h:325: error: `filp' undeclared (first use in this function)
  44. drivers/char/drm/gamma_context.h:328: error: `arg' undeclared (first use in this function)
  45. drivers/char/drm/gamma_context.h:332: error: `alloc_queue' undeclared (first use in this function)
  46. drivers/char/drm/gamma_context.h:332: error: called object is not a function
  47. drivers/char/drm/gamma_context.h:334: error: `init_queue' undeclared (first use in this function)
  48. drivers/char/drm/gamma_context.h:334: error: called object is not a function
  49. drivers/char/drm/gamma_context.h:335: error: called object is not a function
  50. drivers/char/drm/gamma_context.h:337: error: called object is not a function
  51. drivers/char/drm/gamma_context.h: At top level:
  52. drivers/char/drm/gamma_context.h:346: error: `DRM' declared as function returning a function
  53. drivers/char/drm/gamma_context.h:346: warning: function declaration isn't a prototype
  54. drivers/char/drm/gamma_context.h:346: error: redefinition of `DRM'
  55. drivers/char/drm/gamma_context.h:324: error: `DRM' previously defined here
  56. drivers/char/drm/gamma_context.h: In function `DRM':
  57. drivers/char/drm/gamma_context.h:347: error: `filp' undeclared (first use in this function)
  58. drivers/char/drm/gamma_context.h:352: error: `arg' undeclared (first use in this function)
  59. drivers/char/drm/gamma_context.h: At top level:
  60. drivers/char/drm/gamma_context.h:380: error: `DRM' declared as function returning a function
  61. drivers/char/drm/gamma_context.h:380: warning: function declaration isn't a prototype
  62. drivers/char/drm/gamma_context.h:380: error: redefinition of `DRM'
  63. drivers/char/drm/gamma_context.h:346: error: `DRM' previously defined here
  64. drivers/char/drm/gamma_context.h: In function `DRM':
  65. drivers/char/drm/gamma_context.h:381: error: `filp' undeclared (first use in this function)
  66. drivers/char/drm/gamma_context.h:383: error: `arg' undeclared (first use in this function)
  67. drivers/char/drm/gamma_context.h: At top level:
  68. drivers/char/drm/gamma_context.h:413: error: `DRM' declared as function returning a function
  69. drivers/char/drm/gamma_context.h:413: warning: function declaration isn't a prototype
  70. drivers/char/drm/gamma_context.h:413: error: redefinition of `DRM'
  71. drivers/char/drm/gamma_context.h:380: error: `DRM' previously defined here
  72. drivers/char/drm/gamma_context.h: In function `DRM':
  73. drivers/char/drm/gamma_context.h:414: error: `filp' undeclared (first use in this function)
  74. drivers/char/drm/gamma_context.h:418: error: `arg' undeclared (first use in this function)
  75. drivers/char/drm/gamma_context.h:421: error: `context_switch' undeclared (first use in this function)
  76. drivers/char/drm/gamma_context.h:421: error: called object is not a function
  77. drivers/char/drm/gamma_context.h: At top level:
  78. drivers/char/drm/gamma_context.h:426: error: `DRM' declared as function returning a function
  79. drivers/char/drm/gamma_context.h:426: warning: function declaration isn't a prototype
  80. drivers/char/drm/gamma_context.h:426: error: redefinition of `DRM'
  81. drivers/char/drm/gamma_context.h:413: error: `DRM' previously defined here
  82. drivers/char/drm/gamma_context.h: In function `DRM':
  83. drivers/char/drm/gamma_context.h:427: error: `filp' undeclared (first use in this function)
  84. drivers/char/drm/gamma_context.h:431: error: `arg' undeclared (first use in this function)
  85. drivers/char/drm/gamma_context.h:434: error: `context_switch_complete' undeclared (first use in this function)
  86. drivers/char/drm/gamma_context.h:434: error: called object is not a function
  87. drivers/char/drm/gamma_context.h: At top level:
  88. drivers/char/drm/gamma_context.h:441: error: `DRM' declared as function returning a function
  89. drivers/char/drm/gamma_context.h:441: warning: function declaration isn't a prototype
  90. drivers/char/drm/gamma_context.h:441: error: redefinition of `DRM'
  91. drivers/char/drm/gamma_context.h:426: error: `DRM' previously defined here
  92. drivers/char/drm/gamma_context.h: In function `DRM':
  93. drivers/char/drm/gamma_context.h:442: error: `filp' undeclared (first use in this function)
  94. drivers/char/drm/gamma_context.h:448: error: `arg' undeclared (first use in this function)
  95. drivers/char/drm/gamma_context.h:474: error: `waitlist_get' undeclared (first use in this function)
  96. drivers/char/drm/gamma_context.h:474: error: called object is not a function
  97. drivers/char/drm/gamma_context.h:475: error: `free_buffer' undeclared (first use in this function)
  98. drivers/char/drm/gamma_context.h:475: error: called object is not a function
  99. drivers/char/drm/gamma_drv.c:43:21: drm_dma.h: 没有那个文件或目录
  100. In file included from drivers/char/drm/gamma_drv.c:44:
  101. drivers/char/drm/gamma_old_dma.h: At top level:
  102. drivers/char/drm/gamma_old_dma.h:37: error: `DRM' declared as function returning a function
  103. drivers/char/drm/gamma_old_dma.h:37: warning: function declaration isn't a prototype
  104. drivers/char/drm/gamma_old_dma.h:37: error: redefinition of `DRM'
  105. drivers/char/drm/gamma_context.h:441: error: `DRM' previously defined here
  106. drivers/char/drm/gamma_old_dma.h: In function `DRM':
  107. drivers/char/drm/gamma_old_dma.h:38: error: `dev' undeclared (first use in this function)
  108. drivers/char/drm/gamma_old_dma.h:40: error: structure has no member named `next_buffer'
  109. drivers/char/drm/gamma_old_dma.h:41: error: structure has no member named `next_queue'
  110. drivers/char/drm/gamma_old_dma.h:41: error: structure has no member named `next_queue'
  111. drivers/char/drm/gamma_old_dma.h:41: error: structure has no member named `next_queue'
  112. drivers/char/drm/gamma_old_dma.h:41: error: structure has no member named `next_queue'
  113. drivers/char/drm/gamma_old_dma.h:41: error: structure has no member named `next_queue'
  114. drivers/char/drm/gamma_old_dma.h:41: error: structure has no member named `next_queue'
  115. drivers/char/drm/gamma_old_dma.h:42: error: structure has no member named `next_queue'
  116. drivers/char/drm/gamma_old_dma.h:44: error: structure has no member named `next_queue'
  117. drivers/char/drm/gamma_old_dma.h: At top level:
  118. drivers/char/drm/gamma_old_dma.h:48: error: `DRM' declared as function returning a function
  119. drivers/char/drm/gamma_old_dma.h:48: warning: function declaration isn't a prototype
  120. drivers/char/drm/gamma_old_dma.h:48: error: redefinition of `DRM'
  121. drivers/char/drm/gamma_old_dma.h:37: error: `DRM' previously defined here
  122. drivers/char/drm/gamma_old_dma.h: In function `DRM':
  123. drivers/char/drm/gamma_old_dma.h:53: error: `dev' undeclared (first use in this function)
  124. drivers/char/drm/gamma_old_dma.h:97: error: `wrapper' undeclared (first use in this function)
  125. drivers/char/drm/gamma_old_dma.h: At top level:
  126. drivers/char/drm/gamma_old_dma.h:116: error: `DRM' declared as function returning a function
  127. drivers/char/drm/gamma_old_dma.h:116: warning: function declaration isn't a prototype
  128. drivers/char/drm/gamma_old_dma.h:116: error: redefinition of `DRM'
  129. drivers/char/drm/gamma_old_dma.h:48: error: `DRM' previously defined here
  130. drivers/char/drm/gamma_old_dma.h: In function `DRM':
  131. drivers/char/drm/gamma_old_dma.h:117: error: `filp' undeclared (first use in this function)
  132. drivers/char/drm/gamma_old_dma.h:129: error: `d' undeclared (first use in this function)
  133. drivers/char/drm/gamma_old_dma.h:173: error: `alloc' undeclared (first use in this function)
  134. drivers/char/drm/gamma_old_dma.h:173: error: called object is not a function
  135. drivers/char/drm/gamma_old_dma.h:222: error: `free_buffer' undeclared (first use in this function)
  136. drivers/char/drm/gamma_old_dma.h:222: error: called object is not a function
  137. drivers/char/drm/gamma_old_dma.h:224: error: `waitlist_put' undeclared (first use in this function)
  138. drivers/char/drm/gamma_old_dma.h:224: error: called object is not a function
  139. drivers/char/drm/gamma_old_dma.h:233: error: `free' undeclared (first use in this function)
  140. drivers/char/drm/gamma_old_dma.h:233: error: called object is not a function
  141. drivers/char/drm/gamma_old_dma.h: At top level:
  142. drivers/char/drm/gamma_old_dma.h:240: error: `DRM' declared as function returning a function
  143. drivers/char/drm/gamma_old_dma.h:240: warning: function declaration isn't a prototype
  144. drivers/char/drm/gamma_old_dma.h:240: error: redefinition of `DRM'
  145. drivers/char/drm/gamma_old_dma.h:116: error: `DRM' previously defined here
  146. drivers/char/drm/gamma_old_dma.h:240: warning: `DRM' was declared `extern' and later `static'
  147. drivers/char/drm/gamma_old_dma.h: In function `DRM':
  148. drivers/char/drm/gamma_old_dma.h:241: error: `filp' undeclared (first use in this function)
  149. drivers/char/drm/gamma_old_dma.h:247: error: `d' undeclared (first use in this function)
  150. drivers/char/drm/gamma_old_dma.h:248: error: `freelist_get' undeclared (first use in this function)
  151. drivers/char/drm/gamma_old_dma.h:248: error: `order' undeclared (first use in this function)
  152. drivers/char/drm/gamma_old_dma.h:249: error: called object is not a function
  153. drivers/char/drm/gamma_old_dma.h: At top level:
  154. drivers/char/drm/gamma_old_dma.h:276: error: `DRM' declared as function returning a function
  155. drivers/char/drm/gamma_old_dma.h:276: warning: function declaration isn't a prototype
  156. drivers/char/drm/gamma_old_dma.h:276: error: redefinition of `DRM'
  157. drivers/char/drm/gamma_old_dma.h:240: error: `DRM' previously defined here
  158. drivers/char/drm/gamma_old_dma.h: In function `DRM':
  159. drivers/char/drm/gamma_old_dma.h:281: error: `dma' undeclared (first use in this function)
  160. drivers/char/drm/gamma_old_dma.h:281: error: called object is not a function
  161. drivers/char/drm/gamma_old_dma.h:284: error: `dma_get_buffers_of_order' undeclared (first use in this function)
  162. drivers/char/drm/gamma_old_dma.h:284: error: `filp' undeclared (first use in this function)
  163. drivers/char/drm/gamma_old_dma.h:284: error: called object is not a function
  164. drivers/char/drm/gamma_old_dma.h:295: error: called object is not a function
  165. drivers/char/drm/gamma_old_dma.h:308: error: called object is not a function
  166. drivers/char/drm/gamma_drv.c:45:26: drm_drawable.h: 没有那个文件或目录
  167. drivers/char/drm/gamma_drv.c:46:21: drm_drv.h: 没有那个文件或目录
  168. drivers/char/drm/gamma_drv.c:48:22: drm_fops.h: 没有那个文件或目录
  169. drivers/char/drm/gamma_drv.c:49:22: drm_init.h: 没有那个文件或目录
  170. drivers/char/drm/gamma_drv.c:50:23: drm_ioctl.h: 没有那个文件或目录
  171. drivers/char/drm/gamma_drv.c:51:21: drm_irq.h: 没有那个文件或目录
  172. In file included from drivers/char/drm/gamma_drv.c:52:
  173. drivers/char/drm/gamma_lists.h: At top level:
  174. drivers/char/drm/gamma_lists.h:36: error: `DRM' declared as function returning a function
  175. drivers/char/drm/gamma_lists.h:36: warning: function declaration isn't a prototype
  176. drivers/char/drm/gamma_lists.h:36: error: redefinition of `DRM'
  177. drivers/char/drm/gamma_old_dma.h:276: error: `DRM' previously defined here
  178. drivers/char/drm/gamma_lists.h: In function `DRM':
  179. drivers/char/drm/gamma_lists.h:37: error: `bl' undeclared (first use in this function)
  180. drivers/char/drm/gamma_lists.h:39: error: `alloc' undeclared (first use in this function)
  181. drivers/char/drm/gamma_lists.h:40: error: called object is not a function
  182. drivers/char/drm/gamma_lists.h:44: error: `count' undeclared (first use in this function)
  183. drivers/char/drm/gamma_lists.h: At top level:
  184. drivers/char/drm/gamma_lists.h:54: error: `DRM' declared as function returning a function
  185. drivers/char/drm/gamma_lists.h:54: warning: function declaration isn't a prototype
  186. drivers/char/drm/gamma_lists.h:54: error: redefinition of `DRM'
  187. drivers/char/drm/gamma_lists.h:36: error: `DRM' previously defined here
  188. drivers/char/drm/gamma_lists.h: In function `DRM':
  189. drivers/char/drm/gamma_lists.h:55: error: `bl' undeclared (first use in this function)
  190. drivers/char/drm/gamma_lists.h:56: error: `free' undeclared (first use in this function)
  191. drivers/char/drm/gamma_lists.h:58: error: called object is not a function
  192. drivers/char/drm/gamma_lists.h: At top level:
  193. drivers/char/drm/gamma_lists.h:68: error: `DRM' declared as function returning a function
  194. drivers/char/drm/gamma_lists.h:68: warning: function declaration isn't a prototype
  195. drivers/char/drm/gamma_lists.h:68: error: redefinition of `DRM'
  196. drivers/char/drm/gamma_lists.h:54: error: `DRM' previously defined here
  197. drivers/char/drm/gamma_lists.h: In function `DRM':
  198. drivers/char/drm/gamma_lists.h:72: error: `bl' undeclared (first use in this function)
  199. drivers/char/drm/gamma_lists.h:74: error: `buf' undeclared (first use in this function)
  200. drivers/char/drm/gamma_lists.h: At top level:
  201. drivers/char/drm/gamma_lists.h:89: error: `DRM' declared as function returning a function
  202. drivers/char/drm/gamma_lists.h:89: warning: function declaration isn't a prototype
  203. drivers/char/drm/gamma_lists.h:89: error: redefinition of `DRM'
  204. drivers/char/drm/gamma_lists.h:68: error: `DRM' previously defined here
  205. drivers/char/drm/gamma_lists.h: In function `DRM':
  206. drivers/char/drm/gamma_lists.h:93: error: `bl' undeclared (first use in this function)
  207. drivers/char/drm/gamma_lists.h:97: warning: return makes integer from pointer without a cast
  208. drivers/char/drm/gamma_lists.h:102: warning: return makes integer from pointer without a cast
  209. drivers/char/drm/gamma_lists.h: At top level:
  210. drivers/char/drm/gamma_lists.h:106: error: `DRM' declared as function returning a function
  211. drivers/char/drm/gamma_lists.h:106: warning: function declaration isn't a prototype
  212. drivers/char/drm/gamma_lists.h:106: error: redefinition of `DRM'
  213. drivers/char/drm/gamma_lists.h:89: error: `DRM' previously defined here
  214. drivers/char/drm/gamma_lists.h: In function `DRM':
  215. drivers/char/drm/gamma_lists.h:107: error: `bl' undeclared (first use in this function)
  216. drivers/char/drm/gamma_lists.h: At top level:
  217. drivers/char/drm/gamma_lists.h:119: error: `DRM' declared as function returning a function
  218. drivers/char/drm/gamma_lists.h:119: warning: function declaration isn't a prototype
  219. drivers/char/drm/gamma_lists.h:119: error: redefinition of `DRM'
  220. drivers/char/drm/gamma_lists.h:106: error: `DRM' previously defined here
  221. drivers/char/drm/gamma_lists.h: In function `DRM':
  222. drivers/char/drm/gamma_lists.h:120: error: `bl' undeclared (first use in this function)
  223. drivers/char/drm/gamma_lists.h: At top level:
  224. drivers/char/drm/gamma_lists.h:126: error: `DRM' declared as function returning a function
  225. drivers/char/drm/gamma_lists.h:126: warning: function declaration isn't a prototype
  226. drivers/char/drm/gamma_lists.h:126: error: redefinition of `DRM'
  227. drivers/char/drm/gamma_lists.h:119: error: `DRM' previously defined here
  228. drivers/char/drm/gamma_lists.h: In function `DRM':
  229. drivers/char/drm/gamma_lists.h:127: error: `dev' undeclared (first use in this function)
  230. drivers/char/drm/gamma_lists.h:134: error: `buf' undeclared (first use in this function)
  231. drivers/char/drm/gamma_lists.h:138: error: `bl' undeclared (first use in this function)
  232. drivers/char/drm/gamma_lists.h: At top level:
  233. drivers/char/drm/gamma_lists.h:161: error: `DRM' declared as function returning a function
  234. drivers/char/drm/gamma_lists.h:161: warning: function declaration isn't a prototype
  235. drivers/char/drm/gamma_lists.h:161: error: redefinition of `DRM'
  236. drivers/char/drm/gamma_lists.h:126: error: `DRM' previously defined here
  237. drivers/char/drm/gamma_lists.h:161: warning: `DRM' was declared `extern' and later `static'
  238. drivers/char/drm/gamma_lists.h: In function `DRM':
  239. drivers/char/drm/gamma_lists.h:164: error: `bl' undeclared (first use in this function)
  240. drivers/char/drm/gamma_lists.h:164: warning: return makes integer from pointer without a cast
  241. drivers/char/drm/gamma_lists.h:170: warning: return makes integer from pointer without a cast
  242. drivers/char/drm/gamma_lists.h:184: warning: return makes integer from pointer without a cast
  243. drivers/char/drm/gamma_lists.h: At top level:
  244. drivers/char/drm/gamma_lists.h:188: error: `DRM' declared as function returning a function
  245. drivers/char/drm/gamma_lists.h:188: warning: function declaration isn't a prototype
  246. drivers/char/drm/gamma_lists.h:188: error: redefinition of `DRM'
  247. drivers/char/drm/gamma_lists.h:161: error: `DRM' previously defined here
  248. drivers/char/drm/gamma_lists.h: In function `DRM':
  249. drivers/char/drm/gamma_lists.h:192: error: `bl' undeclared (first use in this function)
  250. drivers/char/drm/gamma_lists.h:192: warning: return makes integer from pointer without a cast
  251. drivers/char/drm/gamma_lists.h:198: error: `block' undeclared (first use in this function)
  252. drivers/char/drm/gamma_lists.h:203: error: `freelist_try' undeclared (first use in this function)
  253. drivers/char/drm/gamma_lists.h:203: error: called object is not a function
  254. drivers/char/drm/gamma_lists.h:210: warning: return makes integer from pointer without a cast
  255. drivers/char/drm/gamma_lists.h:213: error: called object is not a function
  256. drivers/char/drm/gamma_drv.c:53:22: drm_lock.h: 没有那个文件或目录
  257. In file included from drivers/char/drm/gamma_drv.c:54:
  258. drivers/char/drm/gamma_lock.h: At top level:
  259. drivers/char/drm/gamma_lock.h:36: error: `DRM' declared as function returning a function
  260. drivers/char/drm/gamma_lock.h:36: warning: function declaration isn't a prototype
  261. drivers/char/drm/gamma_lock.h:36: error: redefinition of `DRM'
  262. drivers/char/drm/gamma_lists.h:188: error: `DRM' previously defined here
  263. drivers/char/drm/gamma_lock.h:36: warning: `DRM' was declared `extern' and later `static'
  264. drivers/char/drm/gamma_lock.h: In function `DRM':
  265. drivers/char/drm/gamma_lock.h:39: error: `dev' undeclared (first use in this function)
  266. drivers/char/drm/gamma_lock.h:39: error: `context' undeclared (first use in this function)
  267. drivers/char/drm/gamma_lock.h: At top level:
  268. drivers/char/drm/gamma_lock.h:69: error: `DRM' declared as function returning a function
  269. drivers/char/drm/gamma_lock.h:69: warning: function declaration isn't a prototype
  270. drivers/char/drm/gamma_lock.h:69: error: redefinition of `DRM'
  271. drivers/char/drm/gamma_lock.h:36: error: `DRM' previously defined here
  272. drivers/char/drm/gamma_lock.h:69: warning: `DRM' was declared `extern' and later `static'
  273. drivers/char/drm/gamma_lock.h: In function `DRM':
  274. drivers/char/drm/gamma_lock.h:70: error: `dev' undeclared (first use in this function)
  275. drivers/char/drm/gamma_lock.h:70: error: `context' undeclared (first use in this function)
  276. drivers/char/drm/gamma_lock.h: At top level:
  277. drivers/char/drm/gamma_lock.h:87: error: `DRM' declared as function returning a function
  278. drivers/char/drm/gamma_lock.h:87: warning: function declaration isn't a prototype
  279. drivers/char/drm/gamma_lock.h:87: error: redefinition of `DRM'
  280. drivers/char/drm/gamma_lock.h:69: error: `DRM' previously defined here
  281. drivers/char/drm/gamma_lock.h: In function `DRM':
  282. drivers/char/drm/gamma_lock.h:93: error: `flags' undeclared (first use in this function)
  283. drivers/char/drm/gamma_lock.h:94: error: `flush_queue' undeclared (first use in this function)
  284. drivers/char/drm/gamma_lock.h:94: error: `dev' undeclared (first use in this function)
  285. drivers/char/drm/gamma_lock.h:94: error: called object is not a function
  286. drivers/char/drm/gamma_lock.h:95: error: `context' undeclared (first use in this function)
  287. drivers/char/drm/gamma_lock.h:95: error: called object is not a function
  288. drivers/char/drm/gamma_lock.h:99: error: called object is not a function
  289. drivers/char/drm/gamma_lock.h: At top level:
  290. drivers/char/drm/gamma_lock.h:106: error: `DRM' declared as function returning a function
  291. drivers/char/drm/gamma_lock.h:106: warning: function declaration isn't a prototype
  292. drivers/char/drm/gamma_lock.h:106: error: redefinition of `DRM'
  293. drivers/char/drm/gamma_lock.h:87: error: `DRM' previously defined here
  294. drivers/char/drm/gamma_lock.h: In function `DRM':
  295. drivers/char/drm/gamma_lock.h:112: error: `flags' undeclared (first use in this function)
  296. drivers/char/drm/gamma_lock.h:113: error: `flush_unblock_queue' undeclared (first use in this function)
  297. drivers/char/drm/gamma_lock.h:113: error: `dev' undeclared (first use in this function)
  298. drivers/char/drm/gamma_lock.h:113: error: called object is not a function
  299. drivers/char/drm/gamma_lock.h:114: error: `context' undeclared (first use in this function)
  300. drivers/char/drm/gamma_lock.h:114: error: called object is not a function
  301. drivers/char/drm/gamma_lock.h:118: error: called object is not a function
  302. drivers/char/drm/gamma_lock.h: At top level:
  303. drivers/char/drm/gamma_lock.h:127: error: `DRM' declared as function returning a function
  304. drivers/char/drm/gamma_lock.h:127: warning: function declaration isn't a prototype
  305. drivers/char/drm/gamma_lock.h:127: error: redefinition of `DRM'
  306. drivers/char/drm/gamma_lock.h:106: error: `DRM' previously defined here
  307. drivers/char/drm/gamma_lock.h: In function `DRM':
  308. drivers/char/drm/gamma_lock.h:128: error: `filp' undeclared (first use in this function)
  309. drivers/char/drm/gamma_lock.h:135: error: `arg' undeclared (first use in this function)
  310. drivers/char/drm/gamma_lock.h:137: error: `flush_block_and_flush' undeclared (first use in this function)
  311. drivers/char/drm/gamma_lock.h:137: error: called object is not a function
  312. drivers/char/drm/gamma_lock.h:138: error: `flush_unblock' undeclared (first use in this function)
  313. drivers/char/drm/gamma_lock.h:138: error: called object is not a function
  314. In file included from drivers/char/drm/gamma_drv.c:55:
  315. drivers/char/drm/drm_memory.h: At top level:
  316. drivers/char/drm/drm_memory.h:65: error: redefinition of `drm_lookup_map'
  317. drivers/char/drm/drm_memory.h:65: error: `drm_lookup_map' previously defined here
  318. drivers/char/drm/drm_memory.h:83: error: redefinition of `agp_remap'
  319. drivers/char/drm/drm_memory.h:83: error: `agp_remap' previously defined here
  320. drivers/char/drm/drm_memory.h:123: error: redefinition of `drm_follow_page'
  321. drivers/char/drm/drm_memory.h:123: error: `drm_follow_page' previously defined here
  322. drivers/char/drm/drm_memory.h:151: error: redefinition of `drm_ioremap'
  323. drivers/char/drm/drm_memory.h:151: error: `drm_ioremap' previously defined here
  324. drivers/char/drm/drm_memory.h:163: error: redefinition of `drm_ioremap_nocache'
  325. drivers/char/drm/drm_memory.h:163: error: `drm_ioremap_nocache' previously defined here
  326. drivers/char/drm/drm_memory.h:174: error: redefinition of `drm_ioremapfree'
  327. drivers/char/drm/drm_memory.h:174: error: `drm_ioremapfree' previously defined here
  328. drivers/char/drm/gamma_drv.c:56:22: drm_proc.h: 没有那个文件或目录
  329. drivers/char/drm/gamma_drv.c:57:20: drm_vm.h: 没有那个文件或目录
  330. drivers/char/drm/gamma_drv.c:58:22: drm_stub.h: 没有那个文件或目录
  331. drivers/char/drm/gamma_drv.c:59:25: drm_scatter.h: 没有那个文件或目录
  332. drivers/char/drm/gamma_lists.h:161: warning: `DRM' defined but not used
  333. drivers/char/drm/gamma_lock.h:36: warning: `DRM' defined but not used
  334. drivers/char/drm/gamma_lock.h:69: warning: `DRM' defined but not used
  335. make[3]: *** [drivers/char/drm/gamma_drv.o] 错误 1
  336. make[2]: *** [drivers/char/drm] 错误 2
  337. make[1]: *** [drivers/char] 错误 2
  338. make: *** [drivers] 错误 2

复制代码


帮帮忙,谢谢。。
发表于 2005-5-16 08:03:23 | 显示全部楼层
我的问题和你一样,但是还没解决。
那位高手们指点一下呀?
回复 支持 反对

使用道具 举报

发表于 2005-10-25 14:11:44 | 显示全部楼层
顶一下
同样错误
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表