WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-arm

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

To: xen-arm@xxxxxxxxxxxxxxxxxxx
Subject: [XenARM] Can't compile tools, "xc_linux_build.c:26:18: zlib.h: No such file or directory"
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=qbHbNEZKKC/112ALqGy6IV2uZbqwABYaxpL1wAOlNeI=; b=jakjiVB2UqdSqiBTBMJXtGgJ+YlK7SiklYzOvRvuJsPgpWYArjGiASX+1+ls+R8c/5 IDGiXRH5gaY/Q8bC7/PhcN8mF9Sq5KD/X3GShFGqoh7t69X0XI8ORqFBok42I9LlA48U dXvypyaSy60NVbQTyruQ9V62T9xzRKC+RCsy0=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-arm-request@lists.xensource.com?subject=help>
List-id: Xen ARM development <xen-arm.lists.xensource.com>
List-post: <mailto:xen-arm@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-arm>, <mailto:xen-arm-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-arm>, <mailto:xen-arm-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-arm-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [XenARM] Can't compile tools, "xc_linux_build.c:26:18: zlib.h: No such file or directory", caz yokoyama <=