[Comm] собрать kernel-source-martian

Yury Konovalov speccyfan на gmail.com
Чт Авг 6 17:50:21 MSD 2009


Сабж реально?


[root на sf kmodule]# make
make -C /lib/modules/2.6.25-std-def-alt8.M41.4/build
M="/usr/src/kernel-source-martian-20061203/kmodule"  modules
make[1]: Entering directory `/usr/src/linux-2.6.25-std-def-alt8.M41.4'
  CC [M]  /usr/src/kernel-source-martian-20061203/kmodule/martian.o
In file included from
/usr/src/kernel-source-martian-20061203/kmodule/kmartian.h:12,
                 from
/usr/src/kernel-source-martian-20061203/kmodule/martian.c:62:
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:18: error: expected
declaration specifiers or '...' before '*' token
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:18: error:
'fastcall' declared as function returning a function
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:18: warning:
function declaration isn't a prototype
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:18: error: field
'fastcall' declared as a function
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:19: error: expected
declaration specifiers or '...' before '*' token
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:19: error:
'fastcall' declared as function returning a function
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:19: warning:
function declaration isn't a prototype
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:19: error: field
'fastcall' declared as a function
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:21: error: expected
declaration specifiers or '...' before '(' token
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:21: warning:
function declaration isn't a prototype
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:21: error: field
'FASTCALL' declared as a function
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:22: error: expected
declaration specifiers or '...' before '(' token
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:22: warning:
function declaration isn't a prototype
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:22: error: field
'FASTCALL' declared as a function
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:19: error: duplicate
member 'fastcall'
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:22: error: duplicate
member 'FASTCALL'
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h: In function
'mfifo_next':
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:45: error: 'struct
mfifo_ops' has no member named 'wrap'
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h: In function
'mfifo_put':
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:52: error: 'struct
mfifo_ops' has no member named 'set'
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:54: error: 'struct
mfifo_ops' has no member named 'wrap'
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h: In function
'mfifo_full':
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:62: error: 'struct
mfifo_ops' has no member named 'space'
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h: In function
'mfifo_get':
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:78: error: 'struct
mfifo_ops' has no member named 'get'
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:81: error: 'struct
mfifo_ops' has no member named 'wrap'
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h: In function
'mfifo_lastwr':
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:87: error: 'struct
mfifo_ops' has no member named 'wrap'
In file included from
/usr/src/kernel-source-martian-20061203/kmodule/martian.c:64:
/usr/src/kernel-source-martian-20061203/kmodule/marsio.h: At top level:
/usr/src/kernel-source-martian-20061203/kmodule/marsio.h:8: error: expected
')' before '(' token
/usr/src/kernel-source-martian-20061203/kmodule/marsio.h:9: error: expected
')' before '(' token
/usr/src/kernel-source-martian-20061203/kmodule/marsio.h:10: error: expected
')' before '(' token
/usr/src/kernel-source-martian-20061203/kmodule/marsio.h:11: error: expected
')' before '(' token
/usr/src/kernel-source-martian-20061203/kmodule/martian.c: In function
'martian_isr':
/usr/src/kernel-source-martian-20061203/kmodule/martian.c:119: error:
implicit declaration of function 'mars_read_register'
/usr/src/kernel-source-martian-20061203/kmodule/martian.c:131: error:
implicit declaration of function 'mars_write_register'
/usr/src/kernel-source-martian-20061203/kmodule/martian.c:139: error:
implicit declaration of function 'mars_write_word'
/usr/src/kernel-source-martian-20061203/kmodule/martian.c:160: error:
implicit declaration of function 'process_stream'
/usr/src/kernel-source-martian-20061203/kmodule/martian.c:160: warning:
value computed is not used
/usr/src/kernel-source-martian-20061203/kmodule/martian.c: In function
'martian_add':
/usr/src/kernel-source-martian-20061203/kmodule/martian.c:659: error:
'SA_INTERRUPT' undeclared (first use in this function)
/usr/src/kernel-source-martian-20061203/kmodule/martian.c:659: error: (Each
undeclared identifier is reported only once
/usr/src/kernel-source-martian-20061203/kmodule/martian.c:659: error: for
each function it appears in.)
/usr/src/kernel-source-martian-20061203/kmodule/martian.c:659: error:
'SA_SHIRQ' undeclared (first use in this function)
/usr/src/kernel-source-martian-20061203/kmodule/martian.c:662: warning:
passing argument 2 of 'request_irq' from incompatible pointer type
make[2]: *** [/usr/src/kernel-source-martian-20061203/kmodule/martian.o]
Error 1
make[1]: *** [_module_/usr/src/kernel-source-martian-20061203/kmodule] Error
2
make[1]: Leaving directory `/usr/src/linux-2.6.25-std-def-alt8.M41.4'
make: *** [modules] Error 2

Готовых модулей под: Linux sf 2.6.25-std-def-alt8.M41.4 #1 SMP Sat Dec 6
14:42:12 MSK 2008 i686 GNU/Linux
нету.

К стати  когда-то давно собирал нормально.
-- 
Best Regards, Yury Konovalov aka Speccyfan (2:453/53)
Registered Linux User #379588
----------- следующая часть -----------
Вложение в формате HTML было удалено...
URL: <http://lists.altlinux.org/pipermail/community/attachments/20090806/544b65f0/attachment.html>


Подробная информация о списке рассылки community