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

Re: [XenARM] xen-tool compile error



Hi.

 

To complie Xen-tools, We need cross-compile zlib.

 

zlib website is "http://www.zlib.net".

And, You can download zlib src at ("http://www.zlib.net/zlib-1.2.3.tar.gz").

 

> tar zxvf zlib-1.2.3.tar.gz

> cd zlib-1.2.3

> CC=arm-linux-gcc LDSHARED="arm-linux-gcc -shared -Wl,-soname,libz.so.1" ./configure --shared --prefix=$(YOUR_CROSS_COMPILER_BASE_PATH)

> make

> make install

 

Have a nice day!! :)

==============================================================================

Date: Wed, 18 Nov 2009 19:36:50 -0500

From: Kyle Super <super@xxxxxxxxxxxxxx>

Subject: [XenARM] xen-tool compile error

To: xen-arm@xxxxxxxxxxxxxxxxxxx

Message-ID: <4B049322.2070301@xxxxxxxxxxxxxx>

Content-Type: text/plain; charset=ISO-8859-1; format=flowed

 

Hi everyone,

 

I'm trying to compile the xen-tools as described in the User's Guide, but run into the following problem:

 

/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"

 

 

I noticed in the archives that Caz had the same trouble a couple months ago. Does Caz or anyone else know how to avoid this problem? Do I need to cross-compile zlib and place it somewhere?

 

Thanks,

Kyle

 

 

 

_______________________________________________
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®.