[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel]How to compile xen program in c++?
I want to type program with xen,but there some error. xentest.cpp: /************************************************ #include <xenctrl.h> #include <stdio.h> int main(int argc, char *argv[]) { int value=xc_interface_open(); fprintf(stderr, "%d",value); return 0; } ***********************************************/ I use cmd: g++ xenctest.cpp -o xenctest0 -lxenctrl Compiler output: /tmp/ccR8dCnr.o: In function `main': xenctest.cpp:(.text+0x10): undefined reference to `xc_interface_open()' collect2: ld return 1 I google this ,but I've no idea. How can I do? Thanks very much. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |