ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexey V Lubimov <info@atmsk.ru>
To: sisyphus@altlinux.ru
Subject: [sisyphus] компиляция ядра из src.rpm
Date: Wed, 4 Jul 2001 13:59:08 +0400
Message-ID: <01070413590300.04148@avl.mgu-home.ru> (raw)

Чего то я не могу собрать ядро.

Чего я делал:

apt-get source kernel24-source
в ответ положительное сообщение и закачка 30 мегов пакета 
kernel24-2.4.5-alt5.src.rpm

После закачки apt вообще ничего не делал. Пришлось ручками разыскать этот RPM

rpm -i kernel24-2.4.5-alt5.src.rpm

встал (правда дерева RPM у меня в usr/src не было - пришлось ручками создать)

отредактировал kernel-2.4.spec
включил custom сборку

rpm -ba kernel-2.4.spec (имхо, это уже не правильно)
пытается полностью собрать ядро. Не находит соответствующий конфиг от кустом 
ядра и останавливается.
скопировал конфиг от -up ядра и снова. 
теперь:

--------------------------
Building dependencies for the custom kernel
+ make CC=/usr/bin/gcc dep
gcc -pipe -Wall -O2 -fexpensive-optimizations -march=athlon 
-fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 
-mpreferred-stack-boundary=2 -Wstrict-prototypes -fno-strict-aliasing -o 
scripts/mkdep scripts/mkdep.c
In file included from /usr/include/bits/posix1_lim.h:126,
                 from /usr/include/limits.h:144,
                 from 
/usr/lib/gcc-lib/i586-alt-linux/2.96/include/limits.h:130,
                 from 
/usr/lib/gcc-lib/i586-alt-linux/2.96/include/syslimits.h:7,
                 from 
/usr/lib/gcc-lib/i586-alt-linux/2.96/include/limits.h:11,
                 from scripts/mkdep.c:35:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
make: *** [scripts/mkdep] Error 1
---------------------------------


А как _надо_ все это делать?

-- 
С уважением, Любимов Алексей



             reply	other threads:[~2001-07-04  9:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-04  9:59 Alexey V Lubimov [this message]
2001-07-04 12:22 ` Igor Solovyov
2001-07-04 12:45   ` Alexey V Lubimov
2001-07-04 13:04     ` Igor Solovyov

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=01070413590300.04148@avl.mgu-home.ru \
    --to=info@atmsk.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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