[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: сборка модуля для ядра 2.6.15



vvv7027@mail.ru wrote:
Добрый день.

Собираю модуль для звуковой катры для самосборного ядра 2.6.15 c kernel.org.

make вылетает с ошибками:

hwdep.c:40: error: syntax error before string constant
hwdep.c:40: warning: type defaults to `int' in declaration of `__MODULE_INFO'
hwdep.c:40: warning: function declaration isn't a prototype
hwdep.c:40: warning: data definition has no type or storage class
hwdep.c:41: error: syntax error before string constant
hwdep.c:41: warning: type defaults to `int' in declaration of `__MODULE_INFO'
hwdep.c:41: warning: function declaration isn't a prototype
hwdep.c:41: warning: data definition has no type or storage clas

на строках с описанием модуля:

  MODULE_AUTHOR("Jaroslav Kysela <perex@suse.cz>");
  MODULE_DESCRIPTION("Hardware dependent layer");



Тот же самый модуль собирается нормально с родным ядром 2.6.8,
система Debian Sarge(stable).

Все необходимые .h файлы включаются, уже и не знаю где искать.

Спасибо!


какая версия компилятора?

--
Sergio.



Reply to: