QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 954|回复: 1

编译内核遇到的问题?

[复制链接]
发表于 2004-12-23 10:00:29 | 显示全部楼层 |阅读模式
我装的是debian sarge,现在的内核是2.6.8.1-386,想升级到2.6.9,因此下载了kernel source 2.6.9,编译所需的依赖包版本(gcc、make等)已经全部检查过,都符合,但在make 这一步总是有这样的提示:

  CC [M]  drivers/char/drm/gamma_drv.o
In file included from drivers/char/drm/gamma_drv.c:42:
drivers/char/drm/gamma_context.h: In function `gamma_context_switch_complete':
drivers/char/drm/gamma_context.h:193: error: structure has no member named `next_buffer'
drivers/char/drm/gamma_context.h:193: error: structure has no member named `next_buffer'
In file included from drivers/char/drm/gamma_drv.c:44:
drivers/char/drm/gamma_old_dma.h: In function `gamma_clear_next_buffer':
drivers/char/drm/gamma_old_dma.h:40: error: structure has no member named `next_buffer'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member named `next_queue'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member named `next_queue'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member named `next_queue'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member named `next_queue'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member named `next_queue'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member named `next_queue'
drivers/char/drm/gamma_old_dma.h:42: error: structure has no member named `next_queue'
drivers/char/drm/gamma_old_dma.h:44: error: structure has no member named `next_queue'
In file included from drivers/char/drm/gamma_drv.c:46:
drivers/char/drm/drm_drv.h: In function `gamma_release':
drivers/char/drm/drm_drv.h:808: warning: implicit declaration of function `gamma_ctxbitmap_free'
make[3]: *** [drivers/char/drm/gamma_drv.o] 错误 1
make[2]: *** [drivers/char/drm] 错误 2
make[1]: *** [drivers/char] 错误 2
make: *** [drivers] 错误 2

怎么回事?这样可以继续执行后续的编译步骤吗,例如make modules?还是等到没错了再继续执行?

刚上手linux,比较菜。
发表于 2004-12-23 13:44:08 | 显示全部楼层
内核配置有问题?

干脆去掉 DRI 支持得了
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-2 14:29 , Processed in 0.035319 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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