ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Evgeniy T." <te@inbox.ru>
To: community@altlinux.ru
Subject: [Comm] Re-compile the modules HCF PCI modem Acorp56PIM for Junior 1.1
Date: Mon, 3 Mar 2003 15:40:56 +0600
Message-ID: <5923602504.20030303154056@inbox.ru> (raw)

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

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




                 reply	other threads:[~2003-03-03  9:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5923602504.20030303154056@inbox.ru \
    --to=te@inbox.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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