Environment: Ubuntu 10.10, kernel version 2.6.35.30, GCC 4.5 1. First, if you want to use the latest xen version, install mercurialSource codeManagement tool, and then use the following command
Hg-V -- time clone http://xenbits.xen.org/hg/xen-unstable.hg
2. Official Website Http://xen.org/products/xen_source.html The xen source code for version 4.1.2 does not seem to be available:
The slirp library in the qemu section (tools/ioemu-qemu-xen) has some network protocol definitions, which are in conflict with the machine itself and cannot be compiled. 3. Use the following command line during compilation: Make xen Make tools Make stubdom Sudo make install-xen Sudo make install-Tools Sudo make install-stubdom
Direct make cannot be achieved, and it is almost impossible to achieve all the build objectives. People participate Make world will clean everything and then make it again-the damage is too powerful. Therefore, do not use make world (make clean + make Dist) before figuring out the function)
Xen character painting will appear during compilation ~
___________
\\//___ _ |/| | ___\
\ // _ \ '_ \ | _) |
/\ _/| |__ _ | _/__/
/_/\ _ \ ___ | _ | (_) _ (_) _____ |
4. Run tools/check/make to check whether the dependency library is installed with wood.There are so many scum machines missing that the dev package was originally installed with wood
Libssl-devlibcurl4-openssl-dev (maybe) uuid-devlibx11-devgettext (in check it is called xgettext, in fact the package is called gettext) zlib1g-devlibvncserver-dev and ...... Libncurses5-devbcciaslpython-all-devtexinfo
Bridge-utils
After compilation, the xen file will appear in/boot. The core file 4.1.2 and the link 4.0 and 4.1 are provided here. You can delete the two links.