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

[Xen-users] [ARM][XSM][Building Problem][what is the matter to make problem?



Hello..

I had tried to build XSM module on arm board. But I have problem completely to build it.

First of all, I configured xen4.6 with below condition.

# XEN_TARGET_ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabihf- debug=y XSM_ENABLE=y CONFIG_EARLY_PRINTK=lager ./configure

Log for compiling is below.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
Will build the following subsystems:
 xen
 tools
 stubdom
 docs
configure: creating ./config.status
config.status: creating config/Toplevel.mk
config.status: creating config/Paths.mk
=== configuring in tools (/home/charles/charles_data/Project/xen/lager/xen-4.6.0/tools)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' Â--cache-file=/dev/null --srcdir=.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... 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... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for 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 gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for 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... no
checking for flex... no
checking for perl... /usr/bin/perl
checking for awk... /usr/bin/awk
checking for ocamlc... no
checking for ocaml... no
checking for ocamldep... no
checking for ocamlmktop... no
checking for ocamlmklib... no
checking for ocamldoc... no
checking for ocamlbuild... no
checking for ocamlfind... no
checking for gawk... /usr/bin/awk
checking for checkpolicy... checkpolicy
checking for bash... /bin/bash
checking for python... /usr/bin/python
checking for python version >= 2.3 ... yes
checking how to run the C preprocessor... 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 python-config... /usr/bin/python-config
checking Python.h usability... yes
checking Python.h presence... yes
checking for Python.h... yes
checking for PyArg_ParseTuple in -lpython2.7... yes
checking whether Python setup.py brokenly enables -D_FORTIFY_SOURCE... yes
checking for xgettext... /usr/bin/xgettext
checking for as86... /usr/bin/as86
checking for ld86... /usr/bin/ld86
checking for bcc... /usr/bin/bcc
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... yes
checking uuid.h usability... no
checking uuid.h presence... no
checking for uuid.h... no
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking for clear in -lcurses... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for curses.h... yes
checking for clear in -lcurses... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for clear in -lncurses... yes
checking for define_key in -ltinfo... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for glib... yes
checking for pixman... yes
checking for wget... /usr/bin/wget
checking bzlib.h usability... no
checking bzlib.h presence... no
checking for bzlib.h... no
checking lzma.h usability... no
checking lzma.h presence... no
checking for lzma.h... no
checking lzo/lzo1x.h usability... no
checking lzo/lzo1x.h presence... no
checking for lzo/lzo1x.h... no
checking for io_setup in -laio... yes
checking for MD5 in -lcrypto... yes
checking ext2fs/ext2fs.h usability... no
checking ext2fs/ext2fs.h presence... no
checking for ext2fs/ext2fs.h... no
checking ext4fs/ext2fs.h usability... no
checking ext4fs/ext2fs.h presence... no
checking for ext4fs/ext2fs.h... no
checking for gcry_md_hash_buffer in -lgcrypt... no
checking for pthread flag... -pthread
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking for openpty et al... -lutil
checking for yajl_alloc in -lyajl... yes
checking for deflateCopy in -lz... yes
checking for libiconv_open in -liconv... no
checking argp.h usability... yes
checking argp.h presence... yes
checking for argp.h... yes
checking for argp_usage in -largp... no
checking yajl/yajl_version.h usability... yes
checking yajl/yajl_version.h presence... yes
checking for yajl/yajl_version.h... yes
checking sys/eventfd.h usability... yes
checking sys/eventfd.h presence... yes
checking for sys/eventfd.h... yes
checking valgrind/memcheck.h usability... no
checking valgrind/memcheck.h presence... no
checking for valgrind/memcheck.h... no
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking for LIBNL3... no
configure: WARNING: Disabling support for Remus network buffering.
  Please install libnl3 libraries, command line tools and devel
  headers - version 3.2.8 or higher
checking for SYSTEMD... no
configure: creating ./config.status
config.status: creating ../config/Tools.mk
config.status: creating hotplug/FreeBSD/rc.d/xencommons
config.status: creating hotplug/FreeBSD/rc.d/xendriverdomain
config.status: creating hotplug/Linux/init.d/sysconfig.xencommons
config.status: creating hotplug/Linux/init.d/xen-watchdog
config.status: creating hotplug/Linux/init.d/xencommons
config.status: creating hotplug/Linux/init.d/xendomains
config.status: creating hotplug/Linux/init.d/xendriverdomain
config.status: creating hotplug/Linux/vif-setup
config.status: creating hotplug/Linux/xen-hotplug-common.sh
config.status: creating hotplug/Linux/xendomains
config.status: creating hotplug/NetBSD/rc.d/xencommons
config.status: creating hotplug/NetBSD/rc.d/xendriverdomain
config.status: creating libxl/xenlight.pc.in
config.status: creating libxl/xlutil.pc.in
config.status: creating config.h
config.status: config.h is unchanged
=== configuring in stubdom (/home/charles/charles_data/Project/xen/lager/xen-4.6.0/stubdom)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' Â--cache-file=/dev/null --srcdir=.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
xyy
checking for wget... /usr/bin/wget
checking for gcc... 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... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for cmake... no
Will build the following stub domains:
 pv-grub
 xenstore-stubdom
 ioemu-stubdom
configure: creating ./config.status
config.status: creating ../config/Stubdom.mk
=== configuring in docs (/home/charles/charles_data/Project/xen/lager/xen-4.6.0/docs)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' Â--cache-file=/dev/null --srcdir=.
checking for fig2dev... no
configure: WARNING: fig2dev is not available so some documentation won't be built
checking for pod2man... /usr/bin/pod2man
checking for pod2html... /usr/bin/pod2html
checking for pod2text... /usr/bin/pod2text
checking for pandoc... no
configure: WARNING: pandoc is not available so some documentation won't be built
checking for markdown... no
checking for markdown_py... no
configure: WARNING: markdown is not available so some documentation won't be built
checking for perl... /usr/bin/perl
configure: creating ./config.status
config.status: creating ../config/Docs.mk
................................................................................. configuration completed .....

And then try to build XSM module... but it failedÂ
.....................................................................
/xen-4.6.0# make -C tools/flask/policy
make: Entering directory `/home/charles/charles_data/Project/xen/lager/xen-4.6.0/tools/flask/policy'
checkpolicy -t Xen -c 24 policy.conf -o xenpolicy-4.6.0
checkpolicy: Âloading policy configuration from policy.conf
policy.conf:1:ERROR 'syntax error' at token '' on line 1:


checkpolicy: Âerror(s) encountered while parsing configuration
make: *** [xenpolicy-4.6.0] Error 1
make: Leaving directory `/home/charles/charles_data/Project/xen/lager/xen-4.6.0/tools/flask/policy'
/xen-4.6.0#Â


Help me to fix this.

ThanksÂ
BR

................
Charles Cho
Happy Day
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

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