|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] how to compile source using the xen header
I'd like to develop xen with xen.h, grant_table.h, event_channel.h and
hypercall.h.
But I got a lot of error when I was compiling.
This is my code.
===================================
#include (stdio.h)
#include "xen.h"
#include "hypervisor.h"
#include "event_channel.h"
#include "grant_table.h"
int main(){
printf("Hello Xen World!!!!!\n");
return 0;
}
===================================
And my enviroment is
===================================
Ubuntu 14.04
Xen 4.4.2
gcc 4.8.4
===================================
gcc command is
/gcc -I /usr/src/linux-headers-3.19.0-25-generic/arch/x86/include/asm/xen -I
/usr/src/linux-headers-3.19.0-25-generic/include -I
/usr/src/linux-headers-3.19.0-25-generic/arch/x86/include -I
/home/kwon/xen-4.4.2/xen/include/public main.c/
Is it right that I use gcc compiler for xen source?
--
View this message in context:
http://xen.1045712.n5.nabble.com/how-to-compile-source-using-the-xen-header-tp5730376.html
Sent from the Xen - User mailing list archive at Nabble.com.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |