ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: community@altlinux.ru
Subject: Re: Re[4]: [Comm] intell pro/1000 mt server adapter
Date: Mon, 14 Apr 2003 15:47:57 +0400
Message-ID: <20030414154757.7b0cefae.vsu@altlinux.ru> (raw)
In-Reply-To: <6632.030414@taxpol.krasnoyarsk.su>

On Mon, 14 Apr 2003 15:10:49 +0800
aek <aek@taxpol.krasnoyarsk.su> wrote:

> Hello Dmitry,
> 
> Monday, April 14, 2003, 2:24:28 PM, you wrote:
> 
> >> А если пытатся скомпилить скачаные дрова e1000-5.0.43
> >> [root@r src]# make
> >> Makefile:81: *** Linux kernel source not found.  Останов.
> >> 
> >> В каком .rpm лежат "Linux kernel source" ???
> 
> DL> Скорее всего для сборки этих "дров" достаточно только файлов
> DL> из пакета kernel24-headers.
> 
> Неа. Неправда ваша. недостаточно. при попытке rpm -i этого
> пакета, говорит что он уже есть...
> 
> DL> См. внутри Makefile из тарбола с драйверами, что там за проверка
> DL> и исправляй. Скорее всего проверяется наличие каталога
> DL> /usr/src/linux/include или что-то подобное в /usr/src/linux.
> 
> Вот кусок оттедова. Я не настолько крут, но подозреваю,
> хедеров ему маловато будет....
> 
> # Kernel Search Path
> # All the places we look for kernel source
> KSP :=  /lib/modules/$(shell uname -r)/build \
>         /usr/src/linux-$(shell uname -r) \
>         /usr/src/linux-$(shell uname -r | sed 's/-.*//') \
>         /usr/src/kernel-headers-$(shell uname -r) \
>         /usr/src/kernel-source-$(shell uname -r) \
>         /usr/src/linux-$(shell uname -r | sed 's/\([0-9]*\.[0-9]*\)\..*/\1/') \
>         /usr/src/linux
> 
> # prune the list down to only values that exist
> # and have an include/linux sub-directory
> test_dir = $(shell [ -e $(dir)/include/linux ] && echo $(dir))
> KSP := $(foreach dir, $(KSP), $(test_dir))
> 
> # we will use this first valid entry in the search path
> ifeq (,$(KSRC))
>   KSRC := $(firstword $(KSP))
> endif
> 
> ifeq (,$(KSRC))
>   $(error Linux kernel source not found)
> endif
> 
> 
> Так где взять эти исходники???

Попробуйте указать путь вот так:

  make KSRC=/usr/lib/kernel


  reply	other threads:[~2003-04-14 11:47 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-11  8:04 aek
2003-04-11 10:38 ` Dmitry Lebkov
2003-04-11 10:44 ` Dmitry Lebkov
2003-04-11 12:24   ` [Comm] " Michael Shigorin
2003-04-14  4:18     ` aek
2003-04-15  8:26       ` Michael Shigorin
2003-04-14  4:06   ` Re[2]: [Comm] " aek
2003-04-14  6:24     ` Dmitry Lebkov
2003-04-14  7:10       ` Re[4]: " aek
2003-04-14 11:47         ` Sergey Vlasov [this message]
2003-04-15  5:19           ` Re[6]: " aek
2003-04-14  8:01       ` Re[4]: " aek
2003-04-14  8:32         ` Re[5]: " aek
2003-04-11 11:18 ` Roman Savelyev
2003-04-14  4:42   ` Re[2]: " aek

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=20030414154757.7b0cefae.vsu@altlinux.ru \
    --to=vsu@altlinux.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