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

Version 5 (modified by mitty, 13 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
    

openssl/x11

  • ~/xen-4.0.1$ make world
    Xen CHECK-BUILD  Wed Jan 19 23:05:28 JST 2011
    Checking check_crypto_lib: OK
    Checking check_curl: unused, OK
    Checking check_openssl_devel:
     *** check_openssl_devel FAILED: missing openssl headers
    Checking check_python: OK
    Checking check_python_devel: OK
    Checking check_uuid_devel: OK
    Checking check_x11_devel:
     *** check_x11_devel FAILED: can't find X11 headers
    OK
    Checking check_xgettext: OK
    Checking check_xml2: unused, OK
    Checking check_zlib_devel: OK
    Checking check_zlib_lib: OK
    make[4]: *** [check-build] Error 1
    make[4]: Leaving directory `/home/mitty/xen-4.0.1/tools/check'
    make[3]: *** [subdir-install-check] Error 2
    make[3]: Leaving directory `/home/mitty/xen-4.0.1/tools'
    make[2]: *** [subdirs-install] Error 2
    make[2]: Leaving directory `/home/mitty/xen-4.0.1/tools'
    make[1]: *** [install-tools] Error 2
    make[1]: Leaving directory `/home/mitty/xen-4.0.1'
    make: *** [world] Error 2
    

sdl/ncurses

  • ~/xen-4.0.1$ make world
    (snip)
    
    The error log from compiling the libSDL test is:
    /tmp/qemu-conf--3332-.c:1:17: error: SDL.h: No such file or directory
    /tmp/qemu-conf--3332-.c: In function ‘main’:
    /tmp/qemu-conf--3332-.c:3: error: ‘SDL_INIT_VIDEO’ undeclared (first use in this function)
    /tmp/qemu-conf--3332-.c:3: error: (Each undeclared identifier is reported only once
    /tmp/qemu-conf--3332-.c:3: error: for each function it appears in.)
    
    (snip)
    
    gtraceview.c:34:21: error: ncurses.h: No such file or directory
    cc1: warnings being treated as errors
    gtraceview.c: In function ‘main’:
    
    (snip)
    
    make[4]: *** [gtraceview.o] Error 1
    make[4]: Leaving directory `/home/mitty/xen-4.0.1/tools/misc'
    make[3]: *** [subdir-install-misc] Error 2
    make[3]: Leaving directory `/home/mitty/xen-4.0.1/tools'
    make[2]: *** [subdirs-install] Error 2
    make[2]: Leaving directory `/home/mitty/xen-4.0.1/tools'
    make[1]: *** [install-tools] Error 2
    make[1]: Leaving directory `/home/mitty/xen-4.0.1'
    make: *** [world] Error 2