[Comm] Re-compile the modules HCF PCI modem Acorp56PIM for Junior 1.1

Evgeniy T. =?iso-8859-1?q?te_=CE=C1_inbox=2Eru?=
Пн Мар 3 12:40:56 MSK 2003


Здравствуйте!
При перекомпиляции модулей модема не определяется версия исходников
ядра.

ALT Linux Junior 1.1
Ядро: 2.4.10-alt1-up
kernel24-headers: 2.4.10-alt1
Модем: Acorp56PIM
Linux HCF controllerless modem drivers, version 0.99mbsibeta02123100

После распаковки запускаю конфигуратор:
hcfpciconfig

Should we attempt to automatically configure your hardware? [yes] 
Selected PCI VendorID=14F1 DeviceID=1035
and INF file /etc/hcfpci/inf/hcfv90_linux.inf
Configuring modem for country: "RUSSIA"
This package does not contain pre-built modules suitable for your system:
  Distribution: Mandrake-
  Kernel arch: i686
  Kernel version: linux-2.4.10-alt1-up

Trying to automatically re-compile the modules..
(this requires a C compiler and proper kernel sources to be installed)

Where is the linux source build directory that matches your running kernel?
[/usr/src/linux] /usr/lib/kernel/2.4.10-alt1

WARNING: the kernel version () defined in
/usr/lib/kernel/2.4.10-alt1/include/linux/version.h
does not match the currently running kernel (2.4.10-alt1-up)
The cause of this problem is an incorrect kernel source path.
Please check that /usr/lib/kernel/2.4.10-alt1 points to the right tree.
The cause of this problem is usually a missing or misconfigured
kernel source tree (and sometimes an incorrect directory or symbolic link).

Re-compiling HCF modules for kernel , using source directory
/usr/lib/kernel/2.4.10-alt1. Please wait..

ERROR: Module re-compilation and installation failed!
Please examine the log file "/tmp/hcfpciconfig-buildlog.txt" to determine why.

Листинг файлов:
---------------------------------------------------------
файл   /tmp/hcfpciconfig-buildlog.txt  :

rm -f *.o *.a
make[1]: Вход в каталог `/usr/lib/hcfpci/modules/osspec'
rm -f *.o *.a
make[1]: Выход из каталог `/usr/lib/hcfpci/modules/osspec'
Unable to determine version of kernel source directory /usr/lib/kernel/2.4.10-alt1
make: *** [check_kernelver] Ошибка 1


файл   /usr/lib/kernel/2.4.10-alt1/include/linux/version.h  :

#include </var/run/kernel/version.h>

---------------------------------------------------------


файл   /var/run/kernel/version.h :

/*
 * Autogenerated by /etc/rc.d/scripts/gen_kernel_headers at Mon Mar 03 2003 12:27:47
*/

#ifndef __boot_kernel_version__
#define __boot_kernel_version__

#include </usr/lib/kernel/2.4.10-alt1-up/version.h>

#endif  /* __boot_kernel_version__ */

---------------------------------------------------------

файл   /usr/lib/kernel/2.4.10-alt1-up/version.h   :

#define UTS_RELEASE "2.4.10-alt1-up"
#define LINUX_VERSION_CODE 132106
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
-- 

-- 
Best regards,
 Evgeniy                          mailto:te на inbox.ru





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