Есть вопрос по установке модема.
Скрипт scanmodem определил чип SmartLink ( RoverBook E418 . Apollo Super AC97/Modem)
Скачал драйвер slmdm-2.7.10.tag.gz выполнил компиляцию , затем make install-amr и вот что он мне выдает
[vladimir@(none) slmdm-2.7.10]$ make install-amr
gcc -Wall -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -I. -I/usr/src/linux/include -DMODVERSIONS --include /usr/src/linux/include/linux/modversions.h -o kernel-ver.o -c kernel-ver.c
cc1: error: /usr/src/linux/include/linux/modversions.h: Нет такого файла или каталога
In file included from kernel-ver.c:48:
/usr/include/linux/version.h:2:2: error: #error "======================================================="
/usr/include/linux/version.h:3:2: error: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: error: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: error: #error ""
/usr/include/linux/version.h:6:2: error: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: error: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: error: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: error: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: error: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: error: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: error: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: error: #error ""
/usr/include/linux/version.h:14:2: error: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: error: #error ""
/usr/include/linux/version.h:16:2: error: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: error: #error ""
/usr/include/linux/version.h:18:2: error: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: error: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: error: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: error: #error ""
/usr/include/linux/version.h:22:2: error: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: error: #error " /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: error: #error ""
/usr/include/linux/version.h:25:2: error: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: error: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: error: #error ""
/usr/include/linux/version.h:28:2: error: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: error: #error ""
/usr/include/linux/version.h:30:2: error: #error " instead of"
/usr/include/linux/version.h:31:2: error: #error ""
/usr/include/linux/version.h:32:2: error: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: error: #error ""
/usr/include/linux/version.h:34:2: error: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: error: #error "======================================================="
Последние комментарии
10 лет 1 неделя назад
10 лет 20 недель назад
10 лет 30 недель назад
10 лет 31 неделя назад
11 лет 20 недель назад
11 лет 20 недель назад
11 лет 20 недель назад
11 лет 21 неделя назад
11 лет 21 неделя назад
11 лет 22 недели назад