LINUX.ORG.RU

Не компилится ядро.


0

0

Качал ядро 2.6.13.1 с kernel.org. При компиляции модулей выадет следующее (часть сообщения пришлось выкинуть):

drivers/char/drm/gamma_drv.c:33:19: error: gamma.h: Нет такого файла или каталога
In file included from drivers/char/drm/gamma_drv.c:37:
drivers/char/drm/gamma_drv.h:66: error: ‘DRM’ declared as function returning a function
drivers/char/drm/gamma_drv.h:66: warning: parameter names (without types) in function declaration
drivers/char/drm/gamma_drv.h:68: error: ‘DRM’ declared as function returning a function
drivers/char/drm/gamma_drv.h:68: warning: parameter names (without types) in function declaration
drivers/char/drm/gamma_drv.h:70: error: ‘DRM’ declared as function returning a function
<...>
drivers/char/drm/gamma_lock.h:114: error: called object &#8216;DRM(<erroneous-expression>)&#8217; is not a function
drivers/char/drm/gamma_lock.h:118: error: called object &#8216;DRM(<erroneous-expression>)&#8217; is not a function
drivers/char/drm/gamma_lock.h: At top level:
drivers/char/drm/gamma_lock.h:127: error: &#8216;DRM&#8217; declared as function returning a function
drivers/char/drm/gamma_lock.h:127: warning: function declaration isn&#8217;t a prototype
drivers/char/drm/gamma_lock.h:127: error: redefinition of &#8216;DRM&#8217;
drivers/char/drm/gamma_context.h:96: error: previous definition of &#8216;DRM&#8217; was here
drivers/char/drm/gamma_lock.h: In function &#8216;DRM&#8217;:
drivers/char/drm/gamma_lock.h:128: error: &#8216;filp&#8217; undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:129: error: &#8216;struct drm_file&#8217; has no member named &#8216;dev&#8217;
drivers/char/drm/gamma_lock.h:135: error: &#8216;arg&#8217; undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:137: error: &#8216;flush_block_and_flush&#8217; undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:137: error: called object &#8216;DRM(<erroneous-expression>)&#8217; is not a function
drivers/char/drm/gamma_lock.h:138: error: &#8216;flush_unblock&#8217; undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:138: error: called object &#8216;DRM(<erroneous-expression>)&#8217; is not a function
drivers/char/drm/gamma_drv.c:56:22: error: drm_proc.h: Нет такого файла или каталога
drivers/char/drm/gamma_drv.c:57:20: error: drm_vm.h: Нет такого файла или каталога
drivers/char/drm/gamma_drv.c:58:22: error: drm_stub.h: Нет такого файла или каталога
drivers/char/drm/gamma_drv.c:59:25: error: drm_scatter.h: Нет такого файла или каталога
make[3]: *** [drivers/char/drm/gamma_drv.o] Ошибка 1
make[2]: *** [drivers/char/drm] Ошибка 2
make[1]: *** [drivers/char] Ошибка 2
make: *** [drivers] Ошибка 2

anonymous
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.