* failure in making modules under Domain0?
@ 2010-01-18 10:01 Haifeng Fang
2010-01-18 12:07 ` Haifeng Fang
0 siblings, 1 reply; 2+ messages in thread
From: Haifeng Fang @ 2010-01-18 10:01 UTC (permalink / raw)
To: Keir Fraser; +Cc: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 2613 bytes --]
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: 6300 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: failure in making modules under Domain0?
2010-01-18 10:01 failure in making modules under Domain0? Haifeng Fang
@ 2010-01-18 12:07 ` Haifeng Fang
0 siblings, 0 replies; 2+ messages in thread
From: Haifeng Fang @ 2010-01-18 12:07 UTC (permalink / raw)
To: Haifeng Fang, Keir Fraser; +Cc: xen-devel
[-- 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-18 12:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-18 10:01 failure in making modules under Domain0? Haifeng Fang
2010-01-18 12:07 ` Haifeng Fang
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.