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

[XenARM] Can't compile tools, "xc_linux_build.c:26:18: zlib.h: No such file or directory"


  • To: xen-arm@xxxxxxxxxxxxxxxxxxx
  • From: caz yokoyama <cazyokoyama@xxxxxxxxx>
  • Date: Tue, 1 Sep 2009 05:19:46 -0700
  • Cc:
  • Delivery-date: Tue, 08 Sep 2009 07:23:55 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=a8o7wYm8bD8RDFILWV6QX4lwhggALNg/yWHnL21mwuz/U5t9rpgHqkRSwqX7v/Y9nC e4qY72gGdcvsJr1JLua+8cPIfjhhz3QOieQw+0A/97WfK+Wi1XzSxUxFeQWdKgNw6TMh TxK8T/rBHwJ1F9aegTxB8xHFqttx9Y4/unvKY=
  • List-id: Xen ARM development <xen-arm.lists.xensource.com>

Hello all,
I can't compile tools. Could you advice me where I make mistake? Here is my procedure.
[caz@localhost ~]$ uname -a
Linux localhost.localdomain 2.6.18-1.2798.fc6xen #1 SMP Mon Oct 16 15:11:19 EDT 2006 i686 athlon i386 GNU/Linux
[caz@localhost ~]$ more /etc/issue
Fedora Core release 6 (Zod)
Kernel \r on an \m
[caz@localhost ~]$ pwd
/home/caz
echo $PATH
/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/caz/bin:/sbin:/usr/sbin:/opt/nicta/tools/gcc-3.4.4-glibc-2.3.5/arm-linux/bin:.
mkdir XenARM
cd XenARM
# xen
tar xjf ../xen/XenARM/xen-unstable-081210.tar.bz2
cd xen-unstable.hg/
emacs Makefile
      CROSS_COMPILE = arm-linux-
make xen
cp xen/xen-bin /tftpboot/
cd ..
# dom0
tar xjf ../linux-2.6.21.1.tar.bz2
cd linux-2.6.21.1/
cp -r ../xen-unstable.hg/linux-sparse/* .
cd include/xen/
ln -s ../../../xen-unstable.hg/xen/include/public interface
cd ../..
./do_compile.sh
cp vmlinux.out0 /tftpboot/
cd ..
# xen-tools
tar xjf ../Python-2.4.3.tar.bz2
cd Python-2.4.3/
patch -p1 <../xen-unstable.hg/tools/arm_python/Python2.4.3_xcompile.patch
cp ../xen-unstable.hg/tools/arm_python/cross_build.sh .
./cross_build.sh -root /home/caz/XenARM/xen-unstable.hg/tools/arm_python/cross_compiled
cd ../xen-unstable.hg/tools/
make
.....
/opt/nicta/tools/gcc-3.4.4-glibc-2.3.5/arm-linux/bin/arm-linux-gcc  -O2 -fomit-frame-pointer -DNDEBUG -Wall -Wstrict-prototypes -mapcs -Wdeclaration-after-statement  -D__XEN_INTERFACE_VERSION__=0x00030101 -Werror -fno-strict-aliasing  -I. -Wp,-MD,.xc_linux_build.o.d -c -o xc_linux_build.o xc_linux_build.c
xc_linux_build.c:26:18: zlib.h: No such file or directory
xc_linux_build.c:58: error: parse error before "gzFile"
xc_linux_build.c:58: warning: no semicolon at end of struct or union
xc_linux_build.c:58: warning: no semicolon at end of struct or union
xc_linux_build.c:60: error: parse error before '}' token
.....
-caz


_______________________________________________
Xen-arm mailing list
Xen-arm@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-arm

 


Rackspace

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