[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Not able to cross-compile the xen



Hello,
 I am trying to run the XEN hypervisor on Banana PI-M1 allwinner A20 dualcore board. 


I followed the steps mentioned in the INSTALL and Readme.txt file in the download.and installed most of the libraries mentioned there.

I am newbie here my understanding is, I should crosscompile it in native machine and write the executable to SD card then we need to boot the board. Is I am on right path? if not please correct me.

But later I came across a link where I read building the xen directly on board. I am confused here please can anybody lead me to the right path here. kind request.

But later Itried to crosscompile on local machine during "./configure --build=x86_64-unknown-linux-gnu --host=aarch64-linux-gnu" instruction, I got below log:

siddhu@siddhu:~/scp/xen-4.13.0$ ./configure --build=x86_64-unknown-linux-gnu --host=aarch64-linux-gnu
checking build system type... x86_64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
Will build the following subsystems:
  xen
  tools
  docs
configure: creating ./config.status
config.status: creating config/Toplevel.mk
config.status: creating config/Paths.mk
=== configuring in tools (/home/siddhu/scp/xen-4.13.0/tools)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local'  '--build=x86_64-unknown-linux-gnu' '--host=aarch64-linux-gnu' 'build_alias=x86_64-unknown-linux-gnu' 'host_alias=aarch64-linux-gnu' --cache-file=/dev/null --srcdir=.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking for aarch64-linux-gnu-gcc... aarch64-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether aarch64-linux-gnu-gcc accepts -g... yes
checking for aarch64-linux-gnu-gcc option to accept ISO C89... none needed
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for aarch64-linux-gnu-gcc... (cached) aarch64-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether aarch64-linux-gnu-gcc accepts -g... (cached) yes
checking for aarch64-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for bison... /usr/bin/bison
checking for flex... /usr/bin/flex
checking for perl... /usr/bin/perl
checking for awk... /usr/bin/awk
checking for aarch64-linux-gnu-ocamlc... no
checking for ocamlc... ocamlc
configure: WARNING: using cross tools not prefixed with host triplet
OCaml version is 4.05.0
OCaml library path is /usr/lib/ocaml
checking for aarch64-linux-gnu-ocamlopt... no
checking for ocamlopt... ocamlopt
checking for aarch64-linux-gnu-ocamlc.opt... no
checking for ocamlc.opt... ocamlc.opt
checking for aarch64-linux-gnu-ocamlopt.opt... no
checking for ocamlopt.opt... ocamlopt.opt
checking for aarch64-linux-gnu-ocaml... no
checking for ocaml... ocaml
checking for aarch64-linux-gnu-ocamldep... no
checking for ocamldep... ocamldep
checking for aarch64-linux-gnu-ocamlmktop... no
checking for ocamlmktop... ocamlmktop
checking for aarch64-linux-gnu-ocamlmklib... no
checking for ocamlmklib... ocamlmklib
checking for aarch64-linux-gnu-ocamldoc... no
checking for ocamldoc... ocamldoc
checking for aarch64-linux-gnu-ocamlbuild... no
checking for ocamlbuild... no
checking for aarch64-linux-gnu-ocamlfind... no
checking for ocamlfind... ocamlfind
checking for gawk... /usr/bin/awk
checking for aarch64-linux-gnu-checkpolicy... no
checking for checkpolicy... no
checking for bash... /bin/bash
checking for python... python
checking for python... /usr/bin/python
checking for python... /usr/bin/python
checking for python version >= 2.6 ... yes
checking how to run the C preprocessor... aarch64-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for xgettext... /usr/bin/xgettext
checking for iasl... /usr/bin/iasl
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking for uuid_clear in -luuid... no
checking uuid.h usability... no
checking uuid.h presence... no
checking for uuid.h... no
configure: error: cannot find a valid uuid library
configure: error: ./configure failed for tools


Please guide me how can I run Xen on banana Pi M1 board. I just need to run the Xen with 2 domains i.e Dom-0 and D0m-U1

Any suggestions and guidance will help me a lot.

Regards,
Siddhartha V


 
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.