wiki:TipAndDoc/VM/Xen/log/4.0.1lucid

Version 3 (modified by mitty, 9 years ago) (diff)

--

gcc

  • ~/xen-4.0.1$ make world
    (snip)
    
    /bin/sh: gcc: not found
    
    (snip)
    make[5]: gcc: Command not found
    make[5]: *** [figlet] Error 127
    make[5]: Leaving directory `/home/mitty/xen-4.0.1/xen/tools/figlet'
    make[4]: *** [default] Error 2
    make[4]: Leaving directory `/home/mitty/xen-4.0.1/xen/tools'
    make[3]: *** [/home/mitty/xen-4.0.1/xen/xen] Error 2
    make[3]: Leaving directory `/home/mitty/xen-4.0.1/xen'
    make[2]: *** [install] Error 2
    make[2]: Leaving directory `/home/mitty/xen-4.0.1/xen'
    make[1]: *** [install-xen] Error 2
    make[1]: Leaving directory `/home/mitty/xen-4.0.1'
    make: *** [world] Error 2
    

zlib

  • ~/xen-4.0.1$ make world
    (snip)
     __  __            _  _    ___   _
     \ \/ /___ _ __   | || |  / _ \ / |
      \  // _ \ '_ \  | || |_| | | || |
      /  \  __/ | | | |__   _| |_| || |
     /_/\_\___|_| |_|    |_|(_)___(_)_|
    
    (snip)
    
    + git clone -o xen -n git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.g
    it linux-2.6-pvops.git.tmp
    Initialized empty Git repository in /home/mitty/xen-4.0.1/linux-2.6-pvops.git.tm
    p/.git/
    remote: Counting objects: 1861794, done.
    remote: Compressing objects: 100% (311315/311315), done.
    remote: Total 1861794 (delta 1547213), reused 1843744 (delta 1533593)
    Receiving objects: 100% (1861794/1861794), 381.76 MiB | 793 KiB/s, done.
    Resolving deltas: 100% (1547213/1547213), done.
    + cd linux-2.6-pvops.git.tmp
    + git checkout -b xen/stable-2.6.32.x xen/xen/stable-2.6.32.x
    Checking out files: 100% (30571/30571), done.
    
    (snip)
    
    *
    * Restart config...
    *
    *
    * Paravirtualized guest support
    *
    Paravirtualized guest support (PARAVIRT_GUEST) [Y/n/?] y
      Xen guest support (XEN) [Y/n/?] y
        Enable Xen debug and tuning parameters in debugfs (XEN_DEBUG_FS) [Y/n/?] y
      Enable Xen privileged domain support (XEN_DOM0) [Y/n/?] y
      Enable support for Xen PCI passthrough devices (XEN_PCI_PASSTHROUGH) [N/y/?] (NEW)
    
    (snip)...
    
    xen platform pci device driver (XEN_PLATFORM_PCI) [M/n/y/?] (NEW)
    #
    # configuration written to .config
    #
    
    (snip)
    
    make -C /home/mitty/xen-4.0.1/linux-2.6-pvops.git O=/home/mitty/xen-4.0.1/build-linux-2.6-pvops_x86_32/. bzImage
      Using /home/mitty/xen-4.0.1/linux-2.6-pvops.git as source for kernel
      GEN     /home/mitty/xen-4.0.1/build-linux-2.6-pvops_x86_32/Makefile
      CHK     include/linux/version.h
      CHK     include/linux/utsrelease.h
      SYMLINK include/asm -> include/asm-x86
      CALL    /home/mitty/xen-4.0.1/linux-2.6-pvops.git/scripts/checksyscalls.sh
      CC      init/main.o
    
    (snip)
    
    Error: zlib check failed
    Make sure to have the zlib libs and headers installed.
    
    sed: can't read config-host.h: No such file or directory
    make[2]: *** [ioemu-dir-find] Error 2
    make[2]: Leaving directory `/home/mitty/xen-4.0.1/tools'
    make[1]: *** [tools/ioemu-dir] Error 2
    make[1]: Leaving directory `/home/mitty/xen-4.0.1'
    make: *** [world] Error 2
    

something wrong

  • ~/xen-4.0.1$ make world
    make[3]: Entering directory `/home/mitty/xen-4.0.1/tools/ioemu-qemu-xen'
    xen-hooks.mak:56: === pciutils-dev package not found - missing /usr/include/pci
    xen-hooks.mak:57: === PCI passthrough capability has been disabled
    Makefile:4: /rules.mak: No such file or directory
    make[3]: *** No rule to make target `/rules.mak'.  Stop.
    make[3]: Leaving directory `/home/mitty/xen-4.0.1/tools/ioemu-qemu-xen'
    make[2]: *** [subdir-clean-ioemu-dir] Error 2
    make[2]: Leaving directory `/home/mitty/xen-4.0.1/tools'
    make[1]: *** [subdirs-clean] Error 2
    make[1]: Leaving directory `/home/mitty/xen-4.0.1/tools'
    make: *** [clean] Error 2