
dh5050.lee at samsung
Nov 19, 2009, 6:29 PM
Post #2 of 2
(701 views)
Permalink
|
Samsung Enterprise Portal mySingle Hi. To complie Xen-tools, We need cross-compile zlib. zlib website is "http://www.zlib.net"]http://www.zlib.net". And, You can download zlib src at ("http://www.zlib.net/zlib-1.2.3.tar.gz"]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 [at] seas> Subject: [XenARM] xen-tool compile error To: xen-arm [at] lists Message-ID: <4B049322.2070301 [at] seas> 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
|