From: Sergey Vlasov <vsu@altlinux.ru>
To: "Виктор С. Грищенко" <gritzko@post.dcn.ru>
Cc: devel-kernel@altlinux.ru
Subject: Re: [d-kernel] Qt-embedded и #error Invalid kernel header included in userspace
Date: Thu, 5 Feb 2004 21:21:05 +0300
Message-ID: <20040205182105.GG2329@sirius.home> (raw)
In-Reply-To: <200402052052.45175.gritzko@post.dcn.ru>
[-- Attachment #1: Type: text/plain, Size: 1624 bytes --]
On Thu, Feb 05, 2004 at 08:52:45PM +0500, Виктор С. Грищенко wrote:
> При попытке компиляции Qt-Embedded цепляет издевательский autoconf.h.
> Пофиксил по-чёрному, однако хотелось бы придумать достаточно белый вариант.
> (За правильность своих действий не ручаюсь, ранее никогда ничего подобного не
> компилил. Имею целью пока хотя бы запускать приложения для Qtopia на PC.)
>
> Прошу CC'нуть, я эту рассылку не подписан.
>
> g++ -c -I/mnt/devspace/kde-home/Zaurus/BE/qt-emb-2.3.7/include -pipe -DQWS
> -fno-exceptions -fno-rtti -O2 -fno-default-inline -Wall -W -DNO_DEBUG -fPIC
> -DQT_NO_IMAGEIO_MNG -DQT_NO_QWS_VOODOO3 -DQT_NO_QWS_MACH64 -DQT_NO_QWS_MATROX
> -DQT_NO_QWS_VNC -DQT_NO_QWS_VGA_16 -DQT_BUILTIN_GIF_READER=0
> -DQT_NO_IMAGEIO_MNG -DQT_NO_SM_SUPPORT -DQT_NO_XKB -I3rdparty/kernel
> -I3rdparty/tools -o kernel/qgfxraster_qws.o kernel/qgfxraster_qws.cpp
> In file included from /usr/include/linux/config.h:4,
> from /usr/include/asm/mtrr.h:26,
> from kernel/qgfxraster_qws.cpp:71:
> /usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in
> userspace
> make[2]: *** [kernel/qgfxraster_qws.o] Ошибка 1
Это прежде всего проблема пакета glibc-kernheaders (хотя и в ядре это
тоже неплохо бы поправить): надо перенести #include <linux/config.h>
внутрь #ifdef __KERNEL__. Повесьте на этот пакет что-нибудь в
bugzilla.altlinux.ru.
Можно установить kernel-headers-std-up и выбрать эти заголовки через
adjust_kernel_headers, тогда проблема не будет проявляться. В
пакетах, требующих этого для сборки, можно писать BuildRequires:
kernel-headers-std.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-02-05 18:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-05 15:52 Виктор С. Грищенко
2004-02-05 18:21 ` Sergey Vlasov [this message]
2004-02-06 14:21 ` Anton Farygin
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=20040205182105.GG2329@sirius.home \
--to=vsu@altlinux.ru \
--cc=devel-kernel@altlinux.ru \
--cc=gritzko@post.dcn.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 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