From: "Haifeng Fang" <fhf25@126.com>
To: Haifeng Fang <fhf25@126.com>, Keir Fraser <keir.fraser@eu.citrix.com>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: failure in making modules under Domain0?
Date: Mon, 18 Jan 2010 20:07:55 +0800 [thread overview]
Message-ID: <201001182007552886115@126.com> (raw)
In-Reply-To: 201001181801556882791@126.com
[-- Attachment #1.1: Type: text/plain, Size: 2916 bytes --]
ou, my god!
that's my error!
I have overcome it.
2010-01-18
Haifeng Fang
发件人: Haifeng Fang
发送时间: 2010-01-18 18:02:50
收件人: Keir Fraser
抄送: xen-devel
主题: [Xen-devel] failure in making modules under Domain0?
hi, all
I have programmed a linux module. when i compiled it in pure-linux, it can be made successfully.
However, when i compiled it in Domain0-Linux, it would output some failures as follows:
[root@Domain0 lkm]# make
make -C /lib/modules/2.6.18-xen0/build SUBDIRS=/home/trust-project/remote-io/xen-triob/tools/xenaccess-0.5/examples/lkm modules
make[1]: Entering directory `/home/trust-project/remote-io/xen-triob/build-linux-2.6.18-xen0_x86_32'
make -C /home/trust-project/remote-io/xen-triob/linux-2.6.18-xen O=/home/trust-project/remote-io/xen-triob/build-linux-2.6.18-xen0_x86_32 modules
make[4]: Circular /home/trust-project/remote-io/xen-triob/tools/xenaccess-0.5/examples/lkm/integrity_checker_lkm.o <- /home/trust-project/remote-io/xen-triob/tools/xenaccess-0.5/examples/lkm/integrity_checker_lkm.o dependency dropped.
Building modules, stage 2.
MODPOST
CC /home/trust-project/remote-io/xen-triob/tools/xenaccess-0.5/examples/lkm/integrity_checker_lkm.mod.o
In file included from /home/trust-project/remote-io/xen-triob/linux-2.6.18-xen/include/xen/hypercall.h:4,
from include2/asm/mach-xen/asm/hypervisor.h:141,
from include2/asm/mach-xen/asm/system.h:9,
from include2/asm/mach-xen/asm/processor.h:18,
from include2/asm/thread_info.h:16,
from /home/trust-project/remote-io/xen-triob/linux-2.6.18-xen/include/linux/thread_info.h:21,
from /home/trust-project/remote-io/xen-triob/linux-2.6.18-xen/include/linux/preempt.h:9,
from /home/trust-project/remote-io/xen-triob/linux-2.6.18-xen/include/linux/spinlock.h:49,
from /home/trust-project/remote-io/xen-triob/linux-2.6.18-xen/include/linux/capability.h:45,
from /home/trust-project/remote-io/xen-triob/linux-2.6.18-xen/include/linux/sched.h:44,
from /home/trust-project/remote-io/xen-triob/linux-2.6.18-xen/include/linux/module.h:9,
from /home/trust-project/remote-io/xen-triob/tools/xenaccess-0.5/examples/lkm/integrity_checker_lkm.mod.c:1:
include2/asm/mach-xen/asm/hypercall.h:408: error: expected ')' before '*' token
make[4]: *** [/home/trust-project/remote-io/xen-triob/tools/xenaccess-0.5/examples/lkm/integrity_checker_lkm.mod.o] Error 1
make[3]: *** [modules] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/trust-project/remote-io/xen-triob/build-linux-2.6.18-xen0_x86_32'
make: *** [all] Error 2
===============
anyone has ever encountered this one? give me a help!
thanks in advance.
[-- Attachment #1.2: Type: text/html, Size: 8850 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
prev parent reply other threads:[~2010-01-18 12:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-18 10:01 failure in making modules under Domain0? Haifeng Fang
2010-01-18 12:07 ` Haifeng Fang [this message]
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=201001182007552886115@126.com \
--to=fhf25@126.com \
--cc=keir.fraser@eu.citrix.com \
--cc=xen-devel@lists.xensource.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.