Сабж реально?<br><br><br clear="all">[root@sf kmodule]# make<br>make -C /lib/modules/2.6.25-std-def-alt8.M41.4/build M="/usr/src/kernel-source-martian-20061203/kmodule" modules<br>make[1]: Entering directory `/usr/src/linux-2.6.25-std-def-alt8.M41.4'<br>
CC [M] /usr/src/kernel-source-martian-20061203/kmodule/martian.o<br>In file included from /usr/src/kernel-source-martian-20061203/kmodule/kmartian.h:12,<br> from /usr/src/kernel-source-martian-20061203/kmodule/martian.c:62:<br>
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:18: error: expected declaration specifiers or ‘...’ before ‘*’ token<br>/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:18: error: ‘fastcall’ declared as function returning a function<br>
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:18: warning: function declaration isn’t a prototype<br>/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:18: error: field ‘fastcall’ declared as a function<br>
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:19: error: expected declaration specifiers or ‘...’ before ‘*’ token<br>/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:19: error: ‘fastcall’ declared as function returning a function<br>
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:19: warning: function declaration isn’t a prototype<br>/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:19: error: field ‘fastcall’ declared as a function<br>
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:21: error: expected declaration specifiers or ‘...’ before ‘(’ token<br>/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:21: warning: function declaration isn’t a prototype<br>
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:21: error: field ‘FASTCALL’ declared as a function<br>/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:22: error: expected declaration specifiers or ‘...’ before ‘(’ token<br>
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:22: warning: function declaration isn’t a prototype<br>/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:22: error: field ‘FASTCALL’ declared as a function<br>
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:19: error: duplicate member ‘fastcall’<br>/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:22: error: duplicate member ‘FASTCALL’<br>/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h: In function ‘mfifo_next’:<br>
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:45: error: ‘struct mfifo_ops’ has no member named ‘wrap’<br>/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h: In function ‘mfifo_put’:<br>/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:52: error: ‘struct mfifo_ops’ has no member named ‘set’<br>
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:54: error: ‘struct mfifo_ops’ has no member named ‘wrap’<br>/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h: In function ‘mfifo_full’:<br>/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:62: error: ‘struct mfifo_ops’ has no member named ‘space’<br>
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h: In function ‘mfifo_get’:<br>/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:78: error: ‘struct mfifo_ops’ has no member named ‘get’<br>/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:81: error: ‘struct mfifo_ops’ has no member named ‘wrap’<br>
/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h: In function ‘mfifo_lastwr’:<br>/usr/src/kernel-source-martian-20061203/kmodule/mfifo.h:87: error: ‘struct mfifo_ops’ has no member named ‘wrap’<br>In file included from /usr/src/kernel-source-martian-20061203/kmodule/martian.c:64:<br>
/usr/src/kernel-source-martian-20061203/kmodule/marsio.h: At top level:<br>/usr/src/kernel-source-martian-20061203/kmodule/marsio.h:8: error: expected ‘)’ before ‘(’ token<br>/usr/src/kernel-source-martian-20061203/kmodule/marsio.h:9: error: expected ‘)’ before ‘(’ token<br>
/usr/src/kernel-source-martian-20061203/kmodule/marsio.h:10: error: expected ‘)’ before ‘(’ token<br>/usr/src/kernel-source-martian-20061203/kmodule/marsio.h:11: error: expected ‘)’ before ‘(’ token<br>/usr/src/kernel-source-martian-20061203/kmodule/martian.c: In function ‘martian_isr’:<br>
/usr/src/kernel-source-martian-20061203/kmodule/martian.c:119: error: implicit declaration of function ‘mars_read_register’<br>/usr/src/kernel-source-martian-20061203/kmodule/martian.c:131: error: implicit declaration of function ‘mars_write_register’<br>
/usr/src/kernel-source-martian-20061203/kmodule/martian.c:139: error: implicit declaration of function ‘mars_write_word’<br>/usr/src/kernel-source-martian-20061203/kmodule/martian.c:160: error: implicit declaration of function ‘process_stream’<br>
/usr/src/kernel-source-martian-20061203/kmodule/martian.c:160: warning: value computed is not used<br>/usr/src/kernel-source-martian-20061203/kmodule/martian.c: In function ‘martian_add’:<br>/usr/src/kernel-source-martian-20061203/kmodule/martian.c:659: error: ‘SA_INTERRUPT’ undeclared (first use in this function)<br>
/usr/src/kernel-source-martian-20061203/kmodule/martian.c:659: error: (Each undeclared identifier is reported only once<br>/usr/src/kernel-source-martian-20061203/kmodule/martian.c:659: error: for each function it appears in.)<br>
/usr/src/kernel-source-martian-20061203/kmodule/martian.c:659: error: ‘SA_SHIRQ’ undeclared (first use in this function)<br>/usr/src/kernel-source-martian-20061203/kmodule/martian.c:662: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type<br>
make[2]: *** [/usr/src/kernel-source-martian-20061203/kmodule/martian.o] Error 1<br>make[1]: *** [_module_/usr/src/kernel-source-martian-20061203/kmodule] Error 2<br>make[1]: Leaving directory `/usr/src/linux-2.6.25-std-def-alt8.M41.4'<br>
make: *** [modules] Error 2<br><br>Готовых модулей под: Linux sf 2.6.25-std-def-alt8.M41.4 #1 SMP Sat Dec 6 14:42:12 MSK 2008 i686 GNU/Linux<br>нету.<br><br>К стати когда-то давно собирал нормально.<br>-- <br>Best Regards, Yury Konovalov aka Speccyfan (2:453/53)<br>
Registered Linux User #379588<br>