I''m trying to build Xen/ia64 and it seems to build fine, except for the privify tool. When I try to build it gcc complains because the include paths aren''t right. I managed to fix some of them by changing the paths and symlinks but eventually I ran into a file that I couldn''t find: In file included from linux/cache.h:4, from asm/processor.h:81, from privify.c:12: linux/kernel.h:10:20: stdarg.h: No such file or directory Dan: I think I''ve followed the instructions right, so could you please verify that the include paths in the privify makefile are correct or that your build instructions are? Also, I''m wondering, the file sp_env_v2.2.i686.tar.gz on your ftp looks like a nice build environment for ia64; how do I use it? And what is the file "bootloader" for? Thanks, Hvard ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It''s fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> Also, I''m wondering, the file sp_env_v2.2.i686.tar.gz on your ftp looks > like a nice build environment for ia64; how do I use it? And what is the > file "bootloader" for?It''s a prebuilt set of IA64 cross-build utils for RH9 on i386 - may work on other distros (known to work on FC2) but YMMV. To install, just untar it in /. To build using it, there are some lines you need to uncomment in xen/arch/ia64/Rules.mk in order to change the locations of CC, LD and OBJCOPY to point to the cross compilers. After that, building Xen/IA-64 on x86 should Just Work. Nobody''s quite got XenLinux/IA64 building on x86 yet, AFAIK but it should also work. Cheers, Mark ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It''s fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Magenheimer, Dan (HP Labs Fort Collins)
2005-Jan-10 18:34 UTC
[Xen-devel] RE: Building Xen/ia64
> I''m trying to build Xen/ia64 and it seems to build fine, > except for the privify tool. When I try to build it gcc > complains because the include paths aren''t right. I managed > to fix some of them by changing the paths and symlinks but > eventually I ran into a file that I couldn''t find: > > In file included from linux/cache.h:4, > from asm/processor.h:81, > from privify.c:12: > linux/kernel.h:10:20: stdarg.h: No such file or directory > > Dan: I think I''ve followed the instructions right, so could > you please verify that the include paths in the privify > makefile are correct or that your build instructions are?It seems to build find for me. Perhaps there is a system dependency that I don''t understand. Note that I do get some errors from cpp but they are harmless warnings and it builds. I posted a privify binary in the xen-ia64 ftp directory... give that a try. Anybody else on the list try to build privify and fail? Apologies, it was a quick hack on New Year''s Eve and probably needs additional work. I''ll look into it more.> Also, I''m wondering, the file sp_env_v2.2.i686.tar.gz on your > ftp looks like a nice build environment for ia64; how do I > use it? And what is the file "bootloader" for?As Mark described, the first is a cross-compiler environment which I''ve used for building and testing on the ski simulator. The latter is a file that''s necessary for running Xen on ski. Mark and I are trying to work out the kinks and, if anybody wants to try running/debugging on ski on x86 (e.g. because they don''t have access to ia64 hardware), we will post a README for how to do this. Dan ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It''s fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel