[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] failure in making modules under Domain0?



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.
 
 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.