[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] mini-os: gnttab.c does not compile
MiniOS wasn't declaring a __XEN_INTERFACE_VERSION__, so it broke after the recent dom0_ops.h change. I pushed a small Makefile fix so it declares it as 0x00030203 (the version right before those changes) and builds again. Someone should also update it to sync with the new header files as well so that the interface version can bumped to the latest. -anil On 29 Aug 2006, at 13:42, Robert Kaiser (FH) wrote: Hello, sorry to bother you with this: while trying to compile mini-os from xen-unstable.hg, I noticed that compilation failed like this: gcc -fno-builtin -Wall -Werror -Wredundant-decls -Wno-format -Wstrict-prototypes -Wnested-externs -Wpointer-arith -Winline -m32-march=i686 -g -Iinclude -Iinclude/x86 -Iinclude/x86/x86_32 - c gnttab.c-o gnttab.o gnttab.c: In Funktion »init_gnttab«:gnttab.c:165: error: request for member `p' in something not a structure orunion make: *** [gnttab.o] Error 1Looking at the source code, I'm not surprised that this happens, and I suspectthat the file of the same name (gnttab.c) found inlinux-2.6-xen-sparse/drivers/xen/core will also fail to compile (though Ihave not checked this).It seems that the grant-table functions are currently in a non- functional state and that mini-os does not use these functions anyway (except for a call to the init function): After commenting out this call, I was able to buildthe mini-os binary.Is there a particular reason for this? Can I expect the mini-os to work afterremoving gnttab.c? Kind Regards Rob _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |