Имя пользователя:
Пароль:
 

Показать сообщение отдельно

Аватара для ruslandh

info man howto


Сообщения: 6960
Благодарности: 385

Профиль | Сайт | Отправить PM | Цитировать


Вам-же на чистом английском написали что у Вас и что предлагается сделать :
Цитата:
"You should not include /usr/include/{linux,asm}/ header"
"files directly for the compilation of kernel modules."
""
"glibc now uses kernel header files from a well-defined"
"working kernel version (as recommended by Linus Torvalds)"
"These files are glibc internal and may not match the"
"currently running kernel. They should only be"
"included via other system header files - user space"
"programs should not directly include <linux/*.h> or"
"<asm/*.h> as well."
""
"To build kernel modules please do the following:"
""
" o Have the kernel sources installed"
""
" o Make sure that the symbolic link"
"   /lib/modules/`uname -r`/build exists and points to"
"   the matching kernel source directory"
""
" o Now copy /boot/vmlinuz.version.h to"
"   /lib/modules/`uname -r`/build/include/linux/version.h"
""
" o When compiling, make sure to use the following"
"   compiler option to use the correct include files:"
""
"   -I/lib/modules/`uname -r`/build/include"
""
"   instead of"
""
"   -I/usr/include/linux"
""
"   Please adjust the Makefile accordingly."
и т.д.
Осталось перевести и выполнить.

-------
Поспешай не торопясь


Отправлено: 07:16, 19-03-2004 | #14