ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Re-compile the modules HCF PCI modem Acorp56PIM for Junior 1.1
@ 2003-03-03  9:40 Evgeniy T.
  0 siblings, 0 replies; only message in thread
From: Evgeniy T. @ 2003-03-03  9:40 UTC (permalink / raw)
  To: community

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

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

\aWARNING: 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..

\aERROR: 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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-03-03  9:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-03  9:40 [Comm] Re-compile the modules HCF PCI modem Acorp56PIM for Junior 1.1 Evgeniy T.

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git