From: Michael Shigorin <mike@osdn.org.ua>
To: devel-kernel@lists.altlinux.org
Subject: Re: [d-kernel] q: kernel-source-2.6.x howto
Date: Mon, 21 Dec 2009 22:49:35 +0200
Message-ID: <20091221204935.GD16304@osdn.org.ua> (raw)
In-Reply-To: <20091219214047.GB24097@osdn.org.ua>
On Sat, Dec 19, 2009 at 11:40:47PM +0200, I wrote:
> Кто возьмётся документировать создание новых kernel-source-2.6.x?
Понял, приступаю.
> Ну или хотя бы подтолкнуть насчёт того, fix-core--init
> и fix-core-syslog туда должны входить или куда.
Судя по имеющимся -- не должны.
PS: вдруг кто пояснит -- с этим самосборным 2.6.32 повзрывалась
сборка модулей (как минимум nvidia, fglrx, subfs) таким образом:
make -f scripts/Makefile.build obj=/usr/src/RPM/BUILD/kernel-source-subfs-0.9
gcc-4.4
-Wp,-MD,/usr/src/RPM/BUILD/kernel-source-subfs-0.9/.subfs.o.d
-nostdinc -isystem /usr/lib/gcc/i586-alt-linux/4.4.2/include
-Iinclude
-I/usr/src/linux-2.6.32-lame-noob-alt1/arch/x86/include
-include include/linux/autoconf.h -D__KERNEL__ -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -Werror-implicit-function-declaration
-Wno-format-security -fno-delete-null-pointer-checks -O2 -m32
-msoft-float -mregparm=3 -freg-struct-return
-mpreferred-stack-boundary=2 -march=i586 -mtune=generic
-Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare
-fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2
-mno-3dnow -Wframe-larger-than=1024 -fno-stack-protector
-fno-omit-frame-pointer -fno-optimize-sibling-calls
-Wdeclaration-after-statement -Wno-pointer-sign
-fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack
-DMODULE -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(subfs)"
-D"KBUILD_MODNAME=KBUILD_STR(subfs)" -c -o
/usr/src/RPM/BUILD/kernel-source-subfs-0.9/.tmp_subfs.o
/usr/src/RPM/BUILD/kernel-source-subfs-0.9/subfs.c
In file included from include/linux/prefetch.h:13,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /usr/src/RPM/BUILD/kernel-source-subfs-0.9/subfs.c:11:
include/linux/types.h:4:23: error: asm/types.h: No such file or directory
In file included from include/linux/types.h:14,
from include/linux/prefetch.h:13,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /usr/src/RPM/BUILD/kernel-source-subfs-0.9/subfs.c:11:
include/linux/posix_types.h:47:29: error: asm/posix_types.h: No such file or directory
In file included from include/linux/prefetch.h:13,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /usr/src/RPM/BUILD/kernel-source-subfs-0.9/subfs.c:11:
include/linux/types.h:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__kernel_dev_t'
include/linux/types.h:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dev_t'
include/linux/types.h:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ino_t'
include/linux/types.h:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mode_t'
[...]
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
next prev parent reply other threads:[~2009-12-21 20:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-19 21:40 Michael Shigorin
2009-12-21 20:49 ` Michael Shigorin [this message]
2009-12-21 21:35 ` [d-kernel] i: " Michael Shigorin
2009-12-21 23:00 ` Dmitry V. Levin
2009-12-21 23:31 ` Kirill A. Shutemov
2009-12-22 12:21 ` Dmitry V. Levin
2009-12-22 12:35 ` Kirill A. Shutemov
2009-12-22 18:39 ` Dmitry V. Levin
2009-12-23 18:11 ` Michael Shigorin
2009-12-23 18:24 ` Igor Zubkov
2009-12-23 18:33 ` Michael Shigorin
2009-12-23 19:18 ` Igor Zubkov
2009-12-23 21:22 ` Michael Shigorin
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=20091221204935.GD16304@osdn.org.ua \
--to=mike@osdn.org.ua \
--cc=devel-kernel@lists.altlinux.org \
--cc=shigorin@gmail.com \
/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 kernel packages development
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/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 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
public-inbox-index devel-kernel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git