From: "Konstantin A. Lepikhov" <lakostis@unsafe.ru>
To: ALT Linux kernel packages development <devel-kernel@lists.altlinux.org>
Subject: Re: [d-kernel] Q: Проблема со сборкой kernel-modules-drbd-xen-domU для i586
Date: Mon, 11 Feb 2008 14:44:25 +0300
Message-ID: <20080211114425.GA30414@lks.home> (raw)
In-Reply-To: <47B032EA.7080004@solin.spb.ru>
Hi Aleksey!
Monday 11, at 02:35:06 PM you wrote:
> Здравствуйте.
>
> Что-то не получается у меня собрать kernel-modules-drbd-xen-domU для
> i586 (для x86_64 -- всё собирается и работает). Проблема в следующем:
>
> + make CC=gcc-4.1 KDIR=/usr/src/linux-2.6.18-xen-domU/
> make: Entering directory `/usr/src/RPM/BUILD/kernel-source-drbd-0.7.22'
>
> Calling toplevel makefile of kernel source tree, which I believe is in
> KDIR=/usr/src/linux-2.6.18-xen-domU/
>
> test -f ../scripts/adjust_drbd_config_h.sh && \
> KDIR=/usr/src/linux-2.6.18-xen-domU/ /bin/sh
> ../scripts/adjust_drbd_config_h.sh
> make: [kbuild] Error 1 (ignored)
> make -C /usr/src/linux-2.6.18-xen-domU/
> SUBDIRS=/usr/src/RPM/BUILD/kernel-source-drbd-0.7.22 modules
> make[1]: Entering directory `/usr/src/linux-2.6.18-xen-domU-alt4.2'
> Makefile:486:
> /usr/src/linux-2.6.18-xen-domU-alt4.2/arch/x86_64/Makefile: No such file
> ^^^^^^^^^^^
> or directory
> make[1]: *** No rule to make target
> `/usr/src/linux-2.6.18-xen-domU-alt4.2/arch/x86_64/Makefile'. Stop.
> make[1]: Leaving directory `/usr/src/linux-2.6.18-xen-domU-alt4.2'
> make: *** [kbuild] Error 2
> make: Leaving directory `/usr/src/RPM/BUILD/kernel-source-drbd-0.7.22'
> error: Bad exit status from /usr/src/tmp/rpm-tmp.54758 (%build)
>
> В общем, для сборки требуется содержимое
> /usr/src/linux-2.6.18-xen-domU-alt4.2/arch/x86_64/, которого
> kernel-headers-modules-xen-domU-2.6.18-alt4.2.i586.rpm не содержит...
>
> Вопрос: Каков правильный ли путь, положить в
> kernel-headers-modules-xen-domU-2.6.18-alt*.i586.rpm требуемый arch/x86_64?
Можно посмотреть, что модуль хочет увидеть в этом Makefile, возможно, ему
будет достаточно обычного Makefile.
--
WBR et al.
next prev parent reply other threads:[~2008-02-11 11:44 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-11 11:35 Aleksey Avdeev
2008-02-11 11:44 ` Konstantin A. Lepikhov [this message]
2008-02-11 11:53 ` Sergey Vlasov
2008-02-11 12:26 ` Aleksey Avdeev
2008-02-11 12:43 ` Aleksey Avdeev
2008-02-11 14:04 ` Aleksey Avdeev
2008-02-11 14:40 ` Konstantin A. Lepikhov
2008-02-11 16:00 ` Aleksey Avdeev
2008-02-11 18:10 ` Konstantin A. Lepikhov
2008-02-11 18:47 ` Aleksey Avdeev
2008-02-11 18:54 ` Konstantin A. Lepikhov
2008-02-11 19:25 ` Aleksey Avdeev
2008-02-11 20:02 ` Михаил Якушин
2008-02-11 20:11 ` Aleksey Avdeev
2008-02-11 20:18 ` Михаил Якушин
2008-02-11 20:23 ` Aleksey Avdeev
2008-02-11 20:03 ` Konstantin A. Lepikhov
2008-02-12 16:05 ` Vitaly Ostanin
2008-02-12 16:07 ` Михаил Якушин
2008-02-12 17:19 ` [d-kernel] xen kernels (was: Q: Проблема со сборкой kernel-modules-drbd-xen-domU для i586) Vitaly Ostanin
2008-02-12 18:16 ` Sergey Vlasov
2008-02-12 20:28 ` [d-kernel] xen kernels Михаил Якушин
2008-02-12 20:57 ` Konstantin A. Lepikhov
2008-02-12 21:00 ` Михаил Якушин
2008-02-12 21:21 ` Aleksey Avdeev
2008-02-12 23:59 ` Aleksey Avdeev
2008-02-13 7:56 ` Михаил Якушин
2008-02-13 7:58 ` Vitaly Ostanin
2008-02-13 8:00 ` Михаил Якушин
2008-02-13 8:07 ` Vitaly Ostanin
2008-02-13 8:59 ` Aleksey Avdeev
2008-02-12 23:33 ` Konstantin A. Lepikhov
2008-02-13 0:12 ` Aleksey Avdeev
2008-02-13 13:06 ` Vitaly Ostanin
2008-02-13 16:45 ` Vitaly Ostanin
2008-02-13 16:54 ` Aleksey Avdeev
2008-02-13 20:38 ` Михаил Якушин
2008-02-13 21:34 ` Aleksey Avdeev
2008-02-14 4:29 ` Михаил Якушин
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=20080211114425.GA30414@lks.home \
--to=lakostis@unsafe.ru \
--cc=devel-kernel@lists.altlinux.org \
/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