免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1265 | 回复: 3
打印 上一主题 下一主题

熟悉 debina 2.6 重内编内核的--请进来??? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-03-08 22:55 |只看该作者 |倒序浏览
--------------------------------------------------------------------------------

drivers/char/drm/gamma_context.h:193: error: structure has no member named `next_buffer'

drivers/char/drm/gamma_context.h:207: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_context.h:207: warning: function declaration isn't a prototype
drivers/char/drm/gamma_context.h:207: error: redefinition of `DRM'
drivers/char/drm/gamma_context.h:183: error: `DRM' previously defined here
drivers/char/drm/gamma_context.h:207: warning: `DRM' was declared `extern' and later `static'
drivers/char/drm/gamma_context.h: In function `DRM':
drivers/char/drm/gamma_context.h:210: error: `q' undeclared (first use in this function)
function)
drivers/char/drm/gamma_context.h:233: error: `dev' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:233: error: called object is not a function
drivers/char/drm/gamma_context.h: At top level:
drivers/char/drm/gamma_context.h:249: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_context.h:249: warning: function declaration isn't a prototype
drivers/char/drm/gamma_context.h:249: error: redefinition of `DRM'
static'
drivers/char/drm/gamma_context.h: In function `DRM':
drivers/char/drm/gamma_context.h:255: error: `dev' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:267: error: `alloc' undeclared (first use in this function)
)
drivers/char/drm/gamma_context.h:281: error: called object is not a function
drivers/char/drm/gamma_context.h: At top level:
drivers/char/drm/gamma_context.h:297: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_context.h:297: warning: function declaration isn't a prototype
drivers/char/drm/gamma_context.h:297: error: redefinition of `DRM'
drivers/char/drm/gamma_context.h:249: error: `DRM' previously defined here
drivers/char/drm/gamma_context.h: In function `DRM':
drivers/char/drm/gamma_context.h:298: error: `arg' undeclared (first use in this function)
drivers/char/drm/gamma_context.h: At top level:
drivers/char/drm/gamma_context.h:324: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_context.h:324: warning: function declaration isn't a prototype
drivers/char/drm/gamma_context.h:324: error: redefinition of `DRM'
drivers/char/drm/gamma_context.h:297: error: `DRM' previously defined here
drivers/char/drm/gamma_context.h: In function `DRM':
drivers/char/drm/gamma_context.h:325: error: `filp' undeclared (first use in this function)
)

drivers/char/drm/gamma_old_dma.h:44: error: structure has no member named `next_queue'
drivers/char/drm/gamma_old_dma.h: At top level:
drivers/char/drm/gamma_old_dma.h:48: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_old_dma.h:48: warning: function declaration isn't a prototype
drivers/char/drm/gamma_old_dma.h:48: error: redefinition of `DRM'

drivers/char/drm/gamma_old_dma.h:173: error: called object is not a function
drivers/char/drm/gamma_old_dma.h:222: error: `free_buffer' undeclared (first use in this function)
drivers/char/drm/gamma_old_dma.h:222: error: called object is not a function
drivers/char/drm/gamma_old_dma.h:224: error: `waitlist_put' undeclared (first use in this function)
drivers/char/drm/gamma_old_dma.h:224: error: called object is not a function
drivers/char/drm/gamma_old_dma.h:233: error: `free' undeclared (first use in this function)
drivers/char/drm/gamma_old_dma.h:233: error: called object is not a function
drivers/char/drm/gamma_old_dma.h: At top level:
drivers/char/drm/gamma_old_dma.h:240: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_old_dma.h:240: warning: function declaration isn't a prototype
drivers/char/drm/gamma_old_dma.h:240: error: redefinition of `DRM'
drivers/char/drm/gamma_old_dma.h:116: error: `DRM' previously defined here
drivers/char/drm/gamma_old_dma.h:240: warning: `DRM' was declared `extern' and later `static'
drivers/char/drm/gamma_old_dma.h: In function `DRM':
drivers/char/drm/gamma_old_dma.h:241: error: `filp' undeclared (first use in this function)
drivers/char/drm/gamma_old_dma.h:247: error: `d' undeclared (first use in this function)
drivers/char/drm/gamma_old_dma.h:248: error: `freelist_get' undeclared (first use in this function)
drivers/char/drm/gamma_old_dma.h:248: error: `order' undeclared (first use in this function)
drivers/char/drm/gamma_old_dma.h:249: error: called object is not a function
drivers/char/drm/gamma_old_dma.h: At top level:
drivers/char/drm/gamma_old_dma.h:276: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_old_dma.h:276: warning: function declaration isn't a prototype
drivers/char/drm/gamma_old_dma.h:276: error: redefinition of `DRM'
drivers/char/drm/gamma_old_dma.h:240: error: `DRM' previously defined here
drivers/char/drm/gamma_old_dma.h: In function `DRM':
drivers/char/drm/gamma_old_dma.h:281: error: `dma' undeclared (first use in this function)
drivers/char/drm/gamma_old_dma.h:281: error: called object is not a function
drivers/char/drm/gamma_old_dma.h:284: error: `dma_get_buffers_of_order' undeclared (first use in this function)
drivers/char/drm/gamma_old_dma.h:284: error: `filp' undeclared (first use in this function)
drivers/char/drm/gamma_old_dma.h:284: error: called object is not a function
drivers/char/drm/gamma_old_dma.h:295: error: called object is not a function
drivers/char/drm/gamma_old_dma.h:308: error: called object is not a function
drivers/char/drm/gamma_drv.c:45:26: drm_drawable.h: 没有那个文件或目录
drivers/char/drm/gamma_drv.c:46:21: drm_drv.h: 没有那个文件或目录
drivers/char/drm/gamma_drv.c:48:22: drm_fops.h: 没有那个文件或目录
drivers/char/drm/gamma_drv.c:49:22: drm_init.h: 没有那个文件或目录
drivers/char/drm/gamma_drv.c:50:23: drm_ioctl.h: 没有那个文件或目录
drivers/char/drm/gamma_drv.c:51:21: drm_irq.h: 没有那个文件或目录
In file included from drivers/char/drm/gamma_drv.c:52:
drivers/char/drm/gamma_lists.h: At top level:
drivers/char/drm/gamma_lists.h:36: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lists.h:36: warning: function declaration isn't a prototype
drivers/char/drm/gamma_lists.h:36: error: redefinition of `DRM'
drivers/char/drm/gamma_old_dma.h:276: error: `DRM' previously defined here
drivers/char/drm/gamma_lists.h: In function `DRM':
drivers/char/drm/gamma_lists.h:37: error: `bl' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h:39: error: `alloc' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h:40: error: called object is not a function
drivers/char/drm/gamma_lists.h:44: error: `count' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h: At top level:
drivers/char/drm/gamma_lists.h:54: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lists.h:54: warning: function declaration isn't a prototype
drivers/char/drm/gamma_lists.h:54: error: redefinition of `DRM'
drivers/char/drm/gamma_lists.h:36: error: `DRM' previously defined here
drivers/char/drm/gamma_lists.h: In function `DRM':
drivers/char/drm/gamma_lists.h:55: error: `bl' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h:56: error: `free' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h:58: error: called object is not a function
drivers/char/drm/gamma_lists.h: At top level:
drivers/char/drm/gamma_lists.h:68: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lists.h:68: warning: function declaration isn't a prototype
drivers/char/drm/gamma_lists.h:68: error: redefinition of `DRM'
drivers/char/drm/gamma_lists.h:54: error: `DRM' previously defined here
drivers/char/drm/gamma_lists.h: In function `DRM':
drivers/char/drm/gamma_lists.h:72: error: `bl' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h:74: error: `buf' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h: At top level:
drivers/char/drm/gamma_lists.h:89: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lists.h:89: warning: function declaration isn't a prototype
drivers/char/drm/gamma_lists.h:89: error: redefinition of `DRM'
drivers/char/drm/gamma_lists.h:68: error: `DRM' previously defined here
drivers/char/drm/gamma_lists.h: In function `DRM':
drivers/char/drm/gamma_lists.h:93: error: `bl' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h:97: warning: return makes integer from pointer without a cast
drivers/char/drm/gamma_lists.h:102: warning: return makes integer from pointer without a cast
drivers/char/drm/gamma_lists.h: At top level:
drivers/char/drm/gamma_lists.h:106: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lists.h:106: warning: function declaration isn't a prototype
drivers/char/drm/gamma_lists.h:106: error: redefinition of `DRM'
drivers/char/drm/gamma_lists.h:89: error: `DRM' previously defined here
drivers/char/drm/gamma_lists.h: In function `DRM':
drivers/char/drm/gamma_lists.h:107: error: `bl' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h: At top level:
drivers/char/drm/gamma_lists.h:119: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lists.h:119: warning: function declaration isn't a prototype
drivers/char/drm/gamma_lists.h:119: error: redefinition of `DRM'
drivers/char/drm/gamma_lists.h:106: error: `DRM' previously defined here
drivers/char/drm/gamma_lists.h: In function `DRM':
drivers/char/drm/gamma_lists.h:120: error: `bl' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h: At top level:
drivers/char/drm/gamma_lists.h:126: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lists.h:126: warning: function declaration isn't a prototype
drivers/char/drm/gamma_lists.h:126: error: redefinition of `DRM'
drivers/char/drm/gamma_lists.h:119: error: `DRM' previously defined here
drivers/char/drm/gamma_lists.h: In function `DRM':
drivers/char/drm/gamma_lists.h:127: error: `dev' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h:134: error: `buf' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h:138: error: `bl' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h: At top level:
drivers/char/drm/gamma_lists.h:161: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lists.h:161: warning: function declaration isn't a prototype
drivers/char/drm/gamma_lists.h:161: error: redefinition of `DRM'
drivers/char/drm/gamma_lists.h:126: error: `DRM' previously defined here
drivers/char/drm/gamma_lists.h:161: warning: `DRM' was declared `extern' and later `static'
drivers/char/drm/gamma_lists.h: In function `DRM':
drivers/char/drm/gamma_lists.h:164: error: `bl' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h:164: warning: return makes integer from pointer without a cast
drivers/char/drm/gamma_lists.h:170: warning: return makes integer from pointer without a cast
drivers/char/drm/gamma_lists.h:184: warning: return makes integer from pointer without a cast
drivers/char/drm/gamma_lists.h: At top level:
drivers/char/drm/gamma_lists.h:188: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lists.h:188: warning: function declaration isn't a prototype
drivers/char/drm/gamma_lists.h:188: error: redefinition of `DRM'
drivers/char/drm/gamma_lists.h:161: error: `DRM' previously defined here
drivers/char/drm/gamma_lists.h: In function `DRM':
drivers/char/drm/gamma_lists.h:192: error: `bl' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h:192: warning: return makes integer from pointer without a cast
drivers/char/drm/gamma_lists.h:198: error: `block' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h:203: error: `freelist_try' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h:203: error: called object is not a function
drivers/char/drm/gamma_lists.h:210: warning: return makes integer from pointer without a cast
drivers/char/drm/gamma_lists.h:213: error: called object is not a function
drivers/char/drm/gamma_drv.c:53:22: drm_lock.h: 没有那个文件或目录
In file included from drivers/char/drm/gamma_drv.c:54:
drivers/char/drm/gamma_lock.h: At top level:
drivers/char/drm/gamma_lock.h:36: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lock.h:36: warning: function declaration isn't a prototype
drivers/char/drm/gamma_lock.h:36: error: redefinition of `DRM'
drivers/char/drm/gamma_lists.h:188: error: `DRM' previously defined here
drivers/char/drm/gamma_lock.h:36: warning: `DRM' was declared `extern' and later `static'
drivers/char/drm/gamma_lock.h: In function `DRM':
drivers/char/drm/gamma_lock.h:39: error: `dev' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:39: error: `context' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h: At top level:
drivers/char/drm/gamma_lock.h:69: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lock.h:69: warning: function declaration isn't a prototype
drivers/char/drm/gamma_lock.h:69: error: redefinition of `DRM'
drivers/char/drm/gamma_lock.h:36: error: `DRM' previously defined here
drivers/char/drm/gamma_lock.h:69: warning: `DRM' was declared `extern' and later `static'
drivers/char/drm/gamma_lock.h: In function `DRM':
drivers/char/drm/gamma_lock.h:70: error: `dev' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:70: error: `context' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h: At top level:
drivers/char/drm/gamma_lock.h:87: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lock.h:87: warning: function declaration isn't a prototype
drivers/char/drm/gamma_lock.h:87: error: redefinition of `DRM'
drivers/char/drm/gamma_lock.h:69: error: `DRM' previously defined here
drivers/char/drm/gamma_lock.h: In function `DRM':
drivers/char/drm/gamma_lock.h:93: error: `flags' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:94: error: `flush_queue' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:94: error: `dev' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:94: error: called object is not a function
drivers/char/drm/gamma_lock.h:95: error: `context' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:95: error: called object is not a function
drivers/char/drm/gamma_lock.h:99: error: called object is not a function
drivers/char/drm/gamma_lock.h: At top level:
drivers/char/drm/gamma_lock.h:106: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lock.h:106: warning: function declaration isn't a prototype
drivers/char/drm/gamma_lock.h:106: error: redefinition of `DRM'
drivers/char/drm/gamma_lock.h:87: error: `DRM' previously defined here
drivers/char/drm/gamma_lock.h: In function `DRM':
drivers/char/drm/gamma_lock.h:112: error: `flags' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:113: error: `flush_unblock_queue' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:113: error: `dev' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:113: error: called object is not a function
drivers/char/drm/gamma_lock.h:114: error: `context' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:114: error: called object is not a function
drivers/char/drm/gamma_lock.h:118: error: called object is not a function
drivers/char/drm/gamma_lock.h: At top level:
drivers/char/drm/gamma_lock.h:127: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lock.h:127: warning: function declaration isn't a prototype
drivers/char/drm/gamma_lock.h:127: error: redefinition of `DRM'
drivers/char/drm/gamma_lock.h:106: error: `DRM' previously defined here
drivers/char/drm/gamma_lock.h: In function `DRM':
drivers/char/drm/gamma_lock.h:128: error: `filp' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:135: error: `arg' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:137: error: `flush_block_and_flush' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:137: error: called object is not a function
drivers/char/drm/gamma_lock.h:138: error: `flush_unblock' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:138: error: called object is not a function
In file included from drivers/char/drm/gamma_drv.c:55:
drivers/char/drm/drm_memory.h: At top level:
drivers/char/drm/drm_memory.h:65: error: redefinition of `drm_lookup_map'
drivers/char/drm/drm_memory.h:65: error: `drm_lookup_map' previously defined here
drivers/char/drm/drm_memory.h:83: error: redefinition of `agp_remap'
drivers/char/drm/drm_memory.h:83: error: `agp_remap' previously defined here
drivers/char/drm/drm_memory.h:123: error: redefinition of `drm_follow_page'
drivers/char/drm/drm_memory.h:123: error: `drm_follow_page' previously defined here
drivers/char/drm/drm_memory.h:151: error: redefinition of `drm_ioremap'
drivers/char/drm/drm_memory.h:151: error: `drm_ioremap' previously defined here
drivers/char/drm/drm_memory.h:163: error: redefinition of `drm_ioremap_nocache'
drivers/char/drm/drm_memory.h:163: error: `drm_ioremap_nocache' previously defined here
drivers/char/drm/drm_memory.h:174: error: redefinition of `drm_ioremapfree'
drivers/char/drm/drm_memory.h:174: error: `drm_ioremapfree' previously defined here
drivers/char/drm/gamma_drv.c:56:22: drm_proc.h: 没有那个文件或目录
drivers/char/drm/gamma_lists.h:161: warning: `DRM' defined but not used
drivers/char/drm/gamma_lock.h:36: warning: `DRM' defined but not used
drivers/char/drm/gamma_lock.h:69: warning: `DRM' defined but not used
make[3]: *** [drivers/char/drm/gamma_drv.o] 错误 1
make[2]: *** [drivers/char/drm] 错误 2
make[1]: *** [drivers/char] 错误 2
make: *** [drivers] 错误 2

下载的是
2.6.11.2 内核在deiban 上编译

#cd linux-2.6.11.2
# make menuconfig 配置好了内核
#make 为什么到了这步就出现上面的错啊。。
就MAKE 不下去。。。。。

有哪位朋友知道原因。。帮帮忙。。。。。。。。

论坛徽章:
0
2 [报告]
发表于 2006-03-08 23:25 |只看该作者
不了解  但要顶一下

论坛徽章:
0
3 [报告]
发表于 2006-03-09 00:15 |只看该作者
先 make mrproper 的吧?

论坛徽章:
0
4 [报告]
发表于 2006-03-09 09:43 |只看该作者
不太了解这个。。先按照上楼的意见看看!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP